xref: /illumos-gate/usr/src/man/man8/mountd.8 (revision 533affcbc7fc4d0c8132976ea454aaa715fe2307)
1.\"
2.\" The contents of this file are subject to the terms of the
3.\" Common Development and Distribution License (the "License").
4.\" You may not use this file except in compliance with the License.
5.\"
6.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7.\" or http://www.opensolaris.org/os/licensing.
8.\" See the License for the specific language governing permissions
9.\" and limitations under the License.
10.\"
11.\" When distributing Covered Code, include this CDDL HEADER in each
12.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
13.\" If applicable, add the following below this CDDL HEADER, with the
14.\" fields enclosed by brackets "[]" replaced with your own identifying
15.\" information: Portions Copyright [yyyy] [name of copyright owner]
16.\"
17.\"
18.\" Copyright 1989 AT&T
19.\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
20.\" Copyright 2016 Nexenta Systems, Inc.
21.\"
22.Dd March 12, 2016
23.Dt MOUNTD 8
24.Os
25.Sh NAME
26.Nm mountd
27.Nd server for NFS mount requests and NFS access checks
28.Sh SYNOPSIS
29.Nm /usr/lib/nfs/mountd
30.Op Fl rv
31.Sh DESCRIPTION
32.Nm
33is an RPC server that answers requests for NFS access information and file
34system mount requests.
35It reads the file
36.Pa /etc/dfs/sharetab
37to determine which file systems are available for mounting by which remote
38machines.
39See
40.Xr sharetab 5 .
41.Nm nfsd
42running on the local server will contact
43.Nm
44the first time an NFS client tries to access the file system to determine
45whether the client should get read-write, read-only, or no access.
46This access can be dependent on the security mode used in the remoted procedure
47call from the client.
48See
49.Xr share_nfs 8 .
50.Pp
51The command also provides information as to what file systems are mounted by
52which clients.
53This information can be printed using the
54.Xr showmount 8
55command.
56.Pp
57The
58.Nm
59daemon is automatically invoked by
60.Xr share 8 .
61.Pp
62Only super user can run the mountd daemon.
63.Pp
64See
65.Xr nfs 5
66for available configuration properties for
67.Nm .
68.Ss Options
69The options shown below are supported for NFSv2/v3 clients.
70They are not supported for NFSv4 clients.
71.Bl -tag -width Ds
72.It Fl r
73Reject mount requests from clients.
74Clients that have file systems mounted will not be affected.
75.It Fl v
76Run the command in verbose mode.
77Each time
78.Nm
79determines what access a client should get, it will log the result to the
80console, as well as how it got that result.
81.El
82.Sh FILES
83.Bl -tag -width Ds
84.It Pa /etc/dfs/sharetab
85shared file system table
86.El
87.Sh SEE ALSO
88.Xr nfs 5 ,
89.Xr sharetab 5 ,
90.Xr attributes 7 ,
91.Xr nfsd 8 ,
92.Xr share 8 ,
93.Xr share_nfs 8 ,
94.Xr sharectl 8 ,
95.Xr showmount 8
96.Sh NOTES
97Since
98.Nm
99must be running for
100.Nm nfsd
101to function properly,
102.Nm
103is automatically started by the
104.Sy svc:/network/nfs/server
105service.
106See
107.Xr nfs 5 .
108.Pp
109Some routines that compare hostnames use case-sensitive string comparisons;
110some do not.
111If an incoming request fails, verify that the case of the hostname in the file
112to be parsed matches the case of the hostname called for, and attempt the
113request again.
114