NFS Services Administrator's Guide (B.11.31.04) March 2009
/usr/sbin/fuser -ck local_mount_point
6. Enter the following command to stop AutoFS:
/sbin/init.d/autofs stop
CAUTION: Do not kill the automountd daemon with the kill command. It
does not unmount AutoFS mount-points before it dies.
7. Enter the following command to start AutoFS with tracing enabled:
/sbin/init.d/autofs start
To Stop AutoFS Basic Tracing
To stop AutoFS tracing, kill AutoFS and restart it only after removing -T from
AUTOMOUNTD_OPTIONS.
AutoFS Tracing Output
Following is a sample tracing output of the mounting and unmounting of a filesystem.
Mount Event Tracing Output
The general format of a mount event trace is: MOUNT REQUEST: <time stamp>
<mount information> <other tracing> ... <other tracing>
MOUNT REPLY: <status>=mount statusThe <mount information> trace has
the following format (all on one line) :
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 map
<opts> = mount options
<path> = mount path
<other tracing> = other trace information
The mount status option in the mount reply contains 0 if the mount is successful;
it has non-zero value when the mount is not successful.
The following is an example of a typical mount trace:
May 13 18:45:09 t5 MOUNT REQUEST: Tue May 13 18:45:09 2003
May 13 18:45:09 t5 name=nfs127[/tmp] map=auto.indirect opts=path=/n2ktmp_8264/nfs127/tmp
direct=1
May 13 18:45:09 t5 PUSH /etc/auto.indirect
May 13 18:45:09 t5 POP /etc/auto.indirect
May 13 18:45:09 t5 mapline: hpnfs127:/ /tmp hpnfs127:/tmp
104 Configuring and Administering AutoFS