1rpc.nfsd(8) System Manager's Manual rpc.nfsd(8)
2
3
4
6 rpc.nfsd - NFS server process
7
9 /usr/sbin/rpc.nfsd [options] nproc
10
12 The rpc.nfsd program implements the user level part of the NFS service.
13 The main functionality is handled by the nfsd.o kernel module; the user
14 space program merely starts the specified number of kernel threads.
15
16 The rpc.mountd server provides an ancillary service needed to satisfy
17 mount requests by NFS clients.
18
20 -H or --host hostname
21 specify a particular hostname (or address) that NFS requests
22 will be accepted on. By default, rpc.nfsd will accept NFS
23 requests on all known network addresses. Note that lockd (which
24 performs file locking services for NFS) may still accept request
25 on all known network addresses. This may change in future
26 releases of the Linux Kernel.
27
28 -p or --port port
29 specify a diferent port to listen on for NFS requests. By
30 default, rpc.nfsd will listen on port 2049.
31
32 -N or --no-nfs-version vers
33 This option can be used to request that rpc.nfsd does not offer
34 certain versions of NFS. The current version of rpc.nfsd can
35 support both NFS version 2,3 and the newer version 4.
36
37 -T or --no-tcp
38 Disable rpc.nfsd from accepting TCP connections from clients.
39
40 -U or --no-udp
41 Disable rpc.nfsd from accepting UDP connections from clients.
42
43 nproc specify the number of NFS server threads. By default, just one
44 thread is started. However, for optimum performance several
45 threads should be used. The actual figure depends on the number
46 of and the work load created by the NFS clients, but a useful
47 starting point is 8 threads. Effects of modifying that number
48 can be checked using the nfsstat(8) program.
49
50 Note that if the NFS server is already running, then the options for
51 specifying host, port, and protocol will be ignored. The number of
52 processes given will be the only option considered, and the number of
53 active nfsd processes will be increased or decreased to match this num‐
54 ber. In particular rpc.nfsd 0 will stop all threads and thus close any
55 open connections.
56
57
59 rpc.mountd(8), exports(5), exportfs(8), rpc.rquotad(8), nfsstat(8).
60
62 Olaf Kirch, Bill Hawes, H. J. Lu, G. Allan Morris III, and a host of
63 others.
64
65
66
67 7 Aug 2006 rpc.nfsd(8)