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.
Bruno
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Nov 15 17:34:36 2005