Difference between revisions of "NFS mounting a filesystem with mounts"
From MyWiki
(Created page with "Reference - http://unix.stackexchange.com/questions/42131/how-to-properly-export-and-import-nfs-shares-that-have-subdirectories-as-mount-p <source lang="test"> Looks like eve...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Reference - http://unix.stackexchange.com/questions/42131/how-to-properly-export-and-import-nfs-shares-that-have-subdirectories-as-mount-p | Reference - http://unix.stackexchange.com/questions/42131/how-to-properly-export-and-import-nfs-shares-that-have-subdirectories-as-mount-p | ||
− | <source lang=" | + | <source lang="text"> |
Looks like every mount sub-point must be exported by the NFS server in order to be visible for clients. In the situation above the /etc/exports file should look like the following: | Looks like every mount sub-point must be exported by the NFS server in order to be visible for clients. In the situation above the /etc/exports file should look like the following: | ||
Line 17: | Line 17: | ||
</source> | </source> | ||
+ | <span style="color:red">'''The above did not actually work !!'''</span> |
Latest revision as of 22:41, 10 April 2016
Looks like every mount sub-point must be exported by the NFS server in order to be visible for clients. In the situation above the /etc/exports file should look like the following: /srv *(rw,fsid=0,nohide,no_subtree_check) /srv/foo *(rw,nohide,no_subtree_check) Then, importing /srv on the client with option -t nfs will make both /srv and /srv/foo properly available. edit by OP this line /srv/foo *(rw,fsid=0,nohide,no_subtree_check) has worked in my case instead of /srv/foo *(rw,nohide,no_subtree_check)
The above did not actually work !!