NFS Services Administrator's Guide (B.11.31.03) August 2008

To Stop AutoFS Logging
To stop AutoFS logging, stop AutoFS and restart it after removing the -v option
from AUTOMOUNTD_OPTIONS.
AutoFS Tracing
AutoFS supports the following Trace levels:
Detailed (level 3) Includes traces of all the AutoFS requests and replies,
mount attempts, timeouts, and unmount attempts. You
can start level 3 tracing while AutoFS is running.
Basic (level 1) Includes traces of all the AutoFS requests and replies. You
must restart AutoFS to start level 1 tracing.
To Start and Stop AutoFS Detailed Tracing
To start and stop the AutoFS tracing Level 3, follow these steps:
1. Log in as superuser to the NFS client.
2. Enter the following commands:
ps -ef | grep automountd
kill -SIGUSR2 PID
where:
PID Process ID returned by the ps command.
Level 3 tracing is appended to the /var/adm/automount.log file.
NOTE: The command, kill -SIGUSR2 PID, works only if tracing is not already on.
To stop level 3 tracing, enter the same commands listed above to send the SIGUSR2
signal to automountd. The SIGUSR2 signal is a toggle that turns tracing on or off
depending on its current state.
If basic (level 1) tracing is turned on when you send the SIGUSR2 signal to automountd,
the SIGUSR2 signal turns tracing off.
To Start AutoFS Basic Tracing
To start AutoFS tracing Level 1, follow these steps:
1. Log in as superuser to the NFS client.
2. Add -T to the AUTOMOUNTD_OPTIONS variable in the
/etc/rc.config.d/nfsconf file, as follows:
AUTOMOUNTD_OPTIONS=-T
This change appends AutoFS basic tracing messages into the
/var/adm/automount.log file.
Troubleshooting AutoFS 105