Chapter 9. The Automounter
The automounter is a tool that automatically mounts NFS filesystems when they are referenced and unmounts them when they are no longer needed. It applies NIS management to NFS configuration files so that you can edit a single NIS map and have it affect client mount information throughout the network. Using the automounter, you don’t have to keep /etc/vfstab files up-to-date by hand.[1] Mount information, including the server’s name, filesystem pathname on the server, local mount point and mount options, is contained in automounter maps, which are usually maintained in NIS maps.
Why would you want to bother with another administrative tool? What’s wrong with putting all of the remote filesystem information in each hosts’ /etc/vfstab file? There are many motivations for using the automounter:
/etc/vfstab files on every host become much less complex as the automounter handles the common entries in this file.
The automounter maps may be maintained using NIS, streamlining the administration of mount tables for all hosts in the network the same way NIS streamlines user account information.
Your exposure to hanging a process when an NFS server crashes is greatly reduced. The automounter unmounts all filesystems that are not in use, removing dependencies on fileservers that are not currently referenced by the client.
The automounter extends the basic NFS mount protocol to find the “nearest server” for replicated, read-only filesystems. The NFS server that is ...
Get Managing NFS and NIS, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.