162947Sbostic.\" Copyright (c) 1989, 1991, 1993 262947Sbostic.\" The Regents of the University of California. All rights reserved. 338461Smckusick.\" 450768Scael.\" %sccs.include.redist.roff% 538461Smckusick.\" 6*68647Smckusick.\" @(#)nfsd.8 8.4 (Berkeley) 03/29/95 738461Smckusick.\" 850768Scael.Dd 950768Scael.Dt NFSD 8 1050768Scael.Os 1150768Scael.Sh NAME 1250768Scael.Nm nfsd 1350768Scael.Nd remote 1450768Scael.Tn NFS 1550768Scaelserver 1650768Scael.Sh SYNOPSIS 1750768Scael.Nm nfsd 1866237Sbostic.Op Fl rut 1966237Sbostic.Op Fl n Ar num_servers 2050768Scael.Sh DESCRIPTION 2150768Scael.Nm Nfsd 2239868Smckusickruns on a server machine to service 2350768Scael.Tn NFS 2439868Smckusickrequests from client machines. 2539868SmckusickAt least one 2650768Scael.Nm nfsd 2739868Smckusickmust be running for a machine to operate as a server. 2850768Scael.Pp 2966237SbosticUnless otherwise specified, four servers for 3066237Sbostic.Tn UDP 3166237Sbostictransport are started. 3266237Sbostic.Pp 3366237SbosticThe following options are available: 3450768Scael.Bl -tag -width Ds 3550768Scael.It Fl r 3650768ScaelRegister the 3750768Scael.Tn NFS 3850768Scaelservice with 3950768Scael.Xr portmap 8 4066237Sbosticwithout creating any servers. 4166237SbosticThis option can be used along with the 4250768Scael.Fl u 4350768Scaelor 4450768Scael.Fl t 4548408Skarelsoptions to re-register NFS if the portmap server is restarted. 4666237Sbostic.It Fl n 4766237SbosticSpecifies how many servers to create. 4850768Scael.It Fl t 4950768ScaelServe 5050768Scael.Tn TCP NFS 5150768Scaelclients. 5250768Scael.It Fl u 5350768ScaelServe 5450768Scael.Tn UDP NFS 5550768Scaelclients. 5650768Scael.El 5750768Scael.Pp 5866237SbosticFor example, 5966237Sbostic.Dq Li "nfsd -u -t 6" 6066237Sbosticserves 6150768Scael.Tn UDP 6250768Scaeland 6350768Scael.Tn TCP 6466237Sbostictransports using six daemons. 6550768Scael.Pp 6666237SbosticA server should run enough daemons to handle 6741920Smckusickthe maximum level of concurrency from its clients, 6841920Smckusicktypically four to six. 6950768Scael.Pp 7050768Scael.Nm Nfsd 7138461Smckusicklistens for service requests at the port indicated in the 7250768Scael.Tn NFS 7338461Smckusickserver specification; see 7450768Scael.%T "Network File System Protocol Specification" , 75*68647SmckusickRFC1094 and 76*68647Smckusick.%T "NFS: Network File System Version 3 Protocol Specification" . 7766237Sbostic.Pp 7866237SbosticThe 7966237Sbostic.Nm nfsd 8066237Sbosticutility exits 0 on success, and >0 if an error occurs. 8150768Scael.Sh SEE ALSO 8250768Scael.Xr nfsstat 1 , 8350768Scael.Xr nfssvc 2 , 8450768Scael.Xr mountd 8 , 8550768Scael.Xr portmap 8 8650768Scael.Sh HISTORY 8750768ScaelThe 8862946Sbostic.Nm nfsd 8962946Sbosticutility first appeared in 4.4BSD. 90