From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sun 23 Jan 2005 - 12:09:42 GMT
On Sun, Jan 23, 2005 at 01:06:27PM +0100, Oliver Welter wrote:
> Hi Herbert
>
> >>>>I have setup a vServer (2.6.9-vs1.9.3 with dev-utils) on a AMD64 Box
> >>>>with Suse 9.2.
> >>>>
> >>>>Calling "lsof" INSIDE a vserver I get a warning:
> >>>>
> >>>>lsof: WARNING: can't stat() ext3 file system /vservers
> >>>> Output information may be incomplete.
> >>>>
> >>>>Any idea where the server pulls this directory out ? I have the same
> >>>>installation on a P4 Box and its working fine there....
> >>>
> >>>hmm, probably /proc/mounts (if not disabled/hidden)
> >>
> >>Youre right....
> >>
> >>>use VXF_HIDE_MOUNT (0x01000000, hide_mount) to disable
> >>>/proc/mounts completely ...
>
> ok, setting the "hide_mount" flag helped, but has anyone an idea what
> makes the mount appearing there ?
>
> cat /proc/mounts (inside vserver)
>
> /dev/drbd1 /vservers ext3 rw 0 0
> none /proc proc rw,nodiratime 0 0
> none /tmp tmpfs rw 0 0
> none /dev/pts devpts rw 0 0
>
> The other mounts dont appear (whats correct) - the /vservers partition
> is mounted just before the vserver is started....
well, it's the 'rootfs' for the vserver ... so it is
shown there (otherwise the other mounts would not be
attached anywhere) but you are right, this should
probably be more virtualized (i.e. shown as /dev/root
mounted at / ... I'll add it to my todo list ;)
best,
Herbert
> Oliver
>
> --
> Diese Nachricht wurde digital unterschrieben
> oliwel's public key: http://www.oliwel.de/oliwel.crt
> Basiszertifikat: http://www.ldv.ei.tum.de/page72
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver