NFS Services Administrator's Guide
Troubleshooting NFS Services
Logging and Tracing of NFS Services
Chapter 8346
Automounter Tracing
Two levels of automounter tracing are available:
Detailed (level 3) Includes traces of all automounter requests and
replies, mount attempts, timeouts, and unmount
attempts. You can start level 3 tracing while the
automounter is running.
Basic (level 1) Includes traces of all automounter requests and
replies. You must restart the automounter to start level
1 tracing.
To Start and Stop Automounter Detailed Tracing
1. Log in as root to the NFS client.
2. Issue the following commands (PID is the process ID returned by the
ps command):
ps -ef | grep automount
kill -SIGUSR2 PID
Level 3 tracing is appended to the file /var/adm/automount.log.
To stop level 3 tracing, issue the same commands listed above to send the
SIGUSR2 signal to the automounter. The SIGUSR2 signal is a toggle that
turns tracing on or off depending on its current state.
If you have basic (level 1) tracing turned on when you send the SIGUSR2
signal to the automounter, the SIGUSR2 signal turns tracing off.
To Start and Stop Automounter Basic Tracing
1. Log in as root to the NFS client.
2. Add “2> tracefile” to the AUTO_OPTIONS variable in the
/etc/rc.config.d/nfsconf file, as in the following example:
AUTO_OPTIONS=”-f $AUTO_MASTER 2> /var/adm/automount.log”
This change redirects standard error to the file
/var/adm/automount.log. Automounter basic trace output is sent
to standard error.
3. Issue the following command to get a list of all the automounted
directories on the client:
/usr/bin/grep tmp_mnt /etc/mnttab