On NFS client machine do the following :
1. yum install autofs
2. vi /etc/auto.master
and put like :
[root@kmaiti alltestfiles]# cat /etc/auto.master |grep home
/home /etc/auto.home --timeout=60
[root@kmaiti alltestfiles]#
3. Put following in /etc/auto.home :
* -fstype=nfs,rw,nosuid,soft,fsid=0 IPof_nfs_server:/home/&
4. /etc/init.d/autofs start
That's it.
PS: You need to restart the system to view the mounted partitions. df -TH
By : blog.snapshotit.com

Responses
0 Respones to "How to configure autofs with NFS4?"
Post a Comment
»Thank you for reading this article
If you have questions or comments, please leave a comment
»You can click on the Subscribe by email to subscribe comments of this post
»You can register directly link pictures, mp3, video on the comment form.
»You may use some HTML tags such
»Please post comments polite and typing accented Vietnamese if possible
»Thank the good faith comment