|
|
HP-UX Reference > Mmountd(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEmountd, rpc.mountd — NFS mount request server DESCRIPTIONmountd 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. Optionsmountd recognizes the following options:
WARNINGSIf 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. SEE ALSOinetd(1M), mount(1M), portmap(1M), showmount(1M), exports(4), inetd.conf(4), inetd.sec(4), rmtab(4), services(4). |
|