NFS Services Administrator's Guide
Troubleshooting NFS Services
Logging and Tracing of NFS Services
Chapter 8 347
4. For every automounted directory listed by the grep command, issue
the following command to determine whether the directory is
currently in use:
/usr/sbin/fuser -cu local_mount_point
This command lists the process IDs and user names of everyone
using the mounted directory.
5. Warn any users to cd out of the directory, and kill any processes that
are using the directory, or wait until the processes terminate. You
can issue the following command to kill all the processes using the
mounted directory:
/usr/sbin/fuser -ck local_mount_point
6. Issue the following commands to kill the automounter (PID is the
process ID returned by the ps command):
ps -ef | grep automount
kill -SIGTERM PID
CAUTION Do not kill the automounter with -SIGKILL (-9).
7. Issue the following command to start the automounter with tracing
enabled:
/usr/sbin/automount options -T
options is the list of options configured in the AUTO_OPTIONS
variable in the /etc/rc.config.d/nfsconf file. You can also source
the /etc/rc.config.d/nfsconf file, and then enter the automount
command as follows:
/usr/sbin/automount $AUTO_OPTIONS -T
To stop automounter logging, kill the automounter and restart it (as
described in the previous section), except start it without the -T option.