1rpc.nfsd(8)                 System Manager's Manual                rpc.nfsd(8)
2
3
4

NAME

6       rpc.nfsd - NFS server process
7

SYNOPSIS

9       /usr/sbin/rpc.nfsd [options] nproc
10

DESCRIPTION

12       The rpc.nfsd program implements the user level part of the NFS service.
13       The main functionality is handled by the nfsd kernel module.  The  user
14       space  program merely specifies what sort of sockets the kernel service
15       should listen on, what NFS versions it should  support,  and  how  many
16       kernel threads it should use.
17
18       The  rpc.mountd  server provides an ancillary service needed to satisfy
19       mount requests by NFS clients.
20

OPTIONS

22       -d  or  --debug
23              enable logging of debugging messages
24
25       -H  or  --host hostname
26              specify a particular hostname (or  address)  that  NFS  requests
27              will  be  accepted  on.  By  default,  rpc.nfsd  will accept NFS
28              requests on all known network addresses.  Note that lockd (which
29              performs file locking services for NFS) may still accept request
30              on all known network  addresses.   This  may  change  in  future
31              releases of the Linux Kernel.
32
33       -p  or  --port port
34              specify  a  diferent  port  to  listen  on  for NFS requests. By
35              default, rpc.nfsd will listen on port 2049.
36
37       -N  or  --no-nfs-version vers
38              This option can be used to request that rpc.nfsd does not  offer
39              certain  versions  of  NFS.  The current version of rpc.nfsd can
40              support both NFS version 2,3 and the newer version 4.
41
42       -s  or  --syslog
43              By default, rpc.nfsd logs error messages (and debug messages, if
44              enabled)  to  stderr.  This option makes rpc.nfsd log these mes‐
45              sages to syslog instead. Note  that  errors  encountered  during
46              option  processing  will still be logged to stderr regardless of
47              this option.
48
49       -T  or  --no-tcp
50              Disable rpc.nfsd from accepting TCP connections from clients.
51
52       -U  or  --no-udp
53              Disable rpc.nfsd from accepting UDP connections from clients.
54
55       nproc  specify the number of NFS server threads. By default,  just  one
56              thread  is  started.  However,  for  optimum performance several
57              threads should be used. The actual figure depends on the  number
58              of  and  the  work load created by the NFS clients, but a useful
59              starting point is 8 threads. Effects of  modifying  that  number
60              can be checked using the nfsstat(8) program.
61
62       Note  that  if  the NFS server is already running, then the options for
63       specifying host, port, and protocol will be  ignored.   The  number  of
64       processes  given  will be the only option considered, and the number of
65       active nfsd processes will be increased or decreased to match this num‐
66       ber.  In particular rpc.nfsd 0 will stop all threads and thus close any
67       open connections.
68
69

NOTES

71       If the program is built with TI-RPC support, it will enable any  proto‐
72       col and address family combinations that are marked visible in the net‐
73       config database.
74
75

SEE ALSO

77       rpc.mountd(8),  exports(5),  exportfs(8),  rpc.rquotad(8),  nfsstat(8),
78       netconfig(5).
79

AUTHOR

81       Olaf  Kirch,  Bill  Hawes, H. J. Lu, G. Allan Morris III, and a host of
82       others.
83
84
85
86                                  7 Aug 2006                       rpc.nfsd(8)
Impressum