mynfsserver:/data/nfsshar1 on /myNFSshare on a local NFS client.
In order to do this, I had to set up a direct map. In /etc/auto.master, I added:
/- /etc/auto.direct
and then I created the file /etc/auto.direct with the following entry:
/myNFSshare mynfsserver:/data/nfsshar1
I reloaded autofs and was then able to do a directory listing on the share. This works for Rhel 5 & 6 and CentOS 5&6.
No comments:
Post a Comment