NFS Services Administrator's Guide

Configuring and Administering NFS
Configuring and Administering AutoFS
Chapter 2122
2. Issue the following command to run the NFS client startup script:
/sbin/init.d/nfs.client start
The nfs.client start script will start any NFS client processes
that are not already running, including AutoFS.
When AutoFS starts up, it uses the Name Service Switch to determine
which name services you are using and to find the master maps that are
available from those name services.
For more information, type man 4 nsswitch.conf or man 1M automount
at the HP-UX prompt.
To Disable AutoFS
1. Issue the following command to run the NFS client shutdown script:
/sbin/init.d/nfs.client stop
2. In the /etc/rc.config.d/nfsconf file, make sure the NFS_CLIENT
and AUTOMOUNT variables are set to 1, and the AUTOFS variable is set
to 0, as follows:
NFS_CLIENT=1
AUTOMOUNT=1
AUTOFS=0
CAUTION Do not kill the automountd daemon with the kill command. It does not
die gracefully. It does not unmount AutoFS mount points before it dies.
Use the nfs.client stop script to ensure that automountd dies cleanly.
After you have disabled AutoFS using the nfs.client stop script, you
may notice that the autofs_proc process is still running. You can safely
ignore this process. (The autofs_proc cannot be ‘‘killed’’; the only way to
stop autofs_proc is to reboot.)
To Verify Your AutoFS Configuration
1. Type the following command to change the current working directory
to an automounted directory:
/usr/bin/cd local_directory