xref: /freebsd/sbin/nfsiod/nfsiod.8 (revision 0b294a386d34f6584848ed52407687df7ae59861)
1.\" Copyright (c) 1989, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" 3. Neither the name of the University nor the names of its contributors
13.\"    may be used to endorse or promote products derived from this software
14.\"    without specific prior written permission.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\"     From: @(#)nfsiod.8	8.2 (Berkeley) 2/22/94
29.\"
30.Dd December 26, 2009
31.Dt NFSIOD 8
32.Os
33.Sh NAME
34.Nm nfsiod
35.Nd local
36.Tn NFS
37asynchronous I/O server
38.Sh SYNOPSIS
39.Nm
40.Op Fl n Ar num_servers
41.Sh DESCRIPTION
42The
43.Nm
44utility controls the maximum number of
45.Nm
46kernel processes which run on an
47.Tn NFS
48client machine to service asynchronous I/O requests to its server.
49Having
50.Nm
51kernel processes
52improves performance but is not required for correct operation.
53.Pp
54The option is as follows:
55.Bl -tag -width indent
56.It Fl n
57Specify how many processes are permitted to be started.
58.El
59.Pp
60Without an option,
61.Nm
62displays the current settings.
63A client should allow enough number of processes to handle its maximum
64level of concurrency, typically four to six.
65.Pp
66If
67.Nm
68detects that the running kernel does not include
69.Tn NFS
70support, it will attempt to load a kernel module containing
71.Tn NFS
72code, using
73.Xr kldload 2 .
74If this fails, or no
75.Tn NFS
76module was available,
77.Nm
78exits with an error.
79.Sh EXIT STATUS
80.Ex -std
81.Sh SEE ALSO
82.Xr nfsstat 1 ,
83.Xr kldload 2 ,
84.Xr nfssvc 2 ,
85.Xr mountd 8 ,
86.Xr nfsd 8 ,
87.Xr rpcbind 8
88.Sh HISTORY
89The
90.Nm
91utility first appeared in
92.Bx 4.4 .
93.Pp
94Starting with
95.Fx 5.0 ,
96the utility no longer starts daemons, but only serves as a vfs
97loader and
98.Xr sysctl 3
99wrapper.
100