Subject: Re: [vserver] mount in a guest visible to the host
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Thu, 13 Mar 2008 07:01:39 +0100 (CET)

ADNET Ghislain wrote:
> Hi,
>
>  I have some guest that use an 'in guest' mount of their /var, /tmp etc..
>
>  From the host i cannot see the mounted directory. As i want to run my
> backup from the host i wonder if there is anyway to make the mount
> visibles from the host ?

Yes, either using shared subtrees or disabling the namespace for that guest.

> i done the  'in guest' mount so df -h  can show the quota on the disc.
> Perhaps there is better ways :
>
> - mount everything in the host
>
>
>  but then df do not show the quotas ?

You could presumably fix that by priming your guest's /etc/mtab with the
necessary entries.

> I saw that i can also mount the directory in the host also but i fear
> that this double mount can create filesystem corruption .

No, the kernel handles that for you. It's essentially like creating a bind
mount.

> --
> Cordialement,
> Ghislain
>


-- 
Daniel Hokka Zakrisson