Refresh NFS mount
Posted
by
HayekSplosives
on Super User
See other posts from Super User
or by HayekSplosives
Published on 2013-03-07T14:59:19Z
Indexed on
2013/07/01
23:08 UTC
Read the original article
Hit count: 131
If I check an NFS share on a machine and ls
I get the folders.
If I got to the NFS host and add a new directory to /etc/exports
for the client and do exportfs -a
what do I run on the client to refresh the directories?
Example (pseudoish):
nfsNode01:
echo "/share clientNode01 >> /etc/exports";
exportfs -a;
clientNode01:
cd /share;
ls;
nfsNode01:
echo "/share/folder clientNode01 >> /etc/exports";
exportfs -a;
clientNode01:
ls;
Results as still the same as above.
If I reboot the /share/folder
shares are there. I know there has to be a way to refresh that info from NFS. I'm sure if I let the connection wait long enough the next time I mounted /dsl would do it. Can I just umount/mount or is there a better way?
© Super User or respective owner