Re: [Vserver] (bind-)mount tmpfs into VServer?

From: Bruno <>
Date: Tue 15 Nov 2005 - 17:33:42 GMT
Message-Id: <>

On Tuesday 15 November 2005 11:51, you wrote:
> Hi,
> On Friday 11 November 2005 20:59, Bruno wrote:
> > The way to solve this should be:
> > vnamespace -e <id> mount -n src /vservers/veserver/target -t ramfs
> thank you very much for the hint, it works!
> Just curious: Why "-n", i.e., no entry in /etc/mtab ? Is it possible to get
> an overview over all mounted (tmpfs) directories from within the host
> server? If not, the namespace concept can result in rather confusing
> configurations.
> Thanks, Thomas
The -n is to avoid mounts in the namespace <id> to "pollute" mtab of host!
(mount is not using the mtab of vserver matching the context-id, but the one
of host as vnamespace only changes the namespace and not the root '/')

From the host you will only see mounts that are associated to main namespace,
but not those associated only with namespaces of virtual servers.

You will need to switch to each an every active namespace an list mounts from
there (vnamespace -e <id> cat /proc/mounts) to get the complete list.

Vserver mailing list
Received on Tue Nov 15 17:34:36 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 15 Nov 2005 - 17:34:38 GMT by hypermail 2.1.8