Subject: Re: [vserver] mount a directory on a different filesystem in guest
From: Eugen Leitl <eugen@leitl.org>
Date: Sun, 11 Jul 2010 19:22:28 +0200

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 <a href="leitlhttp://leitl.org">leitl</a> 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