Hi Andreas

It seems like the --root option is broken yes. I'll check why it is so.

Regards,

// Ola

On Sun, Feb 04, 2007 at 10:57:30AM +0100, Andreas Krüger wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Package: vzctl
> Version: 3.0.11-13
> Severity: normal
> 
> Hello,
> 
> I try to get a virtual server going using openvz. I have an empty file system
> /flish. That's where I want the virtual server's root to live.
> 
> So I did
> 
> kauz:~# vzctl --verbose create 101 --ostemplate gentoo-20060317-i686-stage3 \
>    -- root /flish/'$VEID' --ipadd 192.168.42.101 --hostname flish
> Unable to open /usr/lib/vzctl/modules/: No such file or directory
> Creating VPS private area: /var/lib/vz/private/101
> Running: /usr/sbin/vzquota stat 101 -f
> Running: /usr/sbin/vzquota drop 101
> Running: /usr/sbin/vzquota init 101 -b 1048576 -B 1153434 -i 200000 -I 220000 
> -p
> /var/lib/vz/private/101.tmp -e 0 -n 0 -s 0
> Running: /usr/sbin/vzquota on 101 -r 0 -b 1048576 -B 1153434 -i 200000 -I 
> 220000
> - -e 0 -n 0 -s 0
> Running: /usr/lib/vzctl/scripts/vps-create
> Running: /usr/sbin/vzquota off 101
> Running: vzquota setlimit 101 -p /var/lib/vz/private/101 -b 1048576 -B 1153434
> - -i 200000 -I 220000 -e 0 -n 0
> Mounting root: /flish/101 /var/lib/vz/private/101
> Performing postcreate actions
> Running: /etc/vz/dists/scripts/postcreate.sh
> Running: /usr/sbin/vzquota stat 101 -f
> VPS private area was created
> 
> After that, I find the virtual server's entire file system below
> /var/lib/vz/private/101 . The directory /flish/101 is created, but remains
> empty. When I vzstart, it does access the root file system below
> /var/lib/vz/private/101 .
> 
> Regards, and thank you for providing fine sofware,
> 
> Andreas
> 
> - -- System Information:
> Debian Release: 4.0
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18-openvz-k7
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> 
> Versions of packages vzctl depends on:
> ii  iproute                      20061002-3  Professional tools to control the
> ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
> ii  vzquota                      3.0.8-2     server virtualization solution - 
> q
> 
> Versions of packages vzctl recommends:
> ii  rsync                         2.6.9-2    fast remote file copy program 
> (lik
> 
> - -- no debconf information
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFFxa4HnWrlKaIH40ARApHuAJ9NGairQ5z26lzhNT6UvvA+BxhM4ACgpzJy
> K9cYATp/HCaKIXV/3Qs3Tns=
> =gRZa
> -----END PGP SIGNATURE-----
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://opalsys.net/                 UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to