[Users] Bind mounts and/or additional disk volumes

Jorge Fuertes queru at queru.org
Tue Dec 29 06:20:56 EST 2009


The "root" area is at:

/var/lib/vz/root/$VEID

This point exists only if container is running.

Yo can create mount/umount scripts too:

http://wiki.openvz.org/Bind_mounts

Greetings.

El 29/12/2009, a las 11:00, Gordan Bobic escribió:

> Christian Hofstaedtler wrote:
>> * Gordan Bobic <gordan at bobich.net> [091229 10:05]:
>>> I'm experimenting with using OpenVZ for shared-root guest VMs. Thus far  I have managed to get most of it working using GFS for /vz/private. I  can start up the same guest on two different hosts (both of which mount  the same /vz/private GFS volume), and both guests come up fine without  trashing the file system.
>>> 
>> [..]
>>> Further, since bind-mounting such private volumes from the host doesn't  seem to work, how do I add a private disk volume of some description  inside the guest?
>> "private" is the storage area for the VE's root-fs. You need to mount
>> into "root" instead, which in itself is a hidden bind mount which is
>> only available as long as the VE is mounted.
> 
> I'm not entirely sure I follow what you mean. Can you please elaborate? How do I mount things into "root"?
> 
>> You can use the mount and umount VE scripts to do your work.
> 
> Can you provide an example or a link to the relevant docs or wiki page?
> 
> Gordan
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users




More information about the Users mailing list