HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

a
automountd(1M) automountd(1M)
NAME
automountd - autofs mount/unmount daemon
SYNOPSIS
automountd [-TvnL][-D
name=value]
DESCRIPTION
automountd is an RPC server that answers file system mount and unmount requests from the
autofs
filesystem. It uses local files or name service maps to locate filesystems to be mounted. These maps are
described with the automount command (see automount(1M)).
The
automountd daemon is automatically invoked if the
AUTOFS variable and the
AUTOMOUNT variable
are set to 1 in
/etc/rc.config.d/nfsconf
.
Options
-T Trace. Expand each RPC call and display it to
/var/adm/automount.log
.
-v Verbose. Log status messages to
/var/adm/syslog/syslog.log
.
-n Turn off browsing for all autofs mount points. This option overrides the
-browse autofs map
option on the local host. This option is only available with Enhanced AutoFS.
-L Force all mounts to the local host to be NFS mounts instead of the default LOFS mounts. This is
necessary for highly available NFS mounts. This option is only available with Enhanced AutoFS.
-D name=value
Assign value to the indicated automount map substitution variable. These assignments cannot be
used to substitute variables in the master map auto_master .
Tracing
While automountd is running, the signal SIGUSR2 can be sent to automountd to turn tracing on. It
logs messages in /var/adm/automount.log
. To turn tracing off, send the signal SIGUSR2 again.
The automount Daemon
In some releases of HP-UX, there are two versions of
automount, autofs and the old automounter. They
are both documented in automount(1M). To use autofs instead of the old automount daemon, set the
AUTOFS variable to 1 in /etc/rc.config.d/nfsconf
.
EXIT STATUS
automountd returns:
0 successful
1 failure
EXAMPLES
To turn on tracing, enter:
/usr/lib/netsvc/fs/autofs/automountd -T
or
/usr/lib/netsvc/fs/enh_autofs/automountd -T
or
automountd -T
Note that /usr/lib/netsvc/fs/enh_autofs/automountd
is only available with Enhanced
AutoFS.
No messages are displayed by the trace. Check the results in
/var/adm/automount.log
.
AUTHOR
automountd was developed by Sun Microsystems, Inc.
FILES
/etc/auto_master master map for automounter
Section 1M98 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005