xref: /original-bsd/sbin/nfsd/nfsd.8 (revision 3705696b)
1.\" Copyright (c) 1989, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)nfsd.8	8.1 (Berkeley) 06/09/93
7.\"
8.Dd
9.Dt NFSD 8
10.Os
11.Sh NAME
12.Nm nfsd
13.Nd remote
14.Tn NFS
15server
16.Sh SYNOPSIS
17.Nm nfsd
18.Op Fl r
19.Op Fl u
20.Op Fl t
21.Op Ar numprocs
22.Sh DESCRIPTION
23.Nm Nfsd
24runs on a server machine to service
25.Tn NFS
26requests from client machines.
27At least one
28.Nm nfsd
29must be running for a machine to operate as a server.
30The options
31.Fl u
32and
33.Fl t
34are used to indicate which transport protocols are to be served.
35.Pp
36Options available to
37.Nm nfsd :
38.Bl -tag -width Ds
39.It Fl r
40Register the
41.Tn NFS
42service with
43.Xr portmap 8
44without creating any servers. This option can be used along with the
45.Fl u
46or
47.Fl t
48options to re-register NFS if the portmap server is restarted.
49.It Fl t
50Serve
51.Tn TCP NFS
52clients.
53.It Fl u
54Serve
55.Tn UDP NFS
56clients.
57.It Ar numprocs
58Specifies how many servers to fork off.
59.El
60.Pp
61If neither
62.Fl u
63or
64.Fl t
65are specified,
66.Ar numprocs
67servers for
68.Tn UDP
69transport are started. (compatibility)
70If
71.Ar numprocs
72is not specified, it defaults to 4.
73.Pp
74For example:
75.Bd -literal
76nfsd \-u \-t 6
77.Ed
78.Bl -item -offset indent
79.It
80Serves
81.Tn UDP
82and
83.Tn TCP
84transports using 6 daemons in the kernel.
85.Pp
86A server should typically run enough daemons to handle
87the maximum level of concurrency from its clients,
88typically four to six.
89.Pp
90.Nm Nfsd
91listens for service requests at the port indicated in the
92.Tn NFS
93server specification; see
94.%T "Network File System Protocol Specification" ,
95RFC1094.
96.Sh SEE ALSO
97.Xr nfsstat 1 ,
98.Xr nfssvc 2 ,
99.Xr mountd 8 ,
100.Xr portmap 8
101.Sh HISTORY
102The
103.Nm nfsd
104utility first appeared in 4.4BSD.
105