NFS centos 6.4 "AutoFS" part 2

#####AutoFS#####
*it automatically mounts file systems NFS local SMBFS etc  upon I/O requests.
 autofs-*  rpm must be installed.
 /etc/auto.master - primary configuration file,contains pointer to other configuration
/etc/sysconfig/autofs  -  default startup directives
autofs must be running

now
copy   /etc/auto.misc  which is sample file to  a new file  /etc/auto.shares like defined above.
and edit auto.shares like below



 #service autofs reload

Make sure iptables has allowed the nfs ports( see part 1)
try accessing your /shares/nfs_share now (Success!!)

No comments:

Post a Comment