HPlogo HP-UX Reference > M

mountd(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

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.

A fixed port can be specified for mountd by using the MOUNTD_PORT variable in the /etc/rc.config.d/nfsconf file, as shown:

MOUNTD_PORT=port_number

The port number can have any value between 1 and 65535. After adding the port variable to the /etc/rc.config.d/nfsconf file, mountd must be restarted for this to take effect. This feature can be disabled by deleting or commenting out the port variable from the /etc/rc.config.d/nfsconf file and restarting mountd.

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.

The MOUNTD_PORT variable will still be supported in HP-UX 11i V3, but the 11i V3 configuration file will be /etc/default/nfs and not /etc/rc.config.d/nfsconf.

AUTHOR

mountd was developed by Sun Microsystems, Inc.

FILES

/etc/rmtab

List of all hosts having file systems mounted from this machine