Re: [vserver] mount a directory on a different filesystem in guest

From: Eugen Leitl <eugen_at_leitl.org>
Date: Sun 11 Jul 2010 - 18:22:28 BST
Message-ID: <20100711172228.GE31956@leitl.org>

On Sun, Jul 11, 2010 at 07:07:16PM +0200, Daniel Hokka Zakrisson wrote:
> Eugen Leitl wrote:
> > On Sun, Jul 11, 2010 at 08:55:07AM -0700, Nirmal wrote:
> >> Do you want to mount host dir
> >
> > Yes.
> >
> >> on guest? Did you try mount --bind ?
> >
> > I'm not familiar with that option. Can you given an example
> > of how you would use it? Within the host or within the guest?
>
> In /etc/vservers/<guest>/fstab:
> /home /home ext3 bind 0 0

Thanks for the recipe (ext4 in my case) -- upon guest reboot
the mount succeeded.

Thanks!

-- 
Eugen* Leitl leitl http://leitl.org
______________________________________________________________
ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE
Received on Sun Jul 11 18:23:15 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 11 Jul 2010 - 18:23:18 BST by hypermail 2.1.8