Enhanced AutoFS Administrator's Guide

Troubleshooting AutoFS
AutoFS Tracing
Chapter 4 69
Stopping AutoFS Basic Tracing
To stop basic tracing, kill AutoFS and restart it (as described in the
preceding section) by removing -T from the AUTOMOUNTD_OPTIONS
variable.
AutoFS Tracing Output
The most interesting events to users are the tracing output when
mounting and unmounting of file systems occur.
Mount Event Tracing Output
The general format of a mount event trace is as follows:
MOUNT REQUEST: <time stamp>
<mount information> <other tracing>
...
<other tracing>
MOUNT REPLY: <status>=mount status
The <mount information> trace has the following format:
name=<key>[<subdirectory>] <map>= map name <opts>=mount
options <path>=mount path <other tracing>
where:
<key> = the key value from the map
<subdirectory> = subdirectory (may be blank)
<map> = name of the map
<opts> = mount options
<path> = mount path
<other tracing> = other trace information
The mount status in the mount reply contains 0 if the mount is
successful; it has a non-zero value when the mount is not successful.
The following is an example of a typical mount trace: