NFS Services Administrator's Guide
Configuring and Administering NFS
Configuring and Administering the NFS Automounter
Chapter 266
To Decide Between Direct and Indirect NFS
Automounts
• Before you automount a remote directory, decide whether you want
to use a direct or indirect automounter map. Table 2-4 lists the
advantages and disadvantages of each type of map.
In general, an indirect map is better than a direct map, because it is
easier to modify while the automounter is running, and because it does
not cause “mount storms” in directories with many automount points.
However, if your automounted directory must share the same parent
directory with local or standard-mounted directories, or if users must
always get a complete list of available files and directories when they
issue the ls command, you should choose a direct map.
Table 2-4 lists the advantages and disadvantages of direct and indirect
automounter maps.
Table 2-4 Direct vs. Indirect Automounter Map Types
Direct Map Indirect Map
Advantage: A user can see the
contents of a direct-mounted
directory with the ls command.
If the contents are not currently
mounted, ls causes them to be
mounted.
Disadvantage: If a user types ls
to see the contents of an
indirect-mounted directory, it
appears empty unless its
subdirectories are currently
mounted. The user must cd to a
subdirectory or type ls
subdirectory to cause it to be
mounted.
Advantage: Direct-mounted
automounted directories can
share the same parent directory
with local or standard-mounted
files and directories.
Disadvantage: An indirect map
turns the parent directory of the
mount points into a symbolic link
and hides any local,
standard-mounted, or
direct-mounted files or directories
underneath it.