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 NFSD 1M
24 .Os
25 .Sh NAME
26 .Nm nfsd
27 .Nd NFS daemon
28 .Sh SYNOPSIS
29 .Nm /usr/lib/nfs/nfsd
30 .Op Fl a
31 .Op Fl c Ar max_conn
32 .Op Fl l Ar listen_backlog
33 .Op Fl p Ar protocol
34 .Op Fl t Ar device
35 .Op Ar nservers
36 .Sh DESCRIPTION
37 .Nm
38 is the daemon that handles client file system requests.
39 Only users with
40 .Brq Sy PRIV_SYS_NFS
41 and sufficient privileges to write to
42 .Pa /var/run
161 These directories should not be removed.
162 .El
163 .Sh EXIT STATUS
164 .Bl -tag -width Ds
165 .It Sy 0
166 Daemon started successfully.
167 .It Sy 1
168 Daemon failed to start.
169 .El
170 .Sh SEE ALSO
171 .Xr svcs 1 ,
172 .Xr mountd 1M ,
173 .Xr share 1M ,
174 .Xr sharectl 1M ,
175 .Xr sharemgr 1M ,
176 .Xr svcadm 1M ,
177 .Xr nfs 4 ,
178 .Xr sharetab 4 ,
179 .Xr system 4 ,
180 .Xr attributes 5 ,
181 .Xr smf 5
182 .Sh NOTES
183 Manually starting and restarting
184 .Nm
185 is not recommended.
186 If it is necessary to do so, use
187 .Nm svcadm
188 to enable or disable the nfs service
189 .Pq svc:/network/nfs/server .
190 If it is disabled, it will be enabled by
191 .Xr share_nfs 1M ,
192 unless its
193 .Sy application Ns / Ns Sy auto_enable
194 property is set to
195 .Sy false .
196 See the , and
197 .Xr svcadm 1M
198 for more information.
199 .Pp
200 The
201 .Nm
202 service is managed by the service management facility,
203 .Xr smf 5 ,
204 under the service identifier:
205 .Bd -literal -offset indent
206 svc:/network/nfs/server
207 .Ed
208 .Pp
209 Administrative actions on this service, such as enabling, disabling, or
210 requesting restart, can be performed using
211 .Xr svcadm 1M .
212 The service's status can be queried using the
213 .Xr svcs 1
214 command.
215 .Pp
216 If
217 .Nm
218 is killed with
219 .Sy SIGTERM ,
220 it will not be restarted by the service management facility.
221 Instead,
222 .Nm
223 can be restarted by other signals, such as
224 .Sy SIGINT .
|
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 .\" Copyright 2020 Joyent, Inc.
22 .\"
23 .Dd February 4, 2020
24 .Dt NFSD 1M
25 .Os
26 .Sh NAME
27 .Nm nfsd
28 .Nd NFS daemon
29 .Sh SYNOPSIS
30 .Nm /usr/lib/nfs/nfsd
31 .Op Fl a
32 .Op Fl c Ar max_conn
33 .Op Fl l Ar listen_backlog
34 .Op Fl p Ar protocol
35 .Op Fl t Ar device
36 .Op Ar nservers
37 .Sh DESCRIPTION
38 .Nm
39 is the daemon that handles client file system requests.
40 Only users with
41 .Brq Sy PRIV_SYS_NFS
42 and sufficient privileges to write to
43 .Pa /var/run
162 These directories should not be removed.
163 .El
164 .Sh EXIT STATUS
165 .Bl -tag -width Ds
166 .It Sy 0
167 Daemon started successfully.
168 .It Sy 1
169 Daemon failed to start.
170 .El
171 .Sh SEE ALSO
172 .Xr svcs 1 ,
173 .Xr mountd 1M ,
174 .Xr share 1M ,
175 .Xr sharectl 1M ,
176 .Xr sharemgr 1M ,
177 .Xr svcadm 1M ,
178 .Xr nfs 4 ,
179 .Xr sharetab 4 ,
180 .Xr system 4 ,
181 .Xr attributes 5 ,
182 .Xr smf 5 ,
183 .Xr zones 5
184 .Sh NOTES
185 Manually starting and restarting
186 .Nm
187 is not recommended.
188 If it is necessary to do so, use
189 .Nm svcadm
190 to enable or disable the nfs service
191 .Pq svc:/network/nfs/server .
192 If it is disabled, it will be enabled by
193 .Xr share_nfs 1M ,
194 unless its
195 .Sy application Ns / Ns Sy auto_enable
196 property is set to
197 .Sy false .
198 See
199 .Xr smf 5
200 and
201 .Xr svcadm 1M
202 for more information.
203 .Pp
204 The
205 .Nm
206 service is managed by the service management facility,
207 .Xr smf 5 ,
208 under the service identifier:
209 .Bd -literal -offset indent
210 svc:/network/nfs/server
211 .Ed
212 .Pp
213 Administrative actions on this service, such as enabling, disabling, or
214 requesting restart, can be performed using
215 .Xr svcadm 1M .
216 The service's status can be queried using the
217 .Xr svcs 1
218 command.
219 .Pp
220 If
221 .Nm
222 is killed with
223 .Sy SIGTERM ,
224 it will not be restarted by the service management facility.
225 Instead,
226 .Nm
227 can be restarted by other signals, such as
228 .Sy SIGINT .
229 .Pp
230 NFS service, which includes
231 .Nm ,
232 can run inside a non-global zone.
233 See the discussion under ZONES in
234 .Xr nfs 4
235 for more information.
|