On Fri, Apr 11, 2008 at 02:13:45PM +0200, Wilhelm Meier wrote:
> I think, this question was already answered on the list, but I can't
> find right answer ..,
> on the host I have a directory /mnt/test and I want to bind-mount this
> into a running vserver. I thought I have to use vnamespace to do
> vnamespace -e test mount /mnt/test /var/lib/vservers/test/mnt/test -o
> but the files in /mnt/test don't schow up in the vserver:
> vserver test exec ls -l /mnt/test
> ist empty.
> What am I doing wrong?
most likely they are not there (in /mnt/test) after
you entered the guest's namespace with vnamespace,
thus the bind mount succeeds, but leaves you with
the empty mountpoint ...
instead trying to bind mount a newly on the guest
mounted path (I assume /mnt/test is such a thing)
simply do the /mnt/test mount inside the guest
namespace and preferably to the right location too
Received on Wed Apr 23 07:58:04 2008