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