4 .\" Copyright (C) 1999 Olaf Kirch <okir@monad.swb.de>
5 .TH rpc.nfsd 8 "7 Aug 2006"
7 rpc.nfsd \- NFS server process
9 .BI "/usr/sbin/rpc.nfsd [" options "]" " "nproc
13 program implements the user level part of the NFS service. The
14 main functionality is handled by the
16 kernel module. The user space program merely specifies what sort of sockets
17 the kernel service should listen on, what NFS versions it should support, and
18 how many kernel threads it should use.
22 server provides an ancillary service needed to satisfy mount requests
26 .B \-d " or " \-\-debug
27 enable logging of debugging messages
29 .B \-H " or " \-\-host hostname
30 specify a particular hostname (or address) that NFS requests will
31 be accepted on. By default,
33 will accept NFS requests on all known network addresses.
36 (which performs file locking services for NFS) may still accept
37 request on all known network addresses. This may change in future
38 releases of the Linux Kernel.
40 .B \-p " or " \-\-port port
41 specify a diferent port to listen on for NFS requests. By default,
43 will listen on port 2049.
45 .B \-N " or " \-\-no-nfs-version vers
46 This option can be used to request that
48 does not offer certain versions of NFS. The current version of
50 can support both NFS version 2,3 and the newer version 4.
52 .B \-s " or " \-\-syslog
55 logs error messages (and debug messages, if enabled) to stderr. This option makes
57 log these messages to syslog instead. Note that errors encountered during
58 option processing will still be logged to stderr regardless of this option.
60 .B \-T " or " \-\-no-tcp
63 from accepting TCP connections from clients.
65 .B \-U " or " \-\-no-udp
68 from accepting UDP connections from clients.
71 specify the number of NFS server threads. By default, just one
72 thread is started. However, for optimum performance several threads
73 should be used. The actual figure depends on the number of and the work
74 load created by the NFS clients, but a useful starting point is
75 8 threads. Effects of modifying that number can be checked using
80 Note that if the NFS server is already running, then the options for
81 specifying host, port, and protocol will be ignored. The number of
82 processes given will be the only option considered, and the number of
85 processes will be increased or decreased to match this number.
88 will stop all threads and thus close any open connections.
91 If the program is built with TI-RPC support, it will enable any protocol and
92 address family combinations that are marked visible in the
104 Olaf Kirch, Bill Hawes, H. J. Lu, G. Allan Morris III,
105 and a host of others.