NFS Services Administrator's Guide (5900-2134, March 2012)
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
May 13 18:45:09 t5 do_mount1:
May 13 18:45:09 t5 (nfs,nfs) /n2ktmp_8264/nfs127/tmp hpnfs127:/tmp penalty=0
May 13 18:45:09 t5 nfsmount: input: hpnfs127[other]
May 13 18:45:09 t5 nfsmount: standard mount on/n2ktmp_8264/nfs127/tmp :
May 13 18:45:09 t5 hpnfs127:/tmpMay 13 18:45:09 t5 nfsmount: v3=1[0],v2=0[0] => v3.
May 13 18:45:09 t5 nfsmount: Get mount version: request vers=3min=3
May 13 18:45:09 t5 nfsmount: mount version=3
May 13 18:45:09 t5 Port numbers are 937, 937May 13 18:45:09 t5 Port match
May 13 18:45:09 t5 mount hpnfs127:/tmp /n2ktmp_8264/nfs127/tmp()
May 13 18:45:09 t5 nfs_args: hpnfs127, , 0x2004060, 0, 0, 0, 0,0, 0, 0, 0,
May 13 18:45:09 t5 args_temp: hpnfs127, , 0x3004060, 0, 0, 0, 0,0, 0, 0, 0, hpnfs127:/tmp
May 13 18:45:09 t5 mount hpnfs127:/tmp dev=44000004 rdev=0 OK
May 13 18:45:09 t5 MOUNT REPLY: status=0, AUTOFS_DONE
Unmount Event Tracing Output
The general format of an unmount event trace is:
UNMOUNT REQUEST:<time stamp>
76 Configuring and Administering AutoFS