Re: [Vserver] When to mount lvm? (vs2.0)

From: Chuck <>
Date: Tue 13 Dec 2005 - 12:46:58 GMT
Message-Id: <>

On Tuesday 13 December 2005 07:38 am, Lars Braeuer wrote:
> Hi,
> I'm not sure where to mount an LVM2 device with vs2.0.
> I do not want to mount it on system boot, but when starting the guest
> The fstab file in the vserver config directory seems to be the right place.

good question. i run lvm2 and i have found on my system, if i want to be able
to administer the guest directly from the host, i must mount it on boot or
create a special script to start the guest which mounts the lvm2 mountpoint,
then calls vserver to start the guest. if i do not do this, then i cannot
administer the guest from the host and must enter the guest to do anything at

will be interesting to see what the gurus say :)

> But when including an entry like this in the fstab file, the mount won't
show up in the hostsystem
> and will not be accessible via the mount point in the /vservers directory:
> /dev/mapper/vg-test01 / ext3 defaults 1 2
> But I'm able to enter the vserver with "vserver test01 enter", weird.
> I also tried the prepre-start script, but it seems to be the wrong place,
because it's called after
> the generateOptions function.
> Any hints?
> Best,
> Lars
> _______________________________________________
> Vserver mailing list

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
Vserver mailing list
Received on Tue Dec 13 12:47:26 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 13 Dec 2005 - 12:47:32 GMT by hypermail 2.1.8