nfs(4)




NAME

     nfs - file containing parameter values for NFS-related  dae-
     mons


SYNOPSIS

     /etc/default/nfs


DESCRIPTION

     The nfs file resides in directory /etc/default and  provides
     startup parameters for the nfsd(1M) and lockd(1M) daemons.

     The nfs file format is ASCII; comment lines begin  with  the
     crosshatch  (#)  character.  Parameters consist of a keyword
     followed by an equals (=) sign  followed  by  the  parameter
     value, of the form:

     keyword=value

     Administrators wanting to change startup parameters for nfsd
     or  lockd  should,  as  root,  make  changes in the nfs file
     rather than editing the /etc/init.d/nfs.server or nfs.client
     files.

     The following parameters are currently supported in the  nfs
     file:

     NFSD_MAX_CONNECTIONS=<num>
           Sets the maximum  number  of  concurrent,  connection-
           oriented  connections. The default is unlimited and is
           obtained by not  setting  (that  is,  commenting  out)
           NFSD_MAX_CONNECTIONS.  Equivalent  to the -c option in
           nfsd.

     NFSD_LISTEN_BACKLOG=<num>
           Set  connection  queue  length  for  the  NFS  over  a
           connection-oriented  transport.  The  default value is
           32, meaning 32 entries in the queue. Equivalent to the
           -l option in nfsd.

     NFSD_PROTOCOL=ALL
           Start  nfsd  over   the   specified   protocol   only.
           Equivalent to the -p option in nfsd. ALL is equivalent
           to -a on the nfsd command line. Mutually  exlusive  of
           NFSD_DEVICE.  One  or  the  other  of  NFSD_DEVICE and
           NFSD_PROTOCOL must be commented out.

     NFSD_DEVICE=<devname>
           Start NFS daemon for the transport  specified  by  the
           given  device  only.  Equivalent  to  the -t option in
           nfsd. Mutually exclusive of NFSD_PROTOCOL.  One or the
           other  of  NFSD_DEVICE  and NFSD_PROTOCOL must be com-
           mented out.

     NFSD_SERVERS=<num>
           Maximum number of concurrent NFS requests.  Equivalent
           to last numeric argument on the nfsd command line. The
           default is 16.

     LOCKD_LISTEN_BACKLOG=<num>
           Set  connection  queue  length  for   lockd   over   a
           connection-oriented transport. The default and minimum
           value is 32.

     LOCKD_SERVERS=<num>
           Maximum  number  of  conncurent  lockd  requests.  The
           default is 20.

     LOCKD_RETRANSMIT_TIMEOUT=<num>
           Retransmit timeout, in seconds, before lockd  retries.
           The default is 5.

     LOCKD_GRACE_PERIOD=<num>
           Grace period, in seconds, that clients have to reclaim
           locks after a server reboot. The default is 45.


SEE ALSO

     lockd(1M), nfsd(1M)


Man(1) output converted with man2html