Re: [vserver] creating a vserver on his own partition

From: ADNET Ghislain <gadnet_at_aqueos.com>
Date: Mon 08 Oct 2007 - 10:05:48 BST
Message-ID: <4709F2EC.9020806@aqueos.com>

>
> What util-vserver version and what error do you get? lost+found has
> been ignored since 0.30.210, so unless you're running really ancient
> utils or you actually have files in it, it should work fine...
>
here is the situation:

vserver20:/usr/local/.aqadmin/home/aqadmin%(root)> mount
/dev/md1 on / type ext3 (rw,noatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/md0 on /boot type ext2 (rw)
*/dev/mapper/volume1-root40265 on /vservers/vserver21 type ext3 (rw,noatime)
/dev/mapper/volume1-tmp40265 on /vservers/vserver21/tmp type ext3 (rw)
/dev/mapper/volume1-var40265 on /vservers/vserver21/var type ext3 (rw)*

vserver20:/usr/local/.aqadmin/home/aqadmin%(root)> vserver vserver21
build -m debootstrap -n vserver21 --force --context 40265 --hostname
vserver21.aqserver.net --interface nodev:213.246.42.65/24 --interface
65=lo:127.0.0.65/24 -- -d etch --
--exclude=dhcp-client,fdutils,ipchains,klogd,modutils,ppp,\
pppconfig,pppoe,pppoeconf,pciutils,iptables,linux-kernel-log-daemon,klogd,sysklogd,makedev,ifupdown
--include=nano,rsync,sudo,ruby,rdoc,libxml-ruby,libopenssl-ruby,lsb-release,vim,debian-archive-keyring,syslog-ng,tcsh
/usr/local/etc/vservers/.defaults/vdirbase/vserver21/tmp
*mv: cannot move `/usr/local/etc/vservers/.defaults/vdirbase/vserver21'
to `/usr/local/etc/vservers/.defaults/vdirbase/vserver21.~1191834135~':
Device or resource busy*
vserver20:/usr/local/.aqadmin/home/aqadmin%(root)>

here is the error i get. The vserver tool cannot build a vserver inside
mounted drive, i have to create it on a séprarate partition and then
move all of it inside the partitions.

the version is:

Versions:
                   Kernel: 2.6.22.9-vs2.2.0.4
                   VS-API: 0x00020200
             util-vserver: 0.30.214; Oct 1 2007, 15:10:35

Features:
                       CC: gcc, gcc (GCC) 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)
                      CXX: g++, g++ (GCC) 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)
                 CPPFLAGS: ''
                   CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W
-funit-at-a-time'
                 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
-fmessage-length=0 -funit-at-a-time'
               build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: v13,net,v21,v22,v23,netv2
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/glibc

Paths:
                   prefix: /usr/local
        sysconf-Directory: ${prefix}/etc
            cfg-Directory: ${prefix}/etc/vservers
         initrd-Directory: /etc/init.d
       pkgstate-Directory: ${prefix}/var/run/vservers
          vserver-Rootdir: /vservers

-- 
Cordialement,
Ghislain ADNET.
AQUEOS.
Attention !  Toute demande de support ou commande de domaine par email 
sera refusée, pour cela utilisez https://support.aqueos.net.  
Pour tout contact nos coordonnées :  
http://www.aqueos.com/aqueos-services-informatiques-societe.php
Fax: 01.72.70.32.66
 

Received on Mon Oct 8 10:06:29 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 08 Oct 2007 - 10:06:36 BST by hypermail 2.1.8