NAME
mountd, rpc.mountd — NFS mount request server
SYNOPSIS
/usr/sbin/rpc.mountd
[-l
log_file]
[-t
n]
Obsolescent Options
/usr/sbin/rpc.mountd
[-p]
DESCRIPTION
mountd
is an
RPC
server that answers file system mount requests.
It reads file
/etc/xtab
(described in
exports(4))
to determine which directories are available to which machines.
It also provides information on what file systems are mounted by which
clients.
This information can be printed using the
showmount
command (see
showmount(1M)).
rpc.mountd
can be started at boot time by setting the variable
NFS_SERVER
to 1 in the file
/etc/rc.config.d/nfsconf.
Options
mountd
recognizes the following options:
- -l log_file
Log any errors to the named log file,
log_file.
Errors are not logged if the
-l
option is not specified.
The information logged to the file
includes the date and time of the error,
the host name, process
ID
and name of the function generating the error,
and the error message.
Note that different services can share a single log file
since enough information is included to uniquely identify each error.
- -p
This is an obsolete option.
- -tn
Specify tracing level
n ,
where
n
can have one of the following values:
- 1
Errors only (default)
- 2
Errors, mount requests and mount failures
WARNINGS
If a client crashes, executing
showmount
on the server will show
that the client still has a file system mounted;
i.e., the client's entry is not removed from
/etc/rmtab
until the client reboots and executes
umount -a
(see
showmount(1M)).
Also, if a client mounts the same remote directory twice,
only one entry appears in
/etc/rmtab.
Doing a
umount
of one of these directories removes the single entry and
showmount
no longer indicates that the remote directory is mounted.
AUTHOR
mountd
was developed by Sun Microsystems, Inc.
FILES
- /etc/rmtab
List of all hosts having file systems mounted from this machine