Websitetemplate.org

Welcome > Linux > NFS - Network File System > Automount NFS Filesystem

Automount NFS Filesystem

Note: 03/26/2014 - unable to reproduce these instructions on RHEL6.

Assumes you have a directory on the local machine called /share, and you want to mount exportedfs on server remoteserver . . .

# mkdir /share

Put this in the file /etc/auto.misc:
share -fstype=nfs,ro,soft,intr,rsize=8192,wsize=8192 remoteserver:/exportedfs

Put this in /etc/auto.master:
/misc /etc/auto.misc --timeout=60

# ln -s /misc/share /share
# chkconfig autofs on
# service autofs restart

Content Copyright 2003-2014 George Toft