NFS Services Administrator's Guide

Configuring and Administering NFS
Configuring and Administering the NFS Automounter
Chapter 272
Figure 2-7 illustrates how the automounter sets up the direct mounts for
this configuration.
Figure 2-7 Example of Direct Mounts
To Mount a Remote Directory Using an Indirect
Automounter Map
1. If you are using local files for your automounter maps, use an editor
to open or create an indirect map in the /etc directory. Add a line
with the following syntax to the indirect map:
local_subdirectory [mount_options] server:remote_directory
If you are using NIS to manage your automounter maps, add the line
to an indirect map on the NIS master server.
If you are using NIS+ to manage your automounter maps, issue the
following command to add an entry to an NIS+ indirect map table:
nistbladm -a key=”local_subdirectory” value=”mount_options
\
server:remote_directoryindirect_mapname.org_dir
/
/auto
/tmp_mnt
/project
/specs
/auto
/project
/budget
/
/finance
/FY94
NFS server "basil"
NFS client "sage"
NFS mounts
symbolic links
/budget
/targets /ytd
/specs
/reqmnts /designs
/proj1
/
/export
/project
NFS server "thyme"
/specs
/reqmnts /designs
/targets /ytd