NFSD(8) BSD System Manager's Manual NFSD(8)NAMEnfsd - remote NFS server
SYNOPSISnfsd [-prtu] [-n num_servers]
DESCRIPTION
The nfsd program runs on a server machine to service NFS requests from
client machines. At least one nfsd must be running for a machine to op-
erate as a server. The -t and -u options specify which protocols are to
be served; both TCP and UDP are available. The port numbers for each are
taken from the services(5) file, or default to 2049 (a non-privileged
port) as indicated in the NFS server specification; see Network File
System Protocol Specification, RFC1094 and NFS: Network File System
Version 3 Protocol Specification.
The nfsd servers will ignore IP level options (e.g., source routing) on
incoming requests.
The following options are available:
-n Specifies how many servers to create. The default is 4.
-p Disables the default port number for service. If there are no
nfs entries in services(5), nfsd will exit. This can be used to
ensure that only a privileged port will be served.
-r Register the NFS service with portmap(8) without creating any
servers. This option can be used along with the -u or -t options
to re-register NFS if the portmap server is restarted.
-t Serve TCP NFS clients.
-u Serve UDP NFS clients.
For example, ``nfsd -u -t -n 6'' serves UDP and TCP transports using six
daemons.
A server should run enough daemons to handle the maximum level of concur-
rency from its clients, typically four to six.
The nfsd utility exits 0 on success, and >0 if an error occurs.
SEE ALSOnfsstat(1), nfssvc(2), mountd(8), portmap(8)HISTORY
The nfsd utility first appeared in 4.4BSD.
BSDI BSD/OS March 29, 1995 1