source: networking/netprogs/nfs-utils.xml@ 4c24eb0a

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4c24eb0a was 4c24eb0a, checked in by Pierre Labastie <pieere@…>, 3 years ago

Remove period at the end of short descriptions.
In the process, some attributes in single quotes have been changed to double
quotes, and a few attribute lists have been written on one line instead of
several lines.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24236 af4574ff-66df-0310-9fd7-8a98e5e911e0

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