source: networking/netprogs/nfs-utils.xml@ 7e24b60

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 7e24b60 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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