System Administration Commands automountd(1M)
NAME
automountd - autofs mount/unmount daemon
SYNOPSIS
automountd [-Tvn] [-D name=value]
DESCRIPTION
automountd is an RPC server that answers file system mount
and unmount requests from the autofs file system. It uses local files or name service maps to locate file systems to be mounted. These maps are described with the automount(1M) command.If automount finds any non-trivial entries in either the
local or distributed automount maps and if the daemon is notrunning already, the automountd daemon is automatically
invoked by automount(1M). automountd enables the
svc:/network/nfs/nlockmgr service (lockd(1M)), and the svc:/network/nfs/status service (statd(1M)), if NFS mounts need to be done. SMF ManagementThe automountd service is managed by the service management
facility, smf(5), under the service identifier: svc:/system/filesystem/autofs Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The service's status can be queried using svcs(1). If it is disabled, it is enabled by automount(1M)unless the application/auto_enable property is set to false.
Values for parameters for automountd are stored in SMF and
manipulated using sharectl(1M). The following are the sup-
ported parameters.automountd_verbose=TRUE | FALSE
Verbose mode. Causes status messages to be logged to:/var/svc/log/system-filesystem-autofs:default.log
See smf(5). The default value is FALSE. Equivalent tothe -v option.
SunOS 5.11 Last change: 23 Aug 2010 1
System Administration Commands automountd(1M)
nobrowse=ON | OFF Turn on or off browsing for all autofs mount points. Thedefault value is OFF. Equivalent to the -n option.
trace=num Expands each RPC call and logs it to:/var/svc/log/system-filesystem-autofs:default.log
See smf(5). The default value, 0, turns off such trac-
ing. Starting with 1, with each higher value, the ver-
bosity of trace output increases. This property isequivalent to the -T option.
environment=name=value Environment variables. You can specify multiple name=value pairs with a comma separator. If there is more than one value for a name, use the double forwardslash to indicate that. See EXAMPLES. There are no
environment variable settings supplied. This property isequivalent to the -D option.
All the above parameters can be changed using the sharectl(1M) command. OPTIONS The following options are supported:-D name=value Assign value to the indicated automount map
substitution variable. These assignments cannot be used to substitute variables inthe master map auto_master.
-n Turn off browsing for all autofs mount
points. This option overrides the -browse
autofs map option on the local host.-T Trace. Expand each RPC call and display it
on the standard output.SunOS 5.11 Last change: 23 Aug 2010 2
System Administration Commands automountd(1M)
-v Verbose. Log status messages to the con-
sole.USAGE
See largefile(5) for the description of the behavior ofautomountd when encountering files greater than or equal to
2 Gbyte ( 2^31 bytes).EXAMPLES
Example 1 Setting Verbose Mode The following command turns on verbose mode, causing status messages to be logged to the location specified in "SMF Management," above. See that section for a description of the properties specified in this and following examples.# sharectl set -p automountd_verbose=true autofs
Example 2 Turning on Browsing for Mount Points The following command turns on browsing for all autofs mount points.# sharectl set -p nobrowse=off autofs
Example 3 Specifying and Displaying Environment Variables The following commands set and display the value for an environment variable named DAY.# sharectl set -p environment=DAY=TUES autofs
% sharectl get -p environment autofs
environment=DAY=TUES The following command sets multiple parameters for an environment variable. The subsequent command displays the result.SunOS 5.11 Last change: 23 Aug 2010 3
System Administration Commands automountd(1M)
# sharectl set -p environment=DAY=TUES,TIME=NOON autofs
% sharectl get -p environment autofs
environment=DAY=TUES,TIME=NOON The following command set multiple values for name that is assigned to an environment variable. The subsequent command displays the result.# sharectl set -p environment=DAY=MON\\,TUE,TIME=NOON autofs
% sharectl get -p environment autofs
environment=DAY=MON\,TUE,TIME=NOON FILES/etc/auto_master Master map for automounter.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWcs ||_____________________________|_____________________________|
SEE ALSO
svcs(1), automount(1M), sharectl(1M), svcadm(1M), attri-
butes(5), largefile(5), smf(5)SunOS 5.11 Last change: 23 Aug 2010 4