Quote:
Originally Posted by allend
Try adding the nohide option to the share definition in /etc/exports
From 'man exports'
|
Hey @allend, thanks for caring enough to post.
Apprently the option nohide won't work just by itself. But it seems there is a way to do what I need:
First, mount points inside the shared directory must be explicitly expressed in /etc/exports in order to become visible to clients and the line should contain the option crossmnt, so etc/exports should look like this:
/home/user1 xxx.xxx.xxx.xxx(nohide,rw,sync,no_subtree_check,crossmnt)
/home/user1/storage xxx.xxx.xxx.xxx (nohide,rw,sync,no_subtree_check)
xxx.xxx.xxx.xxx being the IP address of the client machine.
The option crossmnt serves to make mount points inside the shared directory visible.
And if I tested correctly, if you express a mount point explicitly in /etc/exports, and the mount point is not inside another mount point, then the crossmnt option is not necessary.
This way the contents of the directory storage becomes visible to the client machines.