nfsd
Daemon
The nfsd
daemon handles client file system requests. You can use
several options with this command. See the
nfsd
(8) man page for a complete listing. These options can either be used
from the command line or by setting the appropriate SMF parameter with the
sharectl
command.
-
listen_backlog
=length -
Sets the length of the connection queue over connection-oriented transports for NFS and TCP. The default value is 32 entries. The same selection can be made from the command line by starting
nfsd
with the-l
option. -
max_connections
=#-conn -
Selects the maximum number of connections per connection-oriented transport. The default value for #-conn is unlimited. The same parameter can be used from the command line by starting the daemon with the
-c
#-conn option. -
servers
=nservers -
Selects the maximum number of concurrent requests that a server can handle. The default value for nservers is 1024. The same selection can be made from the command line by starting
nfsd
with thenservers
option.
Unlike older versions of this daemon, nfsd
does not spawn multiple
copies to handle concurrent requests. Checking the process table with ps
only shows one copy of the daemon running.
In addition, the following SMF parameters can be used to configure the
mountd
daemon. These parameters do not have command-line
equivalents:
-
server_versmin
-
Sets the minimum version of the NFS protocol to be registered and offered by the server. The default is 2. Other valid values are 3, 4, and 4.1. Refer to Setting Up the NFS Service.
-
server_versmax
-
Sets the maximum version of the NFS protocol to be registered and offered by the server. The default is 4.1. Other valid values are 2, 3, and 4. Refer to Setting Up the NFS Service.
-
server_delegation
-
Controls whether the NFS Version 4 delegation feature is enabled for the server. If this feature is enabled, the server attempts to provide delegations to the NFS Version 4 client. By default, server delegation is enabled. To disable server delegation, see How to Select Different Versions of NFS on a Server. For more information, refer to Delegation in NFS Version 4.