Re: [Vserver] Remounting external drive into vserver using --bind failed

From: Stefan Hepp <s.hepp_at_gentics.com>
Date: Thu 28 Sep 2006 - 17:02:34 BST
Message-ID: <451BF21A.5030200@gentics.com>

Hi,

Thanks, that's what i missed! Remounting the device inside the namespace
too helps a lot :)

Regards,
  Stefan

Herbert Poetzl wrote:
> did you unmount the 'original' usb mount _inside_
> the guest namespace too? if not, that is very likely
> to cause your issues ...
>
> don't forget, the guest namespace will (atm) not
> automatically 'inherit' changes from the host
> namespace, so basically you want to do the following
> after an usb unplug/replug inside the guest namespace
>
> umount -f /mnt/data/vservers/data/media/usb0
> umount -f /media/usb0
> mount /some/usb/dev /media/usb0
> mount --bind /media/usb0 /mnt/data/vservers/data/media/usb0
>
> otherwise, all you will get is an empty dir
>
> HTC,
> Herbert
>
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Sep 28 17:06:40 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 28 Sep 2006 - 17:06:44 BST by hypermail 2.1.8