We have a rather bizarre situation and are hoping someone can show us
how to do what we need to do.
We have a directory in one vserver, call it vuser1 and call the
directory vuser1:/removable, which is a symbolic link to a subdirectory
in vuser1:/tmp and thus is not normally visible to the vserver host. We
need to mount bind this into a different vserver, call it vsamba.
Normally, we would do something like:
mount --rbind /vservers/vusers1/removable /vservers/vsamba/users/vuser1/removable
Of course, that will not work with vuser1:/tmp as it is not visible to
the host's namespace.
We can't do something like:
vnamespace -e $(cat /etc/vservers/vuser1/context) -- mount
--rbind /vservers/vuser1/removable /vservers/vsamba/users/vuser1/removable
I'm assuming because /vservers/vsamba/users/vuser1/removable is not
visible to vuser1's namespace.
Is there anyway to mount bind a directory from a vserver's /tmp
directory into another vserver? Thanks - John