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 
vserver.
> 
> 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 
all.

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
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
> 

-- 

Chuck

"...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
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to