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.
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.
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]
18 .\" Copyright 1989 AT&T
19 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
20 .\" Copyright 2016 Nexenta Systems, Inc.
32 .Op Fl l Ar listen_backlog
38 is the daemon that handles client file system requests.
41 and sufficient privileges to write to
47 daemon is automatically invoked using
55 starts over the TCP and UDP transports for versions 2 and 3.
56 By default, it starts over the TCP for version 4.
57 You can change this with the
63 daemon started with or without options must be stopped before invoking another
69 for available configuration properties for
72 The following options are supported:
75 Start a NFS daemon over all available connectionless and connection-oriented
76 transports, including UDP and TCP.
77 Equivalent of setting the
82 Set the maximum number of connections allowed to the NFS server over
83 connection-oriented transports.
84 By default, the number of connections is unlimited.
89 Set connection queue length for the NFS server over a connection-oriented
91 The default value is 32 entries.
96 Start a NFS daemon over the specified protocol.
101 Start a NFS daemon for the transport specified by the given device.
107 The following operands are supported:
110 This sets the maximum number of concurrent NFS requests that the server can
112 This concurrency is achieved by up to
114 threads created as needed in the kernel.
116 should be based on the load expected on this server.
117 16 is the usual number of
121 is not specified, the maximum number of concurrent NFS requests will default to
130 variable is set to non-zero value in
132 then clients are required to use privileged ports
137 This variable is equal to zero by default.
138 This variable has been moved from the
143 To set the variable, edit the
145 file and add this entry:
146 .Bd -literal -offset indent
147 set nfssrv:nfs_portmon = 1
152 Client machine pointer to an open-but-unlinked file.
154 System configuration information file.
156 .Pa /var/nfs/v4_state
158 .Pa /var/nfs/v4_oldstate
160 Directories used by the server to manage client state information.
161 These directories should not be removed.
166 Daemon started successfully.
168 Daemon failed to start.
183 Manually starting and restarting
186 If it is necessary to do so, use
188 to enable or disable the nfs service
189 .Pq svc:/network/nfs/server .
190 If it is disabled, it will be enabled by
193 .Sy application Ns / Ns Sy auto_enable
198 for more information.
202 service is managed by the service management facility,
204 under the service identifier:
205 .Bd -literal -offset indent
206 svc:/network/nfs/server
209 Administrative actions on this service, such as enabling, disabling, or
210 requesting restart, can be performed using
212 The service's status can be queried using the
220 it will not be restarted by the service management facility.
223 can be restarted by other signals, such as