Table of Contents
NAME
mountd - NFS mount request server
SYNOPSIS
/usr/etc/rpc.mountd [-l log_file] [-t n] [-e|-n]
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 is started from /etc/netnfsrc or is invoked by /etc/inetd (see inetd(1M)).
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.
- -e
- Exit after serving each RPC request. When this option is used, the inetd security file /usr/adm/inetd.sec can control access to RPC services.
- -n
- Exit only if:
- · portmap dies (see portmap(1M)),
-
- · another rpc.mountd registers with portmap, or
-
- · rpc.mountd becomes unregistered with portmap.
This option is more efficient because a new process is not launched for each RPC request. This option is the default.
- -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.
If using clustered systems capabilities, only the cluster server's mountd can respond successfully to mount requests. In the case of cluster clients, the rpc.mountd process is only used to answer showmount requests.
AUTHOR
mountd was developed by Sun Microsystems, Inc.
FILES
- /etc/rmtab
- list of all hosts having file systems mounted from this machine
SEE ALSO
inetd(1M), mount(1M), portmap(1M), showmount(1M), exports(4), inetd.conf(4), inetd.sec(4), rmtab(4), services(4).
Table of Contents