NFS Services Administrator's Guide
Configuring and Administering NFS
Configuring and Administering the NFS Automounter
Chapter 290
2. If you will use a local file as your automounter master map, make
sure the AUTO_MASTER variable in /etc/rc.config.d/nfsconf is set
to the name of your automounter master map. (The default master
map name is /etc/auto_master.)
AUTO_MASTER=”/etc/auto_master”
If you will use an NIS or NIS+ automounter master map, remove -f
$AUTO_MASTER from the AUTO_OPTIONS variable.
3. Issue the following command to run the NFS client startup script:
/sbin/init.d/nfs.client start
When the automounter starts up, if your AUTO_OPTIONS variable
specifies a master map file with the -f filename option, the
automounter will look for a file by that name on the local host. It will also
use the Name Service Switch to determine which name services you are
using and find the master maps that are available from those name
services. If your AUTO_OPTIONS variable does not specify the -f
filename option, the automounter will consult the Name Service Switch
configuration to determine where to look for your automounter master
map.
The automounter does not support NFS protocol version 3. Automounted
file systems will be mounted with NFS protocol version 2.
For more information, type man 4 nsswitch.conf or man 1M automount
at the HP-UX prompt.
To Verify Your Automounter Configuration
1. Type the following command to change the current working directory
to an automounted directory:
/usr/bin/cd local_directory
where local_directory is the configured mount point in the
automounter map.
2. Type the following command to verify that the contents of the remote
directory have been mounted under the local mount point:
/usr/bin/ls