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. Only users with
40 and sufficient privileges to write to
46 daemon is automatically invoked using
54 starts over the TCP and UDP transports for versions 2 and 3. By default, it
55 starts over the TCP for version 4. You can change this
62 daemon started with or without options must be stopped before invoking another
68 for available configuration properties for
71 The following options are supported:
74 Start a NFS daemon over all available connectionless and connection-oriented
75 transports, including UDP and TCP. Equivalent of setting the
80 Set the maximum number of connections allowed to the NFS server over
81 connection-oriented transports. By default, the number of connections is
82 unlimited. Equivalent of the
86 Set connection queue length for the NFS server over a connection-oriented
87 transport. The default value is 32 entries. Equivalent of the
91 Start a NFS daemon over the specified protocol. Equivalent of the
95 Start a NFS daemon for the transport specified by the given device. Equivalent
101 The following operands are supported:
104 This sets the maximum number of concurrent NFS requests that the server can
105 handle. This concurrency is achieved by up to
107 threads created as needed in the kernel.
109 should be based on the load expected on this server. 16 is the usual number of
113 is not specified, the maximum number of concurrent NFS requests will default to
121 variable is set to non-zero value in
123 then clients are required to use privileged ports
127 to get NFS services. This variable is equal to zero by default. This variable
128 has been moved from the
132 module. To set the variable, edit the
134 file and add this entry:
135 .Bd -literal -offset indent
136 set nfssrv:nfs_portmon = 1
141 Client machine pointer to an open-but-unlinked file.
143 System configuration information file.
145 .Pa /var/nfs/v4_state
147 .Pa /var/nfs/v4_oldstate
149 Directories used by the server to manage client state information. These
150 directories should not be removed.
155 Daemon started successfully.
157 Daemon failed to start.
172 Manually starting and restarting
174 is not recommended. If it is necessary to do so, use
176 to enable or disable the nfs service
177 .Pq svc:/network/nfs/server .
178 If it is disabled, it will be enabled by
181 .Sy application Ns / Ns Sy auto_enable
186 for more information.
190 service is managed by the service management facility,
192 under the service identifier:
193 .Bd -literal -offset indent
194 svc:/network/nfs/server
197 Administrative actions on this service, such as enabling, disabling, or
198 requesting restart, can be performed using
200 The service's status can be queried using the
208 it will not be restarted by the service management facility. Instead,
210 can be restarted by other signals, such as