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.

The problem is that I also need each guest to have some private disk space, e.g. under /cdsl.local. I have tried to work around this by bind-mounting /vz/local to /vz/private/1/cdsl.local on the two hosts before starting the VMs.

However - this doesn't appear to have the desired effect. The guests still see the GFS file system rather than the bind mount that was mounted there before the VM started.

This would imply that the guest VM sees only the fs mounted under /vz/private/VMID, rather than the aggregate file systems that might be mounted there.

Is this a bug, or is this intended behaviour?

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?

Gordan
_______________________________________________
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

Reply via email to