source: networking/netprogs/nfs-utils.xml@ 995d8944

lazarus trunk
Last change on this file since 995d8944 was 133eab2, checked in by Bruce Dubbs <bdubbs@…>, 5 months ago

Initial LFS 12.1 tags

  • Property mode set to 100644
File size: 24.4 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[d47e7ea9]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[2bcb24e]7 <!ENTITY nfs-utils-root "&kernel-dl;/linux/utils/nfs-utils" >
8 <!ENTITY nfs-utils-download-http "&nfs-utils-root;/&nfs-utils-version;/nfs-utils-&nfs-utils-version;.tar.xz">
[8070b391]9 <!ENTITY nfs-utils-download-ftp " ">
[48b6fef]10 <!ENTITY nfs-utils-md5sum "907f95977ccf7a522ee32af1534f0e4c">
[306a1a2]11 <!ENTITY nfs-utils-size "712 KB">
[48b6fef]12 <!ENTITY nfs-utils-buildsize "18 MB (with tests)">
[306a1a2]13 <!ENTITY nfs-utils-time "0.2 SBU (with tests)">
[d47e7ea9]14]>
15
[f8af105]16<sect1 id="nfs-utils" xreflabel="nfs-utils-&nfs-utils-version;">
[b86cfc2]17 <?dbhtml filename="nfs-utils.html"?>
18
19
[f8af105]20 <title>NFS-Utils-&nfs-utils-version;</title>
[b86cfc2]21
22 <indexterm zone="nfs-utils">
23 <primary sortas="a-Nfs-utils">NFS Utilities</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to NFS Utilities</title>
28
[b51fe6e]29 <para>
30 The <application>NFS Utilities</application> package contains the
31 userspace server and client tools necessary to use the kernel's NFS
32 abilities. NFS is a protocol that allows sharing file systems over the
33 network.
34 </para>
[b86cfc2]35
[133eab2]36 &lfs121_checked;
[d40e1a4]37
[08fa483]38 <bridgehead renderas="sect3">Package Information</bridgehead>
[b86cfc2]39 <itemizedlist spacing='compact'>
40 <listitem>
[b51fe6e]41 <para>
42 Download (HTTP): <ulink url="&nfs-utils-download-http;"/>
43 </para>
[b86cfc2]44 </listitem>
45 <listitem>
[b51fe6e]46 <para>
47 Download (FTP): <ulink url="&nfs-utils-download-ftp;"/>
48 </para>
[b86cfc2]49 </listitem>
50 <listitem>
[b51fe6e]51 <para>
52 Download MD5 sum: &nfs-utils-md5sum;
53 </para>
[b86cfc2]54 </listitem>
55 <listitem>
[b51fe6e]56 <para>
57 Download size: &nfs-utils-size;
58 </para>
[b86cfc2]59 </listitem>
60 <listitem>
[b51fe6e]61 <para>
62 Estimated disk space required: &nfs-utils-buildsize;
63 </para>
[b86cfc2]64 </listitem>
65 <listitem>
[b51fe6e]66 <para>
67 Estimated build time: &nfs-utils-time;
68 </para>
[b86cfc2]69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">NFS Utilities Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
[ed6a289c]75 <para role="required">
[306a1a2]76 <xref linkend="libtirpc"/>,
[e440af5]77 <xref linkend="libevent"/>,
[306a1a2]78 <xref linkend="rpcsvc-proto"/>, and
79 <xref linkend="sqlite"/>
[ed6a289c]80 </para>
[06eb274]81
[b163480]82 <bridgehead renderas="sect4">Optional</bridgehead>
[ed6a289c]83 <para role="optional">
[758f3f6]84 <xref linkend="cyrus-sasl"/> (for SASL authentication),
[a15d5e1]85 <xref linkend="lvm2"/> (libdevmapper for NFSv4 support),
[1b2b8eb2]86 <!--<xref linkend="libnfsidmap"/> (for NFSv4 support),
87 This is now built in, as of 2.2.1-->
[a15d5e1]88 <xref linkend="libnsl"/> (for NIS client support),
[758f3f6]89 <xref linkend="openldap"/> (for LDAP authentication),
[ed6a289c]90 <xref linkend="mitkrb"/> or
[b51fe6e]91 <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">
92 libgssapi
93 </ulink>, and
94 <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">
95 librpcsecgss
96 </ulink> (for GSS and RPC security support), and
[56605b9]97 <xref linkend="libcap-pam"/>
[ed6a289c]98 </para>
[0f10bc0]99
[b163480]100 <bridgehead renderas="sect4">Required (runtime)</bridgehead>
101 <para role="required">
[45029cb]102 <xref role="runtime" linkend="rpcbind"/>
[ed6a289c]103 </para>
[b86cfc2]104
[a15d5e1]105<!-- NSS configuration isn't directly related to NFS, but left here in case
106 <bridgehead renderas="sect4">Optional (runtime for NIS clients)</bridgehead>
107 <para role="optional">
108 <ulink url="https://github.com/thkukuk/libnss_compat">libnss_compat</ulink>,
[8558044]109 <ulink url="https://github.com/thkukuk/libnss_nis">libnss_nis</ulink>, and
[a15d5e1]110 <ulink url="https://github.com/thkukuk/libnss_nisplus">libnss_nisplus</ulink>
111 </para>
112-->
113
[b86cfc2]114 </sect2>
115
116 <sect2 role="kernel" id='nfs-utils-kernel'>
117 <title>Kernel Configuration</title>
118
[b51fe6e]119 <para>
120 Enable the following options in the kernel configuration
121 (choose client and/or server support as appropriate) and recompile the
122 kernel if necessary:
123 </para>
[d47e7ea9]124
[0add366]125 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
126 href="nfs-utils-kernel.xml"/>
[d47e7ea9]127
[b51fe6e]128 <para>
129 Select the appropriate sub-options that appear when the above options
130 are selected.
131 </para>
[b86cfc2]132
[d2df2ce]133 <note>
134 <para>
135 In BLFS we assume that nfs v3 will be used. If the
136 <emphasis>server</emphasis> offers nfs v4 (for linux, CONFIG_NFSD_V4)
137 then auto-negotiation for v3 will fail and you will need to add
138 <literal>nfsver=3</literal> to the mount options. This also applies
139 if that option is enabled in the <emphasis>client's</emphasis> kernel,
140 for example in a distro trying to mount from a BLFS v3 server.
141 </para>
[1f4c3f9f]142 <para>
143 Even if neither end of the connection supports nfs v4, adding
144 <literal>nfsver=3</literal> is still beneficial because it prevents an
145 error message "NFS: bad mount option value specified: minorversion=1"
146 being logged on every mount.
147 </para>
[d2df2ce]148 </note>
149
[b86cfc2]150 <indexterm zone="nfs-utils nfs-utils-kernel">
151 <primary sortas="d-nfs-utils">NFS Utilities</primary>
152 </indexterm>
[d47e7ea9]153
[b86cfc2]154 </sect2>
[d47e7ea9]155
[e20c8110]156 <sect2 role="installation" id='nfs-utils-install'
157 xreflabel='NFS Utilities Installation'>
[b86cfc2]158 <title>Installation of NFS Utilities</title>
[2384999]159<!--
[b51fe6e]160 <para>
161 Before you compile the program, ensure that the <systemitem
162 class="username">nobody</systemitem> user and <systemitem
163 class="groupname">nogroup</systemitem> group have been created as done in
164 the current LFS book. You can add them by running the following commands
165 as the <systemitem class="username">root</systemitem> user:
166 </para>
[a16cb066]167
[8c2155e]168<screen role="nodump"><userinput>groupadd -g 99 nogroup &amp;&amp;
[0dfb754]169useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
170 -s /bin/false -u 99 nobody</userinput></screen>
[d47e7ea9]171
[b86cfc2]172 <note>
[b51fe6e]173 <para>
174 The classic uid and gid values are 65534 which is also -2 when
175 interpreted as a signed 16-bit number. These values impact other files
176 on some filesystems that do not have support for sparse files. The
177 <systemitem class="username">nobody</systemitem> and <systemitem
178 class="groupname">nogroup</systemitem> values are relatively arbitrary.
179 The impact on a server is nil if the <filename>exports</filename> file
180 is configured correctly. If it is misconfigured, an
181 <command>ls -l</command> or <command>ps</command> listing will show a
182 uid or gid number of 65534 instead of a name. The client uses
183 <systemitem class="username">nobody</systemitem> only as the user
184 running <command>rpc.statd</command>.
185 </para>
[b86cfc2]186 </note>
[2384999]187-->
[b51fe6e]188 <para>
189 Install <application>NFS Utilities</application> by running
190 the following commands:
191 </para>
[d47e7ea9]192
[7abed3b]193<screen><userinput>./configure --prefix=/usr \
[37441de]194 --sysconfdir=/etc \
[6ef71d2f]195 --sbindir=/usr/sbin \
[37441de]196 --disable-nfsv4 \
[0a356286]197 --disable-gss \
[306a1a2]198 LIBS="-lsqlite3 -levent_core" &amp;&amp;
[a16cb066]199make</userinput></screen>
200
[1f4c3f9f]201 <!-- Test breakage: see
[e440af5]202 http://lists.linuxfromscratch.org/pipermail/blfs-book/2017-December/071861.html
[b51fe6e]203 <para>
204 This package does not come with a working test suite.
205 </para>
[306a1a2]206 -->
[1f4c3f9f]207
[b51fe6e]208 <para>
[306a1a2]209 Now, as the &root; user:
[b51fe6e]210 </para>
[d47e7ea9]211
[b163480]212<!-- dev note: make statduser=$(whoami) DESTDIR=<DESTDIR> install -->
213
[306a1a2]214<screen role='root'><userinput>make install &amp;&amp;
215chmod u+w,go+r /usr/sbin/mount.nfs &amp;&amp;
216chown nobody:nogroup /var/lib/nfs</userinput></screen>
[e20c8110]217
[b51fe6e]218 <para>
[306a1a2]219 The tests for this package require that the package be installed.
[e440af5]220 In addition, the rpc.statd daemon must not be running and the tests
[306a1a2]221 need to be run as the &root; user.
[b51fe6e]222 </para>
[f3429309]223
[b51fe6e]224 <para>
[bc7af21]225 To test the results, issue, as &root;:
[306a1a2]226 </para>
[ce386957]227
[bc7af21]228<screen role="root" remap="test"><userinput>make check</userinput></screen>
229
[b86cfc2]230 </sect2>
[d47e7ea9]231
[b86cfc2]232 <sect2 role="commands">
233 <title>Command Explanations</title>
[7abed3b]234<!--
[b51fe6e]235 <para>
[8558044]236 <command>sed ... support/nsm/rpc.c</command>: This sed it required
[b51fe6e]237 to fix a build issue with glibc-2.26 and later.
238 </para>
[1b2b8eb2]239
[b51fe6e]240 <para>
[1b2b8eb2]241 <parameter>- -disable-nfsv4</parameter>: This allows the package to be
[b51fe6e]242 built when libnfsidmap has not been installed.
243 </para>
[1b2b8eb2]244 nfs-utils now carries libnfsidmap
245-->
[b51fe6e]246 <para>
247 <parameter>--disable-gss</parameter>: Disables support for
248 RPCSEC GSS (RPC Security).
249 </para>
[a16cb066]250
[b51fe6e]251 <para>
[e440af5]252 <parameter>LIBS="-lsqlite3 -levent_core"</parameter>: is required for
[306a1a2]253 the fsidd program.
254 </para>
255
256 <para>
257 <command>chown nobody:nogroup /var/lib/nfs</command>: The
[8558044]258 rpc.statd program uses the ownership of this directory to set
[b51fe6e]259 it's UID and GID. This command sets those to unprivileged entries.
[a1b111f8]260 </para>
261
[b86cfc2]262 </sect2>
[a16cb066]263
[b86cfc2]264 <sect2 role="configuration">
265 <title>Configuring NFS Utilities</title>
[d47e7ea9]266
[b86cfc2]267 <sect3 id='nfs-utils-server-config'>
[3a929dc]268 <title>Server Configuration</title>
[d47e7ea9]269
[b51fe6e]270 <para>
271 <filename>/etc/exports</filename> contains the exported directories
272 on NFS servers. Refer to the <filename>exports.5</filename> manual page
273 for the syntax of this file. Also refer to the "NFS HowTo" available at
[17aa21c]274 <ulink url="https://nfs.sourceforge.net/nfs-howto/"/> for information on
[b51fe6e]275 how to configure the servers and clients in a secure manner. For
276 example, for sharing the <filename class="directory">/home</filename>
277 directory over the local network, the following line may be added:
278 </para>
[d47e7ea9]279
[fbbc908]280<screen role="nodump"><userinput>cat &gt;&gt; /etc/exports &lt;&lt; EOF
281<replaceable>/home 192.168.0.0/24</replaceable>(rw,subtree_check,anonuid=99,anongid=99)
282EOF</userinput></screen>
[01155b9]283
[b51fe6e]284 <note>
285 <para>
286 Be sure to replace the directory, network address. and prefix above
287 to match your network. The only space in the line above should be
288 between the directory and the network address.
289 </para>
290 </note>
[d47e7ea9]291
[b86cfc2]292 <indexterm zone="nfs-utils nfs-utils-server-config">
293 <primary sortas="e-etc-exportfs">/etc/exportfs</primary>
294 </indexterm>
295
[e20c8110]296 <sect4 id="nfs-utils-server-init">
[7b478500]297 <title><phrase revision="sysv">Boot Script</phrase>
298 <phrase revision="systemd">Systemd Units</phrase></title>
299
[b51fe6e]300 <para>
301 Install the
302 <phrase revision="sysv">
303 <filename>/etc/rc.d/init.d/nfs-server</filename>
304 init script
305 </phrase>
306 <phrase revision="systemd">NFSv4 server units</phrase>
307 included in the <xref linkend="bootscripts" revision="sysv"/>
308 <xref linkend="systemd-units" revision="systemd"/> package
309 to start the server at boot.
310 </para>
[d47e7ea9]311
[7b478500]312<screen role="root" revision="systemd"><userinput>make install-nfsv4-server</userinput></screen>
313
314 <para revision="systemd">
315 If you have disabled NFSv4 support, run the following command as the
316 <systemitem class="username">root</systemitem> user to omit the NFSv4
317 specific systemd units:
318 </para>
319
320<!-- both -->
[eaf6a1cd]321<screen role="root"><userinput>make install-nfs-server</userinput></screen>
[d47e7ea9]322
[7b478500]323 <indexterm zone="nfs-utils nfs-utils-server-init" revision="sysv">
[b86cfc2]324 <primary sortas="f-nfs-server">nfs-server</primary>
325 </indexterm>
326
[b51fe6e]327 <para revision="sysv">
328 Now create the
[7b478500]329 <filename>/etc/sysconfig/nfs-server</filename> configuration file:
330 </para>
[f5e4bdec]331
[7b478500]332<screen role="root" revision="sysv"><userinput>cat &gt; /etc/sysconfig/nfs-server &lt;&lt; "EOF"
[eaf6a1cd]333<literal>PORT="2049"
[f5e4bdec]334PROCESSES="8"
[eaf6a1cd]335KILLDELAY="10"</literal>
336EOF</userinput></screen>
[f5e4bdec]337
[7b478500]338 <note revision="sysv">
[b51fe6e]339 <para>
340 The above parameters may be optionally placed in
[7b478500]341 <filename>/etc/sysconfig/rc.site</filename>.
342 </para>
343 </note>
[ed6a289c]344
[7b478500]345 <indexterm zone="nfs-utils nfs-utils-server-init" revision="sysv">
[b86cfc2]346 <primary
347 sortas="e-etc-sysconfig-nfs-server">/etc/sysconfig/nfs-server</primary>
348 </indexterm>
349
[7b478500]350 <para revision="systemd">
351 You can edit the <filename>/etc/default/nfs-utils</filename>
352 file to change the startup options for NFS daemons. Defaults
353 should be fine for most use cases.
354 </para>
355
356 <indexterm zone="nfs-utils nfs-utils-server-init" revision="systemd">
357 <primary sortas="e-etc-default-nfs-utils">/etc/default/nfs-utils</primary>
358 </indexterm>
359
[b86cfc2]360 </sect4>
[d47e7ea9]361
[b86cfc2]362 </sect3>
[d47e7ea9]363
[b86cfc2]364 <sect3 id='nfs-utils-client-config'>
[3a929dc]365 <title>Client Configuration</title>
[eaf6a1cd]366
[b51fe6e]367 <para>
368 <filename>/etc/fstab</filename> contains the directories that
369 are to be mounted on the client. Alternately the partitions can be
370 mounted by using the <command>mount</command> command with the proper
371 options. To mount the <filename class="directory">/home</filename>
372 and <filename class="directory">/usr</filename> partitions, add the
373 following to the <filename>/etc/fstab</filename>:
374 </para>
[a16cb066]375
[fccfaa4]376<screen role="nodump"><userinput><replaceable>&lt;server-name&gt;</replaceable>:/home /home nfs rw,_netdev 0 0
[0d1cbe66]377<replaceable>&lt;server-name&gt;</replaceable>:/usr /usr nfs ro,_netdev 0 0</userinput></screen>
378
[b51fe6e]379 <para>
380 The options which can be used are specified in <command>man 5 nfs
381 </command>. If both the client and server are running recent versions
382 of linux, most of the options will be negotiated (but see the Note
383 above on nfsver=3). You can specify either <literal>rw</literal> or
384 <literal>ro</literal>, <literal>_netdev</literal> if the filesystem is
385 to be automatically mounted at boot, or <literal>noauto</literal> (and
386 perhaps <literal>user</literal>) for other filesystems.
387 </para>
[0d1cbe66]388
[b51fe6e]389 <para>
390 If the fileserver is not running a recent version of linux, you may
[0a0e996]391 need to specify other options.
[b51fe6e]392 </para>
[0d1cbe66]393
[b51fe6e]394 <para revision="systemd">
395 You may need to enable autofs v4 in your kernel, and add the option
[758f3f6]396 <literal>comment=systemd.automount</literal>. Some machines may need
397 this because systemd tries to mount the external filesystems before
398 the network is up. An alternative is to run <command>mount -a</command>
399 as the <systemitem class="username">root</systemitem> user after the
400 system has started.
[b51fe6e]401 </para>
[a16cb066]402
[b86cfc2]403 <indexterm zone="nfs-utils nfs-utils-client-config">
404 <primary sortas="e-etc-fstab">/etc/fstab</primary>
405 </indexterm>
[d47e7ea9]406
[b86cfc2]407 <sect4 id="nfs-utils-client-init">
[7b478500]408 <title><phrase revision="sysv">Boot Script</phrase>
409 <phrase revision="systemd">Systemd Units</phrase></title>
410
411 <note>
412 <para>
413 The following <phrase revision="sysv">boot script is</phrase>
414 <phrase revision="systemd">systemd units are</phrase> not required
[8558044]415 if the nfs-server <phrase revision="sysv">script is</phrase>
[7b478500]416 <phrase revision="systemd">units are</phrase> installed.
417 </para>
418 </note>
419
[b51fe6e]420 <para>
421 Install the
422 <phrase revision="sysv">
423 <filename>/etc/rc.d/init.d/nfs-client</filename> init script
424 </phrase>
425 <phrase revision="systemd">units</phrase> included in the
426 <xref linkend="bootscripts" revision="sysv"/>
427 <xref linkend="systemd-units" revision="systemd"/> package to start
428 the client services at boot.
429 </para>
[a16cb066]430
[b86cfc2]431<screen role="root"><userinput>make install-nfs-client</userinput></screen>
[a16cb066]432
[b86cfc2]433 <indexterm zone="nfs-utils nfs-utils-client-config">
434 <primary sortas="f-nfs-client">nfs-client</primary>
435 </indexterm>
436
[b51fe6e]437 <para revision="sysv">
438 To automatically mount <systemitem class="filesystem">nfs
439 </systemitem> filesystems, clients will also need to install the
440 <filename>netfs</filename> bootscript as described in <xref
441 linkend="postlfs-config-netfs"/>.
442 </para>
[b86cfc2]443
[7b478500]444 <indexterm zone="nfs-utils nfs-utils-client-config" revision="sysv">
[b86cfc2]445 <primary sortas="f-netfs">netfs</primary>
446 </indexterm>
447
448 </sect4>
449
450 </sect3>
451
452 </sect2>
453
454 <sect2 role="content">
455 <title>Contents</title>
456 <segmentedlist>
457 <segtitle>Installed Programs</segtitle>
458 <segtitle>Installed Libraries</segtitle>
459 <segtitle>Installed Directories</segtitle>
460
461 <seglistitem>
[306a1a2]462 <seg>exportfs, fsidd, mountstats, mount.nfs, mount.nfs4 (link to mount.nfs),
[758f3f6]463 nfsconf, nfsdclnts, nfsiostat, nfsstat, rpc.mountd, rpc.nfsd, rpc.statd,
[8558044]464 rpcdebug, showmount, sm-notify, start-statd,
[758f3f6]465 umount.nfs (link to mount.nfs), and umount.nfs4 (link to mount.nfs)</seg>
[b86cfc2]466 <seg>None</seg>
467 <seg>/var/lib/nfs</seg>
468 </seglistitem>
469 </segmentedlist>
470
471 <variablelist>
472 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
473 <?dbfo list-presentation="list"?>
474 <?dbhtml list-presentation="table"?>
475
476 <varlistentry id="exportfs">
477 <term><command>exportfs</command></term>
478 <listitem>
[b51fe6e]479 <para>
[4c24eb0a]480 maintains a list of NFS exported file systems
[b51fe6e]481 </para>
[b86cfc2]482 <indexterm zone="nfs-utils exportfs">
483 <primary sortas="b-exportfs">exportfs</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
[306a1a2]488 <varlistentry id="fsidd">
489 <term><command>fsidd</command></term>
490 <listitem>
491 <para>
492 offers a local UNIX domain socket interface
493 for all NFS userspace to query the reexport database
494 </para>
495 <indexterm zone="nfs-utils fsidd">
496 <primary sortas="b-fsidd">fsidd</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500
[d40e1a4]501 <varlistentry id="mountstats">
502 <term><command>mountstats</command></term>
503 <listitem>
[b51fe6e]504 <para>
[4c24eb0a]505 displays NFS client per-mount statistics
[b51fe6e]506 </para>
[d40e1a4]507 <indexterm zone="nfs-utils mountstats">
508 <primary sortas="b-mountstats">mountstats</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
[6d772cc]513 <varlistentry id="mount.nfs">
[0f10bc0]514 <term><command>mount.nfs</command></term>
515 <listitem>
[b51fe6e]516 <para>
[4c24eb0a]517 is used to mount a network share using NFS
[b51fe6e]518 </para>
[6d772cc]519 <indexterm zone="nfs-utils mount.nfs">
520 <primary sortas="b-mount.nfs">mount.nfs</primary>
[0f10bc0]521 </indexterm>
522 </listitem>
523 </varlistentry>
524
[6d772cc]525 <varlistentry id="mount.nfs4">
[0f10bc0]526 <term><command>mount.nfs4</command></term>
527 <listitem>
[b51fe6e]528 <para>
[4c24eb0a]529 is used to mount a network share using NFSv4
[b51fe6e]530 </para>
[6d772cc]531 <indexterm zone="nfs-utils mount.nfs4">
532 <primary sortas="b-mount.nfs4">mount.nfs4</primary>
[0f10bc0]533 </indexterm>
534 </listitem>
535 </varlistentry>
536
[2bcb24e]537 <varlistentry id="nfsconf">
538 <term><command>nfsconf</command></term>
539 <listitem>
[b51fe6e]540 <para>
541 can be used to test for and retrieve configuration settings from
[4c24eb0a]542 a range of nfs-utils configuration files
[b51fe6e]543 </para>
[2bcb24e]544 <indexterm zone="nfs-utils nfsconf">
545 <primary sortas="b-nfsconf">nfsconf</primary>
546 </indexterm>
547 </listitem>
548 </varlistentry>
549
[758f3f6]550 <varlistentry id="nfsdclnts">
551 <term><command>nfsdclnts</command></term>
552 <listitem>
553 <para>
[4c24eb0a]554 prints information about NFS clients
[758f3f6]555 </para>
556 <indexterm zone="nfs-utils nfsdclnts">
557 <primary sortas="b-nfsdclnts">nfsdclnts</primary>
558 </indexterm>
559 </listitem>
560 </varlistentry>
561
[d40e1a4]562 <varlistentry id="nfsiostat-nfs-utils">
563 <term><command>nfsiostat</command></term>
564 <listitem>
[b51fe6e]565 <para>
[4c24eb0a]566 reports input/output statistics for network filesystems
[b51fe6e]567 </para>
[d40e1a4]568 <indexterm zone="nfs-utils nfsiostat-nfs-utils">
569 <primary sortas="b-nfsiostat-nfs-utils">nfsiostat</primary>
570 </indexterm>
571 </listitem>
572 </varlistentry>
573
[b86cfc2]574 <varlistentry id="nfsstat">
575 <term><command>nfsstat</command></term>
576 <listitem>
[b51fe6e]577 <para>
[4c24eb0a]578 displays statistics kept about NFS client and server activity
[b51fe6e]579 </para>
[b86cfc2]580 <indexterm zone="nfs-utils nfsstat">
581 <primary sortas="b-nfsstat">nfsstat</primary>
582 </indexterm>
583 </listitem>
584 </varlistentry>
585
[2bcb24e]586<!-- osd_login seems to no longer exist.
[72d90b67]587 <varlistentry id="osd_login">
[8b9ad6e]588 <term><command>osd_login</command></term>
[72d90b67]589 <listitem>
[b51fe6e]590 <para>
591 is a script that is a part of the autologin feature
592 mandated by the pnfs-objects standard.
593 </para>
[72d90b67]594 <indexterm zone="nfs-utils osd_login">
595 <primary sortas="b-osd_login">osd_login</primary>
596 </indexterm>
597 </listitem>
[2bcb24e]598 </varlistentry> -->
[72d90b67]599
600
[6d772cc]601 <varlistentry id="rpc.mountd">
[b86cfc2]602 <term><command>rpc.mountd</command></term>
603 <listitem>
[b51fe6e]604 <para>
[4c24eb0a]605 implements the NFS mount protocol on an NFS server
[b51fe6e]606 </para>
[6d772cc]607 <indexterm zone="nfs-utils rpc.mountd">
608 <primary sortas="b-rpc.mountd">rpc.mountd</primary>
[b86cfc2]609 </indexterm>
610 </listitem>
611 </varlistentry>
612
[6d772cc]613 <varlistentry id="rpc.nfsd">
[b86cfc2]614 <term><command>rpc.nfsd</command></term>
615 <listitem>
[b51fe6e]616 <para>
617 implements the user level part of the NFS
[4c24eb0a]618 service on the server
[b51fe6e]619 </para>
[6d772cc]620 <indexterm zone="nfs-utils rpc.nfsd">
621 <primary sortas="b-rpc.nfsd">rpc.nfsd</primary>
[b86cfc2]622 </indexterm>
623 </listitem>
624 </varlistentry>
625
[6d772cc]626 <varlistentry id="rpc.statd">
[b86cfc2]627 <term><command>rpc.statd</command></term>
628 <listitem>
[b51fe6e]629 <para>
630 is used by the NFS file locking service. Run on both sides,
[4c24eb0a]631 client as well as server, when you want file locking enabled
[b51fe6e]632 </para>
[6d772cc]633 <indexterm zone="nfs-utils rpc.statd">
634 <primary sortas="b-rpc.statd">rpc.statd</primary>
[b86cfc2]635 </indexterm>
636 </listitem>
637 </varlistentry>
638
[d3761424]639 <varlistentry id="rpcdebug">
640 <term><command>rpcdebug</command></term>
641 <listitem>
[b51fe6e]642 <para>
[4c24eb0a]643 sets or clears the kernel's NFS client and server debug flags
[b51fe6e]644 </para>
[d3761424]645 <indexterm zone="nfs-utils rpcdebug">
646 <primary sortas="b-rpcdebug">rpcdebug</primary>
647 </indexterm>
648 </listitem>
649 </varlistentry>
650
[b86cfc2]651 <varlistentry id="showmount">
652 <term><command>showmount</command></term>
653 <listitem>
[b51fe6e]654 <para>
[4c24eb0a]655 displays mount information for an NFS server
[b51fe6e]656 </para>
[b86cfc2]657 <indexterm zone="nfs-utils showmount">
658 <primary sortas="b-showmount">showmount</primary>
659 </indexterm>
660 </listitem>
661 </varlistentry>
662
[d3761424]663 <varlistentry id="sm-notify">
664 <term><command>sm-notify</command></term>
665 <listitem>
[b51fe6e]666 <para>
[4c24eb0a]667 is used to send Network Status Monitor reboot messages
[b51fe6e]668 </para>
[d3761424]669 <indexterm zone="nfs-utils sm-notify">
670 <primary sortas="b-sm-notify">sm-notify</primary>
671 </indexterm>
672 </listitem>
673 </varlistentry>
674
675 <varlistentry id="start-statd">
676 <term><command>start-statd</command></term>
677 <listitem>
[b51fe6e]678 <para>
679 is a script called by nfsmount when mounting a filesystem with
680 locking enabled, if statd does not appear to be running. It can be
[4c24eb0a]681 customised with whatever flags are appropriate for the site
[b51fe6e]682 </para>
[d3761424]683 <indexterm zone="nfs-utils start-statd">
684 <primary sortas="b-start-statd">start-statd</primary>
685 </indexterm>
686 </listitem>
687 </varlistentry>
688
[6d772cc]689 <varlistentry id="umount.nfs">
[0f10bc0]690 <term><command>umount.nfs</command></term>
691 <listitem>
[b51fe6e]692 <para>
[4c24eb0a]693 is used to unmount a network share using NFS
[b51fe6e]694 </para>
[6d772cc]695 <indexterm zone="nfs-utils umount.nfs">
696 <primary sortas="b-umount.nfs">umount.nfs</primary>
[0f10bc0]697 </indexterm>
698 </listitem>
699 </varlistentry>
700
[6d772cc]701 <varlistentry id="umount.nfs4">
[0f10bc0]702 <term><command>umount.nfs4</command></term>
703 <listitem>
[b51fe6e]704 <para>
[4c24eb0a]705 is used to unmount a network share using NFSv4
[b51fe6e]706 </para>
[6d772cc]707 <indexterm zone="nfs-utils umount.nfs4">
708 <primary sortas="b-umount.nfs4">umount.nfs4</primary>
[0f10bc0]709 </indexterm>
710 </listitem>
711 </varlistentry>
712
[b86cfc2]713 </variablelist>
714
715 </sect2>
[d47e7ea9]716
[176b211]717</sect1>
Note: See TracBrowser for help on using the repository browser.