nfsd(1M)nfsd(1M)NAMEnfsd - NFS daemon
SYNOPSIS
#_conn] listen_backlog] protocol] device] [nservers]
DESCRIPTION
is the daemon that handles client file system requests. Only users
with sufficient privileges can run this daemon.
The daemon is automatically invoked if and in the file.
By default, starts over the TCP and UDP transports for version 2 and
version 3, and over TCP for version 4, if NFS version 4 is enabled.
One can change this with the option.
A previously invoked daemon started with or without options must be
stopped before invoking another command.
Administrators wanting to change startup parameters for should make
changes (as root user) to the NFS default file (see nfs(4)). Adminis‐
trators can either edit this file or use the command to make changes.
Options
The following options are supported:
Start a NFS daemon over all available connectionless and connec‐
tion-oriented transports, including UDP and TCP. Equivalent to
setting the parameter to in the NFS default file.
This sets the maximum number of connections allowed to the NFS
server over connection-oriented transports. By default,
the number of connections is unlimited. Equivalent to
the parameter in the NFS default file.
Set connection
queue length for the NFS TCP over a connection-oriented
transport. The default value is 32 entries. Equivalent
to the parameter in the NFS default file.
Start a NFS daemon over the specified protocol.
Equivalent to the parameter in the NFS default file.
Start a NFS daemon for the transport specified by the given
device.
Equivalent to the parameter in the NFS default file.
Operands
The following operands are supported:
This sets the maximum number of concurrent NFS requests that the
server can handle. This concurrency is achieved by up to
nservers threads created as needed in the kernel. nservers
should be based on the load expected on this server. 16 is the
usual number of nservers. If nservers is not specified, the
maximum number of concurrent NFS requests will default to 1.
Changing the value of nservers requires stopping and restarting
Equivalent to the parameter in the NFS default file.
Notes
A directory service that provides service name data base support must
have the following service entries in its database:
If the kernel tunable (see nfs_portmon(5)) is set to 1, then clients
are required to use privileged ports (ports < IPPORT_RESERVED) to
receive NFS services. This tunable is set to 0 by default. Use (see
kctune(1M)) to set this tunable.
By default, the NFS version 4 server is disabled. In order to enable it
you must stop the NFS server. As root, either use the command (see
setoncenv(1M)) or edit to set the parameter to 4.
EXIT STATUS
Daemon started successfully.
Daemon failed to start.
WARNINGS
Manually starting and restarting is not recommended. If it is neces‐
sary to do so, use the NFS server start/stop script
FILES
client machine pointer to an open-but-unlinked file.
shell script for starting
startup parameters for
directories used by the server to manage client state
information; these directories should not be removed.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSOkctune(1M), mountd(1M), setoncenv(1M), getservent(3N), nfs(4),
nsswitch.conf(4), services(4), sharetab(4), nfs_portmon(5).
nfsd(1M)