xref: /original-bsd/sbin/nfsd/nfsd.8 (revision f737e041)
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.3 (Berkeley) 02/22/94
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 rut
19.Op Fl n Ar num_servers
20.Sh DESCRIPTION
21.Nm Nfsd
22runs on a server machine to service
23.Tn NFS
24requests from client machines.
25At least one
26.Nm nfsd
27must be running for a machine to operate as a server.
28.Pp
29Unless otherwise specified, four servers for
30.Tn UDP
31transport are started.
32.Pp
33The following options are available:
34.Bl -tag -width Ds
35.It Fl r
36Register the
37.Tn NFS
38service with
39.Xr portmap 8
40without creating any servers.
41This option can be used along with the
42.Fl u
43or
44.Fl t
45options to re-register NFS if the portmap server is restarted.
46.It Fl n
47Specifies how many servers to create.
48.It Fl t
49Serve
50.Tn TCP NFS
51clients.
52.It Fl u
53Serve
54.Tn UDP NFS
55clients.
56.El
57.Pp
58For example,
59.Dq Li "nfsd -u -t 6"
60serves
61.Tn UDP
62and
63.Tn TCP
64transports using six daemons.
65.Pp
66A server should run enough daemons to handle
67the maximum level of concurrency from its clients,
68typically four to six.
69.Pp
70.Nm Nfsd
71listens for service requests at the port indicated in the
72.Tn NFS
73server specification; see
74.%T "Network File System Protocol Specification" ,
75RFC1094.
76.Pp
77The
78.Nm nfsd
79utility exits 0 on success, and >0 if an error occurs.
80.Sh SEE ALSO
81.Xr nfsstat 1 ,
82.Xr nfssvc 2 ,
83.Xr mountd 8 ,
84.Xr portmap 8
85.Sh HISTORY
86The
87.Nm nfsd
88utility first appeared in 4.4BSD.
89