[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 |
|
---|
[8e82479] | 7 | <!ENTITY nfs-utils-download-http "&sourceforge-repo;/nfs/nfs-utils-&nfs-utils-version;.tar.bz2">
|
---|
[8070b391] | 8 | <!ENTITY nfs-utils-download-ftp " ">
|
---|
[f87a1fd] | 9 | <!ENTITY nfs-utils-md5sum "97f157f954edb6d4d4385a0c5986f36f">
|
---|
| 10 | <!ENTITY nfs-utils-size "768 KB">
|
---|
| 11 | <!ENTITY nfs-utils-buildsize "20 MB">
|
---|
[c7328ac] | 12 | <!ENTITY nfs-utils-time "0.2 SBU">
|
---|
[d47e7ea9] | 13 | ]>
|
---|
| 14 |
|
---|
[f8af105] | 15 | <sect1 id="nfs-utils" xreflabel="nfs-utils-&nfs-utils-version;">
|
---|
[b86cfc2] | 16 | <?dbhtml filename="nfs-utils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[f8af105] | 23 | <title>NFS-Utils-&nfs-utils-version;</title>
|
---|
[b86cfc2] | 24 |
|
---|
| 25 | <indexterm zone="nfs-utils">
|
---|
| 26 | <primary sortas="a-Nfs-utils">NFS Utilities</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to NFS Utilities</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>NFS Utilities</application> package contains the
|
---|
[e20c8110] | 33 | userspace server and client tools necessary to use the kernel's NFS
|
---|
[b86cfc2] | 34 | abilities. NFS is a protocol that allows sharing file systems over the
|
---|
| 35 | network.</para>
|
---|
| 36 |
|
---|
[3bdfdc61] | 37 | &lfs76_checked;
|
---|
[d40e1a4] | 38 |
|
---|
[08fa4835] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[b86cfc2] | 40 | <itemizedlist spacing='compact'>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&nfs-utils-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&nfs-utils-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &nfs-utils-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &nfs-utils-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &nfs-utils-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &nfs-utils-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">NFS Utilities Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[ed6a289c] | 64 | <para role="required">
|
---|
[b163480] | 65 | <xref linkend="libtirpc"/>
|
---|
[ed6a289c] | 66 | </para>
|
---|
[06eb274] | 67 |
|
---|
[b163480] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[ed6a289c] | 69 | <para role="optional">
|
---|
[37441de] | 70 | <xref linkend="libevent"/>,
|
---|
[b163480] | 71 | <xref linkend="sqlite"/> and
|
---|
| 72 | <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">libnfsidmap</ulink> (for NFSv4 support),
|
---|
[ed6a289c] | 73 | <xref linkend="mitkrb"/> or
|
---|
| 74 | <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">libgssapi</ulink>, and
|
---|
[61849670] | 75 | <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">librpcsecgss</ulink> (for GSS and RPC security support)
|
---|
[ed6a289c] | 76 | </para>
|
---|
[0f10bc0] | 77 |
|
---|
[b163480] | 78 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
| 79 | <para role="required">
|
---|
[cca69d7] | 80 | <xref linkend="rpcbind"/>
|
---|
[ed6a289c] | 81 | </para>
|
---|
[b86cfc2] | 82 |
|
---|
[3cb0c57] | 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/nfs-utils"/></para>
|
---|
| 85 |
|
---|
[b86cfc2] | 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="kernel" id='nfs-utils-kernel'>
|
---|
| 89 | <title>Kernel Configuration</title>
|
---|
| 90 |
|
---|
| 91 | <para>Enable the following options in the kernel configuration
|
---|
[bfb7882] | 92 | and recompile the kernel if necessary:</para>
|
---|
[d47e7ea9] | 93 |
|
---|
[b163480] | 94 | <screen><literal>File systems --->
|
---|
| 95 | Network File Systems --->
|
---|
| 96 | NFS client support: Y or M
|
---|
| 97 | NFS server support: Y or M</literal></screen>
|
---|
[d47e7ea9] | 98 |
|
---|
[b86cfc2] | 99 | <para>Select the appropriate sub-options that appear when the above options
|
---|
| 100 | are selected.</para>
|
---|
| 101 |
|
---|
| 102 | <indexterm zone="nfs-utils nfs-utils-kernel">
|
---|
| 103 | <primary sortas="d-nfs-utils">NFS Utilities</primary>
|
---|
| 104 | </indexterm>
|
---|
[d47e7ea9] | 105 |
|
---|
[b86cfc2] | 106 | </sect2>
|
---|
[d47e7ea9] | 107 |
|
---|
[e20c8110] | 108 | <sect2 role="installation" id='nfs-utils-install'
|
---|
| 109 | xreflabel='NFS Utilities Installation'>
|
---|
[b86cfc2] | 110 | <title>Installation of NFS Utilities</title>
|
---|
[d47e7ea9] | 111 |
|
---|
[e20c8110] | 112 | <para>Before you compile the program, ensure that the
|
---|
[b86cfc2] | 113 | <systemitem class="username">nobody</systemitem> user and
|
---|
[e20c8110] | 114 | <systemitem class="groupname">nogroup</systemitem> group have been
|
---|
| 115 | created. You can add them by running the following commands as the
|
---|
[b86cfc2] | 116 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[a16cb066] | 117 |
|
---|
[eaf6a1cd] | 118 | <screen role="root"><userinput>groupadd -g 99 nogroup &&
|
---|
[0dfb754] | 119 | useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
|
---|
| 120 | -s /bin/false -u 99 nobody</userinput></screen>
|
---|
[d47e7ea9] | 121 |
|
---|
[b86cfc2] | 122 | <note>
|
---|
| 123 | <para>The classic uid and gid values are 65534 which is also -2 when
|
---|
[17b7723] | 124 | interpreted as a signed 16-bit number. These values impact other files
|
---|
| 125 | on some filesystems that do not have support for sparse files. The
|
---|
[b86cfc2] | 126 | <systemitem class="username">nobody</systemitem> and <systemitem
|
---|
[17b7723] | 127 | class="groupname">nogroup</systemitem> values are relatively arbitrary.
|
---|
[e20c8110] | 128 | The impact on a server is nil if the <filename>exports</filename> file
|
---|
| 129 | is configured correctly. If it is misconfigured, an
|
---|
| 130 | <command>ls -l</command> or <command>ps</command> listing will show a
|
---|
| 131 | uid or gid number of 65534 instead of a name. The client uses <systemitem
|
---|
[b86cfc2] | 132 | class="username">nobody</systemitem> only as the user running
|
---|
| 133 | <command>rpc.statd</command>.</para>
|
---|
| 134 | </note>
|
---|
| 135 |
|
---|
| 136 | <para>Install <application>NFS Utilities</application> by running
|
---|
| 137 | the following commands:</para>
|
---|
[d47e7ea9] | 138 |
|
---|
[c905f1d] | 139 | <screen><userinput>./configure --prefix=/usr \
|
---|
[37441de] | 140 | --sysconfdir=/etc \
|
---|
| 141 | --without-tcp-wrappers \
|
---|
| 142 | --disable-nfsv4 \
|
---|
| 143 | --disable-gss &&
|
---|
[a16cb066] | 144 | make</userinput></screen>
|
---|
| 145 |
|
---|
[0f10bc0] | 146 | <para>If your <filename class="directory">/usr</filename> directory
|
---|
| 147 | is NFS mounted, you should install the executables in
|
---|
| 148 | <filename class="directory">/sbin</filename> by passing
|
---|
| 149 | an additional parameter <option>--sbindir=/sbin</option> to the
|
---|
| 150 | above <command>./configure</command> command.</para>
|
---|
| 151 |
|
---|
[6336840d] | 152 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[a16cb066] | 153 |
|
---|
[e20c8110] | 154 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[d47e7ea9] | 155 |
|
---|
[b163480] | 156 | <!-- dev note: make statduser=$(whoami) DESTDIR=<DESTDIR> install -->
|
---|
| 157 |
|
---|
[e20c8110] | 158 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
| 159 |
|
---|
[b86cfc2] | 160 | </sect2>
|
---|
[d47e7ea9] | 161 |
|
---|
[b86cfc2] | 162 | <sect2 role="commands">
|
---|
| 163 | <title>Command Explanations</title>
|
---|
[a16cb066] | 164 |
|
---|
[b163480] | 165 | <para><parameter>--without-tcp-wrappers</parameter>: This option is
|
---|
| 166 | needed because TCP Wrappers is not in BLFS.</para>
|
---|
| 167 |
|
---|
| 168 | <para><parameter>--disable-nfsv4</parameter>: Disables support
|
---|
| 169 | for NFS version 4.</para>
|
---|
[a16cb066] | 170 |
|
---|
[b86cfc2] | 171 | <para><parameter>--disable-gss</parameter>: Disables support for
|
---|
| 172 | RPCSEC GSS (RPC Security).</para>
|
---|
[a16cb066] | 173 |
|
---|
[b86cfc2] | 174 | </sect2>
|
---|
[a16cb066] | 175 |
|
---|
[b86cfc2] | 176 | <sect2 role="configuration">
|
---|
| 177 | <title>Configuring NFS Utilities</title>
|
---|
[d47e7ea9] | 178 |
|
---|
[b86cfc2] | 179 | <sect3 id='nfs-utils-server-config'>
|
---|
[3a929dc] | 180 | <title>Server Configuration</title>
|
---|
[d47e7ea9] | 181 |
|
---|
[b86cfc2] | 182 | <para><filename>/etc/exports</filename> contains the exported directories
|
---|
[e20c8110] | 183 | on NFS servers. Refer to the <filename>exports.5</filename> manual page
|
---|
| 184 | for the syntax of this file. Also refer to the "NFS HowTo" available at
|
---|
| 185 | <ulink url="http://nfs.sourceforge.net/nfs-howto/"/> for information on
|
---|
| 186 | how to configure the servers and clients in a secure manner. For example,
|
---|
| 187 | for sharing the <filename class="directory">/home</filename> directory
|
---|
| 188 | over the local network, the following line may be added:</para>
|
---|
[d47e7ea9] | 189 |
|
---|
[ed6a289c] | 190 | <screen role="root"><userinput>/home <replaceable><192.168.0.0/24></replaceable>(rw,subtree_check,anonuid=99,anongid=99)</userinput></screen>
|
---|
[d47e7ea9] | 191 |
|
---|
[b86cfc2] | 192 | <indexterm zone="nfs-utils nfs-utils-server-config">
|
---|
| 193 | <primary sortas="e-etc-exportfs">/etc/exportfs</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 |
|
---|
[e20c8110] | 196 | <sect4 id="nfs-utils-server-init">
|
---|
[932240d] | 197 | <title>Systemd Units</title>
|
---|
[a16cb066] | 198 |
|
---|
[932240d] | 199 | <para>
|
---|
[0da88ea3] | 200 | To start the NFS server daemons at boot,
|
---|
[932240d] | 201 | install the systemd units from the <xref linkend="bootscripts"/>
|
---|
| 202 | package by running the following command as the
|
---|
| 203 | <systemitem class="username">root</systemitem> user:
|
---|
| 204 | </para>
|
---|
[d47e7ea9] | 205 |
|
---|
[eaf6a1cd] | 206 | <screen role="root"><userinput>make install-nfs-server</userinput></screen>
|
---|
[d47e7ea9] | 207 |
|
---|
[b86cfc2] | 208 | <indexterm zone="nfs-utils nfs-utils-server-init">
|
---|
| 209 | <primary sortas="f-nfs-server">nfs-server</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 |
|
---|
[932240d] | 212 | <para>You can edit the <filename>/etc/default/nfs-utils</filename>
|
---|
| 213 | file to change the startup options for NFS daemons. Defaults should
|
---|
| 214 | be fine for most use cases.</para>
|
---|
[ed6a289c] | 215 |
|
---|
[b86cfc2] | 216 | <indexterm zone="nfs-utils nfs-utils-server-init">
|
---|
[932240d] | 217 | <primary sortas="e-etc-default-nfs-utils">/etc/default/nfs-utils</primary>
|
---|
[b86cfc2] | 218 | </indexterm>
|
---|
| 219 |
|
---|
| 220 | </sect4>
|
---|
[d47e7ea9] | 221 |
|
---|
[b86cfc2] | 222 | </sect3>
|
---|
[d47e7ea9] | 223 |
|
---|
[b86cfc2] | 224 | <sect3 id='nfs-utils-client-config'>
|
---|
[3a929dc] | 225 | <title>Client Configuration</title>
|
---|
[eaf6a1cd] | 226 |
|
---|
[b86cfc2] | 227 | <para><filename>/etc/fstab</filename> contains the directories that
|
---|
| 228 | are to be mounted on the client. Alternately the partitions can be
|
---|
| 229 | mounted by using the <command>mount</command> command with the proper
|
---|
| 230 | options. To mount the <filename class="directory">/home</filename>
|
---|
| 231 | and <filename class="directory">/usr</filename> partitions, add the
|
---|
| 232 | following to the <filename>/etc/fstab</filename>:</para>
|
---|
[a16cb066] | 233 |
|
---|
[0d1cbe66] | 234 | <screen role="root"><userinput><replaceable><server-name></replaceable>:/home /home nfs rw,_netdev 0 0
|
---|
| 235 | <replaceable><server-name></replaceable>:/usr /usr nfs ro,_netdev 0 0</userinput></screen>
|
---|
| 236 |
|
---|
| 237 | <para>The options which can be used are specified in <command>man 5 nfs</command>.
|
---|
| 238 | If both the client and server are running recent versions of linux, most of the
|
---|
| 239 | options will be negotiated. You can specify either <literal>rw</literal> or
|
---|
| 240 | <literal>ro</literal>, <literal>_netdev</literal> if the filesystem is to be
|
---|
| 241 | automatically mounted at boot, or <literal>noauto</literal> (and perhaps
|
---|
| 242 | <literal>user</literal>) for other filesystems.</para>
|
---|
| 243 |
|
---|
| 244 | <para>If the fileserver is not running a recent version of linux, you may need to
|
---|
| 245 | specifiy other options.</para>
|
---|
| 246 |
|
---|
| 247 | <para>If you are using systemd, you may need to enable autofs v4 in your kernel,
|
---|
| 248 | and add the option <literal>comment=systemd.automount</literal>. Some machines
|
---|
| 249 | need this, because systemd tries to mount the external fs's before the network
|
---|
| 250 | is up, others do not need it. An alternative is for <systemitem
|
---|
| 251 | class="username">root</systemitem> to run <command>mount -a</command>.</para>
|
---|
[a16cb066] | 252 |
|
---|
[b86cfc2] | 253 | <indexterm zone="nfs-utils nfs-utils-client-config">
|
---|
| 254 | <primary sortas="e-etc-fstab">/etc/fstab</primary>
|
---|
| 255 | </indexterm>
|
---|
[d47e7ea9] | 256 |
|
---|
[08fa4835] | 257 | <!-- /etc/netconfig is installed by libtirpc
|
---|
[b1477fe7] | 258 | <para>In some circumstances an <filename>/etc/netconfig</filename> file
|
---|
| 259 | is required by an nfs client. It does no harm to create one even if it
|
---|
| 260 | is not in fact needed. As the <systemitem class="username">root</systemitem>
|
---|
| 261 | user:</para>
|
---|
| 262 |
|
---|
| 263 | <screen role="root"><userinput>cat > /etc/netconfig << "EOF"
|
---|
| 264 | udp6 tpi_clts v inet6 udp - -
|
---|
| 265 | tcp6 tpi_cots_ord v inet6 tcp - -
|
---|
| 266 | udp tpi_clts v inet udp - -
|
---|
| 267 | tcp tpi_cots_ord v inet tcp - -
|
---|
| 268 | rawip tpi_raw - inet - - -
|
---|
| 269 | local tpi_cots_ord - loopback - - -
|
---|
| 270 | EOF</userinput></screen>
|
---|
| 271 |
|
---|
| 272 | <indexterm zone="nfs-utils nfs-utils-client-config">
|
---|
| 273 | <primary sortas="e-etc-netconfig">/etc/netconfig</primary>
|
---|
| 274 | </indexterm>
|
---|
[08fa4835] | 275 | -->
|
---|
[b1477fe7] | 276 |
|
---|
[b86cfc2] | 277 | <sect4 id="nfs-utils-client-init">
|
---|
[932240d] | 278 | <title>Systemd Units</title>
|
---|
[d47e7ea9] | 279 |
|
---|
[932240d] | 280 | <note><para>The following systemd unis are not required if the
|
---|
| 281 | nfs-server units were previously installed.</para></note>
|
---|
[ed6a289c] | 282 |
|
---|
[932240d] | 283 | <para>
|
---|
| 284 | To start the NFS client services at boot,
|
---|
| 285 | install the systemd units from the <xref linkend="bootscripts"/>
|
---|
| 286 | package by running the following command as the
|
---|
| 287 | <systemitem class="username">root</systemitem> user:
|
---|
| 288 | </para>
|
---|
[a16cb066] | 289 |
|
---|
[b86cfc2] | 290 | <screen role="root"><userinput>make install-nfs-client</userinput></screen>
|
---|
[a16cb066] | 291 |
|
---|
[b86cfc2] | 292 | <indexterm zone="nfs-utils nfs-utils-client-config">
|
---|
| 293 | <primary sortas="f-nfs-client">nfs-client</primary>
|
---|
| 294 | </indexterm>
|
---|
| 295 |
|
---|
| 296 | </sect4>
|
---|
| 297 |
|
---|
| 298 | </sect3>
|
---|
| 299 |
|
---|
| 300 | </sect2>
|
---|
| 301 |
|
---|
| 302 | <sect2 role="content">
|
---|
| 303 | <title>Contents</title>
|
---|
| 304 | <segmentedlist>
|
---|
| 305 | <segtitle>Installed Programs</segtitle>
|
---|
| 306 | <segtitle>Installed Libraries</segtitle>
|
---|
| 307 | <segtitle>Installed Directories</segtitle>
|
---|
| 308 |
|
---|
| 309 | <seglistitem>
|
---|
[06eb274] | 310 | <seg>exportfs, mountstats, mount.nfs, mount.nfs4 (link to mount.nfs),
|
---|
[b163480] | 311 | nfsiostat, nfsstat, osd_login, rpc.mountd, rpc.nfsd, rpc.statd, rpcdebug,
|
---|
[d40e1a4] | 312 | showmount, sm-notify, start-statd, umount.nfs (link to mount.nfs),
|
---|
| 313 | and umount.nfs4 (link to mount.nfs)</seg>
|
---|
[b86cfc2] | 314 | <seg>None</seg>
|
---|
| 315 | <seg>/var/lib/nfs</seg>
|
---|
| 316 | </seglistitem>
|
---|
| 317 | </segmentedlist>
|
---|
| 318 |
|
---|
| 319 | <variablelist>
|
---|
| 320 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 321 | <?dbfo list-presentation="list"?>
|
---|
| 322 | <?dbhtml list-presentation="table"?>
|
---|
| 323 |
|
---|
| 324 | <varlistentry id="exportfs">
|
---|
| 325 | <term><command>exportfs</command></term>
|
---|
| 326 | <listitem>
|
---|
| 327 | <para>maintains a list of NFS exported file systems.</para>
|
---|
| 328 | <indexterm zone="nfs-utils exportfs">
|
---|
| 329 | <primary sortas="b-exportfs">exportfs</primary>
|
---|
| 330 | </indexterm>
|
---|
| 331 | </listitem>
|
---|
| 332 | </varlistentry>
|
---|
| 333 |
|
---|
[d40e1a4] | 334 | <varlistentry id="mountstats">
|
---|
| 335 | <term><command>mountstats</command></term>
|
---|
| 336 | <listitem>
|
---|
| 337 | <para>displays NFS client per-mount statistics.</para>
|
---|
| 338 | <indexterm zone="nfs-utils mountstats">
|
---|
| 339 | <primary sortas="b-mountstats">mountstats</primary>
|
---|
| 340 | </indexterm>
|
---|
| 341 | </listitem>
|
---|
| 342 | </varlistentry>
|
---|
| 343 |
|
---|
[0f10bc0] | 344 | <varlistentry id="mountnfs">
|
---|
| 345 | <term><command>mount.nfs</command></term>
|
---|
| 346 | <listitem>
|
---|
| 347 | <para>Used to mount a network share using NFS</para>
|
---|
| 348 | <indexterm zone="nfs-utils mountnfs">
|
---|
| 349 | <primary sortas="b-mountnfs">mount.nfs</primary>
|
---|
| 350 | </indexterm>
|
---|
| 351 | </listitem>
|
---|
| 352 | </varlistentry>
|
---|
| 353 |
|
---|
| 354 | <varlistentry id="mountnfs4">
|
---|
| 355 | <term><command>mount.nfs4</command></term>
|
---|
| 356 | <listitem>
|
---|
| 357 | <para>Used to mount a network share using NFSv4</para>
|
---|
| 358 | <indexterm zone="nfs-utils mountnfs4">
|
---|
| 359 | <primary sortas="b-mountnfs4">mount.nfs4</primary>
|
---|
| 360 | </indexterm>
|
---|
| 361 | </listitem>
|
---|
| 362 | </varlistentry>
|
---|
| 363 |
|
---|
[d40e1a4] | 364 | <varlistentry id="nfsiostat-nfs-utils">
|
---|
| 365 | <term><command>nfsiostat</command></term>
|
---|
| 366 | <listitem>
|
---|
| 367 | <para>Report input/output statistics for network filesystems.</para>
|
---|
| 368 | <indexterm zone="nfs-utils nfsiostat-nfs-utils">
|
---|
| 369 | <primary sortas="b-nfsiostat-nfs-utils">nfsiostat</primary>
|
---|
| 370 | </indexterm>
|
---|
| 371 | </listitem>
|
---|
| 372 | </varlistentry>
|
---|
| 373 |
|
---|
[b86cfc2] | 374 | <varlistentry id="nfsstat">
|
---|
| 375 | <term><command>nfsstat</command></term>
|
---|
| 376 | <listitem>
|
---|
[d40e1a4] | 377 | <para>displays statistics kept about NFS client and server activity.</para>
|
---|
[b86cfc2] | 378 | <indexterm zone="nfs-utils nfsstat">
|
---|
| 379 | <primary sortas="b-nfsstat">nfsstat</primary>
|
---|
| 380 | </indexterm>
|
---|
| 381 | </listitem>
|
---|
| 382 | </varlistentry>
|
---|
| 383 |
|
---|
| 384 | <varlistentry id="rpcmountd">
|
---|
| 385 | <term><command>rpc.mountd</command></term>
|
---|
| 386 | <listitem>
|
---|
| 387 | <para>implements the NFS mount protocol on an NFS server.</para>
|
---|
| 388 | <indexterm zone="nfs-utils rpcmountd">
|
---|
| 389 | <primary sortas="b-rpcmountd">rpc.mountd</primary>
|
---|
| 390 | </indexterm>
|
---|
| 391 | </listitem>
|
---|
| 392 | </varlistentry>
|
---|
| 393 |
|
---|
| 394 | <varlistentry id="rpcnfsd">
|
---|
| 395 | <term><command>rpc.nfsd</command></term>
|
---|
| 396 | <listitem>
|
---|
| 397 | <para>implements the user level part of the NFS
|
---|
| 398 | service on the server.</para>
|
---|
| 399 | <indexterm zone="nfs-utils rpcnfsd">
|
---|
| 400 | <primary sortas="b-rpcnfsd">rpc.nfsd</primary>
|
---|
| 401 | </indexterm>
|
---|
| 402 | </listitem>
|
---|
| 403 | </varlistentry>
|
---|
| 404 |
|
---|
| 405 | <varlistentry id="rpcstatd">
|
---|
| 406 | <term><command>rpc.statd</command></term>
|
---|
| 407 | <listitem>
|
---|
[0f10bc0] | 408 | <para>is used by the NFS file locking service. Run on both sides,
|
---|
| 409 | client as well as server, when you want file locking enabled.</para>
|
---|
[b86cfc2] | 410 | <indexterm zone="nfs-utils rpcstatd">
|
---|
| 411 | <primary sortas="b-rpcstatd">rpc.statd</primary>
|
---|
| 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
[d3761424] | 416 | <varlistentry id="rpcdebug">
|
---|
| 417 | <term><command>rpcdebug</command></term>
|
---|
| 418 | <listitem>
|
---|
[81066706] | 419 | <para>sets or clears the kernel's NFS client and server debug
|
---|
| 420 | flags.</para>
|
---|
[d3761424] | 421 | <indexterm zone="nfs-utils rpcdebug">
|
---|
| 422 | <primary sortas="b-rpcdebug">rpcdebug</primary>
|
---|
| 423 | </indexterm>
|
---|
| 424 | </listitem>
|
---|
| 425 | </varlistentry>
|
---|
| 426 |
|
---|
[b86cfc2] | 427 | <varlistentry id="showmount">
|
---|
| 428 | <term><command>showmount</command></term>
|
---|
| 429 | <listitem>
|
---|
| 430 | <para>displays mount information for an NFS server.</para>
|
---|
| 431 | <indexterm zone="nfs-utils showmount">
|
---|
| 432 | <primary sortas="b-showmount">showmount</primary>
|
---|
| 433 | </indexterm>
|
---|
| 434 | </listitem>
|
---|
| 435 | </varlistentry>
|
---|
| 436 |
|
---|
[d3761424] | 437 | <varlistentry id="sm-notify">
|
---|
| 438 | <term><command>sm-notify</command></term>
|
---|
| 439 | <listitem>
|
---|
| 440 | <para>is used to send Network Status Monitor reboot messages.</para>
|
---|
| 441 | <indexterm zone="nfs-utils sm-notify">
|
---|
| 442 | <primary sortas="b-sm-notify">sm-notify</primary>
|
---|
| 443 | </indexterm>
|
---|
| 444 | </listitem>
|
---|
| 445 | </varlistentry>
|
---|
| 446 |
|
---|
| 447 | <varlistentry id="start-statd">
|
---|
| 448 | <term><command>start-statd</command></term>
|
---|
| 449 | <listitem>
|
---|
| 450 | <para>is a script called by nfsmount when mounting a filesystem with
|
---|
[81066706] | 451 | locking enabled, if statd does not appear to be running. It can be
|
---|
| 452 | customised with whatever flags are appropriate for the site.</para>
|
---|
[d3761424] | 453 | <indexterm zone="nfs-utils start-statd">
|
---|
| 454 | <primary sortas="b-start-statd">start-statd</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
| 458 |
|
---|
[0f10bc0] | 459 | <varlistentry id="umountnfs">
|
---|
| 460 | <term><command>umount.nfs</command></term>
|
---|
| 461 | <listitem>
|
---|
| 462 | <para>Used to unmount a network share using NFS</para>
|
---|
| 463 | <indexterm zone="nfs-utils umountnfs">
|
---|
| 464 | <primary sortas="b-umountnfs">umount.nfs</primary>
|
---|
| 465 | </indexterm>
|
---|
| 466 | </listitem>
|
---|
| 467 | </varlistentry>
|
---|
| 468 |
|
---|
| 469 | <varlistentry id="umountnfs4">
|
---|
| 470 | <term><command>umount.nfs4</command></term>
|
---|
| 471 | <listitem>
|
---|
| 472 | <para>Used to unmount a network share using NFSv4</para>
|
---|
| 473 | <indexterm zone="nfs-utils umountnfs4">
|
---|
| 474 | <primary sortas="b-umountnfs4">umount.nfs4</primary>
|
---|
| 475 | </indexterm>
|
---|
| 476 | </listitem>
|
---|
| 477 | </varlistentry>
|
---|
| 478 |
|
---|
[b86cfc2] | 479 | </variablelist>
|
---|
| 480 |
|
---|
| 481 | </sect2>
|
---|
[d47e7ea9] | 482 |
|
---|
[176b211] | 483 | </sect1>
|
---|