On Tuesday 15 November 2005 11:51, you wrote:
> 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
> 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