NFS Services Administrator's Guide

Configuring and Administering NFS Services
NFS Client and Server Transport Connections
Chapter 2 87
Changes to the NFS Server Daemon
The NFS server daemon (nfsd) handles client filesystem requests. By
default, nfsd starts over TCP and UDP for NFSv2 and NFSv3. If NFSv4
is enabled then the nfsd daemon only supports TCP for NFSv4. For
NFSv2 and NFSv3 the nfsd daemon services both TCP and UDP
requests.
If you want to change startup parameters for nfsd, you must login as
superuser (root) and make changes to the /etc/default/nfs file or use
the setoncenv command.
The /etc/default/nfs file provides startup parameters for the nfsd
daemon and rpc.lockd daemon. For more information on the
/etc/default/nfs file, see nfs (1M).
The setoncenv command initialises, displays, and removes the value of
NFS configuration variables, found in either of the following files:
/etc/rc.config.d/nfsconf
/etc/rc.config.d/namesvrs
/etc/default/autofs
/etc/default/key
/etc/default/nfs
/etc/default/nfslogd
For more information on the setoncenv command, see setoncenv (1M).