Wilhelm Meier wrote:
> Hi,
>
> sorry, if this question was answered already ...
>
> How can I make mounts visible in a running vserver, if the mounts on
> the host are made after the guests are started?
>
> E.g.:
> 1) vserver vs1 start
> 2) mount /dev/usb0 /mnt/test
> 3) vnamespace -e vs1 mount --bind /dev/usb /test_in_vs
>
> but 3) doen't work as expected.
>
> I know the namespaces of host and guest are sperated, but I read that
> with linux-namespaces I can mark a mount-object as shared by all
> namespaces. Is this possible with vserver.
Of course, we don't remove features, only add new ones.
> Or are there any other possible solution to this problem?
Depending on the filesystem, vnamespace -e vs1 mount -n /dev/usb0
/vservers/vs1/test might do the trick.
-- Daniel Hokka ZakrissonReceived on Wed Feb 27 07:38:18 2008