Re: [vserver] mount in a guest visible to the host

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Thu 13 Mar 2008 - 06:01:39 GMT
Message-ID: <33278.192.168.101.12.1205388099.squirrel@intranet>

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
Received on Thu Mar 13 06:01:54 2008
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 13 Mar 2008 - 06:01:57 GMT by hypermail 2.1.8