Difference between revisions of "NFS mounting a filesystem with mounts"
From MyWiki
| Line 17: | Line 17: | ||
</source> | </source> | ||
| + | '''The above did not actually work !!''' | ||
Revision as of 22:40, 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 !!