NFS Services Administrator's Guide
Troubleshooting NFS Services
Logging and Tracing of NFS Services
Chapter 8344
Automounter Logging
Automounter logs messages through /usr/sbin/syslogd. By default,
syslogd writes messages to the file /var/adm/syslog/syslog.log.
Type man 1M syslogd for more information on syslogd.
For explanations of the automounter log messages, type man 1M
automount.
To Start Automounter Logging
1. Log in as root to the NFS client.
2. Issue the following command to get a list of all the automounted
directories on the client:
/usr/bin/grep tmp_mnt /etc/mnttab
3. 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.
4. 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
5. 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). The SIGKILL signal
can cause any currently automounted directories to become
inaccessible until you reboot your system.
6. Issue the following command to start the automounter with logging
enabled: