Whamcloud - gitweb
LUDOC-247 mount: Clarify recovery_time_{soft,hard} defaults
[doc/manual.git] / SystemConfigurationUtilities.xml
index b8e876f..bd11b10 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>
-<chapter version="5.0" xml:lang="en-US" xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" xml:id='systemconfigurationutilities'>
-  <info>
-    <title xml:id='systemconfigurationutilities.title'>System Configuration Utilities</title>
-  </info>
-
+<?xml version='1.0' encoding='UTF-8'?>
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en-US" xml:id="systemconfigurationutilities">
+  <title xml:id="systemconfigurationutilities.title">System Configuration Utilities</title>
   <para>This chapter includes system configuration utilities and includes the following sections:</para>
-  <itemizedlist><listitem>
+  <itemizedlist>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_55923"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_76969"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_38274"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_58217"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_44971"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_84890"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_90386"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_23232"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_23648"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_64286"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_90218"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_54734"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_63667"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_75432"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_12635"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_82679"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_51496"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_39574"/></para>
     </listitem>
-
-<listitem>
+    <listitem>
       <para><xref linkend="dbdoclet.50438219_99928"/></para>
     </listitem>
-
-</itemizedlist>
-    <section xml:id="dbdoclet.50438219_55923">
-      <title>36.1 e2<anchor xml:id="dbdoclet.50438219_marker-1317398" xreflabel=""/>scan</title>
-      <para>The e2scan utility is an ext2 file system-modified inode scan program. The e2scan program uses libext2fs to find inodes with ctime or mtime newer than a given time and prints out their pathname. Use e2scan to efficiently generate lists of files that have been modified. The e2scan tool is included in the e2fsprogs package, located at:</para>
-      <para><link xl:href="http://downloads.lustre.org/public/tools/e2fsprogs/">http://downloads.lustre.org/public/tools/e2fsprogs/</link></para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>e2scan [options] [-f file] block_device
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>When invoked, the e2scan utility iterates all inodes on the block device, finds modified inodes, and prints their inode numbers. A similar iterator, using libext2fs(5), builds a table (called parent database) which lists the parent node for each inode. With a lookup function, you can reconstruct modified pathnames from root.</para>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">-b inode buffer blocks</emphasis></para></entry>
-                <entry><para> Sets the readahead inode blocks to get excellent performance when scanning the block device.</para><para> </para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-o output file</emphasis></para></entry>
-                <entry><para> If an output file is specified, modified pathnames are written to this file. Otherwise, modified parameters are written to stdout.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-t inode | pathname</emphasis></para></entry>
-                <entry><para> Sets the e2scan type if type is inode. The e2scan utility prints modified inode numbers to stdout. By default, the type is set as pathname.</para><para>The e2scan utility lists modified pathnames based on modified inode numbers.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-u</emphasis></para></entry>
-                <entry><para> Rebuilds the parent database from scratch. Otherwise, the current parent database is used.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
+  </itemizedlist>
+  <section xml:id="dbdoclet.50438219_55923">
+      <title><indexterm><primary>e2scan</primary></indexterm>
+                  e2scan</title>
+    <para>The e2scan utility is an ext2 file system-modified inode scan program. The e2scan program uses libext2fs to find inodes with ctime or mtime newer than a given time and prints out their pathname. Use e2scan to efficiently generate lists of files that have been modified. The e2scan tool is included in the e2fsprogs package, located at:</para>
+    <para><link xl:href="http://downloads.hpdd.intel.com/public/e2fsprogs/latest/">http://downloads.hpdd.intel.com/public/e2fsprogs/latest/</link></para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>e2scan [options] [-f file] block_device</screen>
     </section>
-    <section xml:id="dbdoclet.50438219_76969">
-      <title>36.2 l_<anchor xml:id="dbdoclet.50438219_marker-1318227" xreflabel=""/>getidentity</title>
-      <para>The l_getidentity utility handles Lustre user / group cache upcall.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>l_getidentity {mdtname} {uid}
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The group upcall file contains the path to an executable file that, when properly installed, is invoked to resolve a numeric UID to a group membership list. This utility should complete the mds_grp_downcall_data structure and write it to the /proc/fs/lustre/mdt/${FSNAME}-MDT{xxxx}/identity_info pseudo-file.</para>
-        <para>The l_getidentity utility is the reference implementation of the user or group cache upcall.</para>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">mdtname</emphasis></para></entry>
-                <entry><para> Metadata server target name</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">uid</emphasis></para></entry>
-                <entry><para> User identifier</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Files</title>
-        <para>The l_getidentity files are located at:</para>
-        <screen>/proc/fs/lustre/mdt/${FSNAME}-MDT{xxxx}/identity_upcall
-</screen>
-      </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>When invoked, the e2scan utility iterates all inodes on the block device, finds modified inodes, and prints their inode numbers. A similar iterator, using libext2fs(5), builds a table (called parent database) which lists the parent node for each inode. With a lookup function, you can reconstruct modified pathnames from root.</para>
     </section>
-    <section xml:id="dbdoclet.50438219_38274">
-      <title>36.3 lc<anchor xml:id="dbdoclet.50438219_marker-1302539" xreflabel=""/>tl</title>
-      <para>The lctl utility is used for root control and configuration. With lctl you can directly control Lustre via an ioctl interface, allowing various configuration, maintenance and debugging features to be accessed.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>lctl
-lctl --device &lt;devno&gt;<emphasis/>&lt;command [args]&gt;
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The lctl utility can be invoked in interactive mode by issuing the lctl command. After that, commands are issued as shown below. The most common lctl commands are:</para>
-        <screen>dl
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>-b <replaceable>inode buffer blocks</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the readahead inode blocks to get excellent performance when scanning the block device.</para>
+                <para>&#160;</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-o <replaceable>output file</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> If an output file is specified, modified pathnames are written to this file. Otherwise, modified parameters are written to stdout.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-t <replaceable>inode</replaceable>| <replaceable>pathname</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the e2scan type if type is inode. The e2scan utility prints modified inode numbers to stdout. By default, the type is set as pathname.</para>
+                <para>The e2scan utility lists modified pathnames based on modified inode numbers.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-u</literal></para>
+              </entry>
+              <entry>
+                <para> Rebuilds the parent database from scratch. Otherwise, the current parent database is used.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_76969">
+    <title><indexterm><primary>l_getidentity</primary></indexterm>
+l_getidentity</title>
+    <para>The l_getidentity utility handles Lustre user / group cache upcall.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>l_getidentity ${FSNAME}-MDT{xxxx} {uid}</screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The group upcall file contains the path to an executable file that is invoked to resolve
+        a numeric UID to a group membership list. This utility opens
+          <literal>/proc/fs/lustre/mdt/${FSNAME}-MDT{xxxx}/identity_info</literal> and writes the
+        related <literal>identity_downcall_data</literal> structure (see <xref
+          linkend="dbdoclet.50438291_33759"/>.) The data is persisted with <literal>lctl set_param
+          mdt.${FSNAME}-MDT{xxxx}.identity_info</literal>.</para>
+      <para>The l_getidentity utility is the reference implementation of the user or group cache upcall.</para>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para>
+                  <literal>${FSNAME}-MDT{xxxx}</literal></para>
+              </entry>
+              <entry>
+                <para> Metadata server target name</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>uid</literal></para>
+              </entry>
+              <entry>
+                <para> User identifier</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Files</title>
+      <para>The l_getidentity files are located at:</para>
+      <screen>/proc/fs/lustre/mdt/${FSNAME}-MDT{xxxx}/identity_upcall</screen>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_38274">
+    <title><indexterm><primary>lctl</primary></indexterm>
+lctl</title>
+    <para>The lctl utility is used for root control and configuration. With lctl you can directly control Lustre via an ioctl interface, allowing various configuration, maintenance and debugging features to be accessed.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>lctl [--device <replaceable>devno</replaceable>] <replaceable>command [args]</replaceable></screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The lctl utility can be invoked in interactive mode by issuing the lctl command. After that, commands are issued as shown below. The most common lctl commands are:</para>
+      <screen>dl
 dk
 device
-network &lt;<emphasis>up/down</emphasis>&gt;
+network <replaceable>up|down</replaceable>
 list_nids
-ping <emphasis>nid</emphasis>help
-quit
-</screen>
-        <para>For a complete list of available commands, type help at the lctl prompt. To get basic help on command meaning and syntax, type help<emphasis>command</emphasis>. Command completion is activated with the TAB key, and command history is available via the up- and down-arrow keys.</para>
-        <para>For non-interactive use, use the second invocation, which runs the command after connecting to the device.</para>
-      </section>
-      <section remap="h5">
-        <title>Setting Parameters with lctl</title>
-        <para>Lustre parameters are not always accessible using the procfs interface, as it is platform-specific. As a solution, lctl {get,set}_param has been introduced as a platform-independent interface to the Lustre tunables. Avoid direct references to /proc/{fs,sys}/{lustre,lnet}. For future portability, use lctl {get,set}_param .</para>
-        <para>When the file system is running, use the lctl set_param command to set temporary parameters (mapping to items in /proc/{fs,sys}/{lnet,lustre}). The lctl set_param command uses this syntax:</para>
-        <screen>lctl set_param [-n] &lt;obdtype&gt;.&lt;obdname&gt;.&lt;proc_file_name&gt;=&lt;value&gt;
-</screen>
-        <para>For example:</para>
-        <screen>$ lctl set_param ldlm.namespaces.*osc*.lru_size=$((NR_CPU*100))
-</screen>
-        <para>Many permanent parameters can be set with lctl conf_param. In general, lctl conf_param can be used to specify any parameter settable in a /proc/fs/lustre file, with its own OBD device. The lctl conf_param command uses this syntax:</para>
-        <screen>&lt;obd|fsname&gt;.&lt;obdtype&gt;.&lt;proc_file_name&gt;=&lt;value&gt;) 
-</screen>
-        <para>For example:</para>
-        <screen>$ lctl conf_param testfs-MDT0000.mdt.group_upcall=NONE 
-$ lctl conf_param testfs.llite.max_read_ahead_mb=16 
-</screen>
-        <informaltable frame="none">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="5*"/>
-            <colspec colname="c2" colwidth="95*"/>
-            
-            
-            <tbody>
-              <row>
-                <entry><para><inlinemediaobject><imageobject role="html">
-                        <imagedata fileref="./shared/caution.gif" scalefit="1"/>
-                      </imageobject>
-<imageobject role="fo">
-                        <imagedata contentdepth="100%" contentwidth="" depth="" fileref="./shared/caution.gif" scalefit="1" width="100%"/>
-                      </imageobject>
-</inlinemediaobject></para></entry>
-                <entry><para><emphasis role="bold">Caution -</emphasis>The lctlconf_param command permanently sets parameters in the file system configuration.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-         <para>To get current Lustre parameter settings, use the lctl get_param command with this syntax:</para>
-        <screen>lctl get_param [-n] &lt;obdtype&gt;.&lt;obdname&gt;.&lt;proc_file_name&gt;
-</screen>
-        <para>For example:</para>
-        <screen>$ lctl get_param -n ost.*.ost_io.timeouts 
-</screen>
-         <para>To list Lustre parameters that are available to set, use the lctl list_param command, with this syntax:</para>
-        <screen>lctl list_param [-n] &lt;obdtype&gt;.&lt;obdname&gt;
-</screen>
-        <para>For example:</para>
-        <screen>$ lctl list_param obdfilter.lustre-OST0000
-</screen>
-<para>For more information on using lctl to set temporary and permanent parameters, see <xref linkend="dbdoclet.50438194_51490"/> (Setting Parameters with lctl).</para>
-        <para><emphasis role="bold">Network Configuration</emphasis></para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">network</emphasis> &lt;<emphasis>up/down</emphasis>&gt;|&lt;<emphasis>tcp/elan/myrinet</emphasis>&gt;</para></entry>
-                <entry><para> Starts or stops LNET, or selects a network type for other <emphasis role="bold">lctl</emphasis> LNET commands.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">list_nids</emphasis></para></entry>
-                <entry><para> Prints all NIDs on the local node. LNET must be running.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">which_nid</emphasis> &lt;<emphasis>nidlist</emphasis>&gt;</para></entry>
-                <entry><para> From a list of NIDs for a remote node, identifies the NID on which interface communication will occur.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">ping</emphasis> &lt;<emphasis>nid</emphasis>&gt;</para></entry>
-                <entry><para> Checks LNET connectivity via an LNET ping. This uses the fabric appropriate to the specified NID.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">interface_list</emphasis></para></entry>
-                <entry><para> Prints the network interface information for a given <emphasis role="bold">network</emphasis> type.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">peer_list</emphasis></para></entry>
-                <entry><para> Prints the known peers for a given <emphasis role="bold">network</emphasis> type.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">conn_list</emphasis></para></entry>
-                <entry><para> Prints all the connected remote NIDs for a given <emphasis role="bold">network</emphasis> type.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">active_tx</emphasis></para></entry>
-                <entry><para> This command prints active transmits. It is only used for the Elan <emphasis role="bold">network</emphasis> type.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">route_list</emphasis></para></entry>
-                <entry><para> Prints the complete routing table.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-         <para><emphasis role="bold">Device Selection</emphasis></para>
-        <informaltable frame="all">
-          <tgroup cols="3">
-            <colspec colname="c1" colwidth="33*"/>
-            <colspec colname="c2" colwidth="33*"/>
-            <colspec colname="c3" colwidth="33*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold"> </emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">device</emphasis> &lt;<emphasis>devname</emphasis>&gt;</para></entry>
-                <entry><para>  </para></entry>
-                <entry><para> This selects the specified OBD device. All other commands depend on the device being set.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">device_list</emphasis></para></entry>
-                <entry><para>  </para></entry>
-                <entry><para> Shows the local Lustre OBDs, a/k/a <emphasis role="bold">dl</emphasis>.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-         <para><emphasis role="bold">Device Operations</emphasis></para>
-        <informaltable frame="all">
-          <tgroup cols="3">
-            <colspec colname="c1" colwidth="33*"/>
-            <colspec colname="c2" colwidth="33*"/>
-            <colspec colname="c3" colwidth="33*"/>
-            <thead>
-              <row>
-                <entry nameend="c2" namest="c1"><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">list_param</emphasis><emphasis>[-F|-R]</emphasis> &lt;<emphasis>param_path ...</emphasis>&gt;</para></entry>
-                <entry><para> Lists the Lustre or LNET parameter name.</para><para> </para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> -<emphasis role="bold">F</emphasis></para></entry>
-                <entry><para> Adds &apos;/&apos;, &apos;@&apos; or &apos;=&apos; for directories, symlinks and writeable files, respectively.</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> -<emphasis role="bold">R</emphasis></para></entry>
-                <entry><para> Recursively lists all parameters under the specified path. If <emphasis>param_path</emphasis> is unspecified, all parameters are shown.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">get_param</emphasis><emphasis>[-n|-N|-F]</emphasis> &lt;<emphasis>param_path ...</emphasis>&gt;</para></entry>
-                <entry><para> Gets the value of a Lustre or LNET parameter from the specified path.</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> <emphasis role="bold">-n</emphasis></para></entry>
-                <entry><para> Prints only the parameter value and not the parameter name.</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> <emphasis role="bold">-N</emphasis></para></entry>
-                <entry><para> Prints only matched parameter names and not the values; especially useful when using patterns.</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> <emphasis role="bold">-F</emphasis></para></entry>
-                <entry><para> When <emphasis role="bold">-N</emphasis> is specified, adds &apos;/&apos;, &apos;@&apos; or &apos;=&apos; for directories, symlinks and writeable files, respectively.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">set_param</emphasis><emphasis>[-n]</emphasis><emphasis>&lt;param_path=value...&gt;</emphasis></para></entry>
-                <entry><para> Sets the value of a Lustre or LNET parameter from the specified path.</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> <emphasis role="bold">-n</emphasis></para></entry>
-                <entry><para> Disables printing of the key name when printing values.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">conf_param</emphasis><emphasis>[-d] &lt;device|fsname&gt;.&lt;parameter&gt;=&lt;value&gt;</emphasis></para></entry>
-                <entry><para> Sets a permanent configuration parameter for any device via the MGS. This command must be run on the MGS node.</para><para>All writeable parameters under <emphasis role="bold">lctl list_param</emphasis> (e.g. <emphasis>lctl list_param -F osc.*.* | grep</emphasis> =) can be permanently set using <emphasis role="bold">lctl conf_param</emphasis>, but the format is slightly different. For <emphasis role="bold">conf_param</emphasis>, the device is specified first, then the obdtype. Wildcards are not supported. Additionally, failover nodes may be added (or removed), and some system-wide parameters may be set as well (sys.at_max, sys.at_min, sys.at_extra, sys.at_early_margin, sys.at_history, sys.timeout, sys.ldlm_timeout). For system-wide parameters, &lt;device&gt; is ignored.</para><para>For more information on setting permanent parameters and <emphasis role="bold">lctl conf_param</emphasis> command examples, see <xref linkend="dbdoclet.50438194_64195"/> (Setting Permanent Parameters).</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> <emphasis role="bold">-d &lt;device|fsname&gt;.&lt;parameter&gt;</emphasis></para><para> </para></entry>
-                <entry><para> Deletes a parameter setting (use the default value at the next restart). A null value for <emphasis role="bold">&lt;value&gt;</emphasis> also deletes the parameter setting.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">activate</emphasis></para></entry>
-                <entry><para> Re-activates an import after the deactivate operation. This setting is only effective until the next restart (see <emphasis role="bold">conf_param</emphasis>).</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">deactivate</emphasis></para></entry>
-                <entry><para> Deactivates an import, in particular meaning do not assign new file stripes to an OSC. Running lctl deactivate on the MDS stops new objects from being allocated on the OST. Running lctl deactivate on Lustre clients causes them to return -EIO when accessing objects on the OST instead of waiting for recovery.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">abort_recovery</emphasis></para></entry>
-                <entry><para> Aborts the recovery process on a re-starting MDT or OST.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-                <note><para>Lustre tunables are not always accessible using the procfs interface, as it is platform-specific. As a solution, lctl {get,set,list}_param has been introduced as a platform-independent interface to the Lustre tunables. Avoid direct references to /proc/{fs,sys}/{lustre,lnet}. For future portability, use lctl {get,set,list}_param instead.</para></note>
-         <para><emphasis role="bold">Virtual Block Device Operations</emphasis></para>
-        <para>Lustre can emulate a virtual block device upon a regular file. This emulation is needed when you are trying to set up a swap space via the file.</para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">blockdev_attach</emphasis><emphasis>&lt;file name&gt; &lt;device node&gt;</emphasis></para></entry>
-                <entry><para> Attaches a regular Lustre file to a block device. If the device node does not exist, <emphasis role="bold">lctl</emphasis> creates it. We recommend that you create the device node by <emphasis role="bold">lctl</emphasis> since the emulator uses a dynamical major number.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">blockdev_detach</emphasis><emphasis>&lt;device node&gt;</emphasis></para></entry>
-                <entry><para> Detaches the virtual block device.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">blockdev_info</emphasis><emphasis>&lt;device node&gt;</emphasis></para></entry>
-                <entry><para> Provides information about the Lustre file attached to the device node.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-        <para><emphasis role="bold">Changelogs</emphasis></para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">changelog_register</emphasis></para></entry>
-                <entry><para> Registers a new changelog user for a particular device. Changelog entries are not purged beyond a registered user's set point (see <emphasis role="bold">lfs changelog_clear</emphasis>).</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">changelog_deregister</emphasis><emphasis>&lt;id&gt;</emphasis></para></entry>
-                <entry><para> Unregisters an existing changelog user. If the user's &quot;clear&quot; record number is the minimum for the device, changelog records are purged until the next minimum.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-        <para><emphasis role="bold">Debug</emphasis></para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">debug_daemon</emphasis></para></entry>
-                <entry><para> Starts and stops the debug daemon, and controls the output filename and size.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">debug_kernel</emphasis><emphasis>[file] [raw]</emphasis></para></entry>
-                <entry><para> Dumps the kernel debug buffer to stdout or a file.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">debug_file</emphasis><emphasis>&lt;input&gt; [output]</emphasis></para></entry>
-                <entry><para> Converts the kernel-dumped debug log from binary to plain text format.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">clear</emphasis></para></entry>
-                <entry><para> Clears the kernel debug buffer.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">mark</emphasis><emphasis>&lt;text&gt;</emphasis></para></entry>
-                <entry><para> Inserts marker text in the kernel debug buffer.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">filter</emphasis><emphasis>&lt;subsystem id/debug mask&gt;</emphasis></para></entry>
-                <entry><para> Filters kernel debug messages by subsystem or mask.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">show</emphasis><emphasis>&lt;subsystem id/debug mask&gt;</emphasis></para></entry>
-                <entry><para> Shows specific types of messages.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">debug_list</emphasis><emphasis>&lt;subs/types&gt;</emphasis></para></entry>
-                <entry><para> Lists all subsystem and debug types.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">modules</emphasis><emphasis>&lt;path&gt;</emphasis></para></entry>
-                <entry><para> Provides GDB-friendly module information.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <para>Use the following options to invoke lctl.</para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">--device</emphasis></para></entry>
-                <entry><para> Device to be used for the operation (specified by name or number). See device_list.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--ignore_errors | ignore_errors</emphasis></para></entry>
-                <entry><para> Ignores errors during script processing.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Examples</title>
-        <para><emphasis role="bold">lctl</emphasis></para>
-        <screen>$ lctl
+ping <replaceable>nid</replaceable>help
+quit</screen>
+      <para>For a complete list of available commands, type <literal>help</literal> at the <literal>lctl</literal> prompt. To get basic help on command meaning and syntax, type <literal>help <replaceable>command</replaceable></literal>. Command completion is activated with the TAB key (depending on compile options), and command history is available via the up- and down-arrow keys.</para>
+      <para>For non-interactive use, use the second invocation, which runs the command after connecting to the device.</para>
+    </section>
+    <section remap="h5">
+      <title>Setting Parameters with lctl</title>
+      <para>Lustre parameters are not always accessible using the procfs interface, as it is platform-specific. As a solution, lctl {get,set}_param has been introduced as a platform-independent interface to the Lustre tunables. Avoid direct references to /proc/{fs,sys}/{lustre,lnet}. For future portability, use lctl {get,set}_param .</para>
+      <para>When the file system is running, use the <literal>lctl set_param</literal> command on the affected node(s) to <emphasis>temporarily</emphasis> set parameters (mapping to items in /proc/{fs,sys}/{lnet,lustre}). The <literal>lctl set_param</literal> command uses this syntax:</para>
+      <screen>lctl set_param [-n] [-P] [-d] <replaceable>obdtype.obdname.property</replaceable>=<replaceable>value</replaceable></screen>
+      <para>For example:</para>
+      <screen>mds# lctl set_param mdt.testfs-MDT0000.identity_upcall=NONE</screen>
+      <para condition='l25'>Use <literal>-P</literal> option to set parameters permanently. Option <literal>-d </literal>deletes permanent parameters. For example:
+             <screen>mgs# lctl set_param -P mdt.testfs-MDT0000.identity_upcall=NONE
+mgs# lctl set_param -P -d mdt.testfs-MDT0000.identity_upcall</screen></para>
+      <para>Many permanent parameters can be set with <literal>lctl conf_param</literal>. In general, <literal>lctl conf_param</literal> can be used to specify any OBD device parameter settable in a /proc/fs/lustre file. The <literal>lctl conf_param</literal> command must be run on the MGS node, and uses this syntax:</para>
+      <screen><replaceable>obd|fsname</replaceable>.obdtype.property=<replaceable>value</replaceable>) </screen>
+      <para>For example:</para>
+      <screen>mgs# lctl conf_param testfs-MDT0000.mdt.identity_upcall=NONE
+$ lctl conf_param testfs.llite.max_read_ahead_mb=16 </screen>
+      <caution>
+        <para>The <literal>lctl conf_param</literal> command <emphasis>permanently</emphasis> sets parameters in the file system configuration for all nodes of the specified type.</para>
+      </caution>
+      <para>To get current Lustre parameter settings, use the <literal>lctl get_param</literal> command on the desired node with the same parameter name as <literal>lctl set_param</literal>:</para>
+      <screen>lctl get_param [-n] <replaceable>obdtype.obdname.parameter</replaceable></screen>
+      <para>For example:</para>
+      <screen>mds# lctl get_param mdt.testfs-MDT0000.identity_upcall</screen>
+      <para>To list Lustre parameters that are available to set, use the <literal>lctl list_param</literal> command, with this syntax:</para>
+      <screen>lctl list_param [-R] [-F] <replaceable>obdtype.obdname.*</replaceable></screen>
+      <para>For example, to list all of the parameters on the MDT:</para>
+      <screen>oss# lctl list_param -RF mdt</screen>
+      <para>For more information on using lctl to set temporary and permanent parameters, see <xref linkend="dbdoclet.50438194_51490"/>.</para>
+      <para><emphasis role="bold">Network Configuration</emphasis></para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>network up|down|tcp|elan|myrinet</literal></para>
+              </entry>
+              <entry>
+                <para> Starts or stops LNET, or selects a network type for other <literal>lctl</literal> LNET commands.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>list_nids</literal></para>
+              </entry>
+              <entry>
+                <para> Prints all NIDs on the local node. LNET must be running.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>which_nid <replaceable>nidlist</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> From a list of NIDs for a remote node, identifies the NID on which interface communication will occur.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>ping <replaceable>nid</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Checks LNET connectivity via an LNET ping. This uses the fabric appropriate to the specified NID.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>interface_list</literal></para>
+              </entry>
+              <entry>
+                <para> Prints the network interface information for a given <emphasis>network</emphasis> type.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>peer_list</literal></para>
+              </entry>
+              <entry>
+                <para> Prints the known peers for a given <emphasis>network</emphasis> type.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>conn_list</literal></para>
+              </entry>
+              <entry>
+                <para> Prints all the connected remote NIDs for a given <emphasis>network</emphasis> type.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>active_tx</literal></para>
+              </entry>
+              <entry>
+                <para> This command prints active transmits. It is only used for the Elan <emphasis>network</emphasis> type.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>route_list</literal></para>
+              </entry>
+              <entry>
+                <para> Prints the complete routing table.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <para><emphasis role="bold">Device Selection</emphasis></para>
+      <informaltable frame="all">
+        <tgroup cols="3">
+          <colspec colname="c1" colwidth="33*"/>
+          <colspec colname="c2" colwidth="33*"/>
+          <colspec colname="c3" colwidth="33*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">&#160;</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>device <replaceable>devname</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> This selects the specified OBD device. All other commands depend on the device being set.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>device_list</literal></para>
+              </entry>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> Shows the local Lustre OBDs, a/k/a <literal>dl</literal>.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <para><emphasis role="bold">Device Operations</emphasis></para>
+      <informaltable frame="all">
+        <tgroup cols="3">
+          <colspec colname="c1" colwidth="33*"/>
+          <colspec colname="c2" colwidth="33*"/>
+          <colspec colname="c3" colwidth="33*"/>
+          <thead>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>list_param [-F|-R] <replaceable>parameter</replaceable> <replaceable>[parameter ...]</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Lists the Lustre or LNET parameter name.</para>
+                <para>&#160;</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>-F</literal></para>
+              </entry>
+              <entry>
+                <para> Adds &apos;/&apos;, &apos;@&apos; or &apos;=&apos; for directories, symlinks and writeable files, respectively.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>-R</literal></para>
+              </entry>
+              <entry>
+                <para> Recursively lists all parameters under the specified path. If <literal>param_path</literal> is unspecified, all parameters are shown.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>get_param [-n|-N|-F] <replaceable>parameter</replaceable> <replaceable>[parameter ...]</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Gets the value of a Lustre or LNET parameter from the specified path.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>-n</literal></para>
+              </entry>
+              <entry>
+                <para> Prints only the parameter value and not the parameter name.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>-N</literal></para>
+              </entry>
+              <entry>
+                <para> Prints only matched parameter names and not the values; especially useful when using patterns.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>-F</literal></para>
+              </entry>
+              <entry>
+                <para> When <literal>-N</literal> is specified, adds &apos;/&apos;, &apos;@&apos; or &apos;=&apos; for directories, symlinks and writeable files, respectively.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>set_param [-n] <replaceable>parameter</replaceable>=<replaceable>value</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the value of a Lustre or LNET parameter from the specified path.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>-n</literal></para>
+              </entry>
+              <entry>
+                <para> Disables printing of the key name when printing values.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para><literal>conf_param [-d] <replaceable>device|fsname</replaceable> <replaceable>parameter</replaceable>=<replaceable>value</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets a permanent configuration parameter for any device via the MGS. This command must be run on the MGS node.</para>
+                <para>All writeable parameters under <literal>lctl list_param</literal> (e.g. <literal>lctl list_param -F osc.*.* | grep</literal> =) can be permanently set using <literal>lctl conf_param</literal>, but the format is slightly different. For <literal>conf_param</literal>, the device is specified first, then the obdtype. Wildcards are not supported. Additionally, failover nodes may be added (or removed), and some system-wide parameters may be set as well (sys.at_max, sys.at_min, sys.at_extra, sys.at_early_margin, sys.at_history, sys.timeout, sys.ldlm_timeout). For system-wide parameters, <replaceable>device</replaceable> is ignored.</para>
+                <para>For more information on setting permanent parameters and <literal>lctl conf_param</literal> command examples, see <xref linkend="dbdoclet.50438194_64195"/> (Setting Permanent Parameters).</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para><literal>-d <replaceable>device|fsname</replaceable>.<replaceable>parameter</replaceable></literal></para>
+                <para>&#160;</para>
+              </entry>
+              <entry>
+                <para> Deletes a parameter setting (use the default value at the next restart). A null value for <replaceable>value</replaceable> also deletes the parameter setting.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>activate</literal></para>
+              </entry>
+              <entry>
+                <para> Re-activates an import after the deactivate operation. This setting is only effective until the next restart (see <literal>conf_param</literal>).</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>deactivate</literal></para>
+              </entry>
+              <entry>
+                <para> Deactivates an import, in particular meaning do not assign new file stripes to an OSC. Running lctl deactivate on the MDS stops new objects from being allocated on the OST. Running lctl deactivate on Lustre clients causes them to return -EIO when accessing objects on the OST instead of waiting for recovery.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>abort_recovery</literal></para>
+              </entry>
+              <entry>
+                <para> Aborts the recovery process on a re-starting MDT or OST.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <note>
+        <para>Lustre tunables are not always accessible using the procfs interface, as it is platform-specific. As a solution, <literal>lctl {get,set,list}_param</literal> has been introduced as a platform-independent interface to the Lustre tunables. Avoid direct references to <literal>/proc/{fs,sys}/{lustre,lnet}</literal>. For future portability, use <literal>lctl {get,set,list}_param</literal> instead.</para>
+      </note>
+      <para><emphasis role="bold">Virtual Block Device Operations</emphasis></para>
+      <para>Lustre can emulate a virtual block device upon a regular file. This emulation is needed when you are trying to set up a swap space via the file.</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para><literal>blockdev_attach <replaceable>filename</replaceable> <replaceable>/dev/lloop_device</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Attaches a regular Lustre file to a block device. If the device node does not exist, <literal>lctl</literal> creates it. It is recommend that a device node is created by <literal>lctl</literal> since the emulator uses a dynamical major number.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para><literal>blockdev_detach <replaceable>/dev/lloop_device</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Detaches the virtual block device.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para><literal>blockdev_info <replaceable>/dev/lloop_device</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Provides information about the Lustre file attached to the device node.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <para><emphasis role="bold">Changelogs</emphasis></para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>changelog_register</literal></para>
+              </entry>
+              <entry>
+                <para> Registers a new changelog user for a particular device. Changelog entries are not purged beyond a registered user&apos;s set point (see <literal>lfs changelog_clear</literal>).</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para>changelog_deregister <replaceable>id</replaceable></para>
+              </entry>
+              <entry>
+                <para> Unregisters an existing changelog user. If the user&apos;s &quot;clear&quot; record number is the minimum for the device, changelog records are purged until the next minimum.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <para><emphasis role="bold">Debug</emphasis></para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>debug_daemon</literal></para>
+              </entry>
+              <entry>
+                <para> Starts and stops the debug daemon, and controls the output filename and size.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>debug_kernel <replaceable>[file]</replaceable> [raw]</literal></para>
+              </entry>
+              <entry>
+                <para> Dumps the kernel debug buffer to stdout or a file.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para><literal>debug_file <replaceable>input_file</replaceable> <replaceable>[output_file]</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Converts the kernel-dumped debug log from binary to plain text format.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>clear</literal></para>
+              </entry>
+              <entry>
+                <para> Clears the kernel debug buffer.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>mark <replaceable>text</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Inserts marker text in the kernel debug buffer.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>filter <replaceable>subsystem_id|debug_mask</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Filters kernel debug messages by subsystem or mask.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>show <replaceable>subsystem_id|debug_mask</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Shows specific types of messages.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>debug_list <replaceable>subsystems|types</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Lists all subsystem and debug types.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>modules <replaceable>path</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Provides GDB-friendly module information.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <para>Use the following options to invoke lctl.</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>--device</literal></para>
+              </entry>
+              <entry>
+                <para> Device to be used for the operation (specified by name or number). See device_list.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--ignore_errors | ignore_errors</literal></para>
+              </entry>
+              <entry>
+                <para> Ignores errors during script processing.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Examples</title>
+      <para><literal>lctl</literal></para>
+      <screen>$ lctl
 lctl &gt; dl 
    0 UP mgc MGC192.168.0.20@tcp btbb24e3-7deb-2ffa-eab0-44dffe00f692 5 
    1 UP ost OSS OSS_uuid 3 
    2 UP obdfilter testfs-OST0000 testfs-OST0000_UUID 3 
 lctl &gt; dk /tmp/log Debug log: 87 lines, 87 kept, 0 dropped. 
-lctl &gt; quit
-</screen>
-      </section>
-      <section remap="h5">
-        <title>See Also</title>
-        <itemizedlist>
-            <listitem>
-            <para> <xref linkend="dbdoclet.50438219_75432"/> </para>
-            </listitem> <listitem>
-            <para> <xref linkend="dbdoclet.50438219_12635"/> </para>
-            </listitem> <listitem>
-            <para> <xref linkend="dbdoclet.50438219_38274"/> </para>
-            </listitem> <listitem>
-            <para> <xref linkend="dbdoclet.50438206_94597"/> </para>
-            </listitem> 
-        </itemizedlist>
-      </section>
+lctl &gt; quit</screen>
     </section>
-    <section xml:id="dbdoclet.50438219_58217">
-      <title>36.4 ll_decode_filter_fid</title>
-      <para>The ll_decode_filter_fid utility displays the Lustre object ID and MDT parent FID.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>ll_decode_filter_fid object_file [object_file ...]
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The ll_decode_filter_fid utility decodes and prints the Lustre OST object ID, MDT FID, stripe index for the specified OST object(s), which is stored in the &quot;trusted.fid&quot; attribute on each OST object. This is accessible to ll_decode_filter_fid when the OST filesystem is mounted locally as type ldiskfs for maintenance.</para>
-        <para>The &quot;trusted.fid&quot; extended attribute is stored on each OST object when it is first modified (data written or attributes set), and is not accessed or modified by Lustre after that time.</para>
-        <para>The OST object ID (objid) is useful in case of OST directory corruption, though normally the ll_recover_lost_found_objs(8) utility is able to reconstruct the entire OST object directory hierarchy. The MDS FID can be useful to determine which MDS inode an OST object is (or was) used by. The stripe index can be used in conjunction with other OST objects to reconstruct the layout of a file even if the MDT inode was lost.</para>
-      </section>
-      <section remap="h5">
-        <title>Examples</title>
-        <screen>root@oss1# cd /mnt/ost/lost+found
+    <section remap="h5">
+      <title>See Also</title>
+      <itemizedlist>
+        <listitem>
+          <para> <xref linkend="dbdoclet.50438219_75432"/> </para>
+        </listitem>
+        <listitem>
+          <para> <xref linkend="dbdoclet.50438219_12635"/> </para>
+        </listitem>
+        <listitem>
+          <para> <xref linkend="dbdoclet.50438219_38274"/> </para>
+        </listitem>
+        <listitem>
+          <para> <xref linkend="dbdoclet.50438206_94597"/> </para>
+        </listitem>
+      </itemizedlist>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_58217">
+    <title><indexterm><primary>ll_decode_filter_fid</primary></indexterm>
+ll_decode_filter_fid</title>
+    <para>The ll_decode_filter_fid utility displays the Lustre object ID and MDT parent FID.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>ll_decode_filter_fid object_file [object_file ...]</screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The ll_decode_filter_fid utility decodes and prints the Lustre OST object ID, MDT FID,
+        stripe index for the specified OST object(s), which is stored in the &quot;trusted.fid&quot;
+        attribute on each OST object. This is accessible to <literal>ll_decode_filter_fid</literal>
+        when the OST file system is mounted locally as type ldiskfs for maintenance.</para>
+      <para>The &quot;trusted.fid&quot; extended attribute is stored on each OST object when it is first modified (data written or attributes set), and is not accessed or modified by Lustre after that time.</para>
+      <para>The OST object ID (objid) is useful in case of OST directory corruption, though normally the ll_recover_lost_found_objs(8) utility is able to reconstruct the entire OST object directory hierarchy. The MDS FID can be useful to determine which MDS inode an OST object is (or was) used by. The stripe index can be used in conjunction with other OST objects to reconstruct the layout of a file even if the MDT inode was lost.</para>
+    </section>
+    <section remap="h5">
+      <title>Examples</title>
+      <screen>root@oss1# cd /mnt/ost/lost+found
 root@oss1# ll_decode_filter_fid #12345[4,5,8]
 #123454: objid=690670 seq=0 parent=[0x751c5:0xfce6e605:0x0]
 #123455: objid=614725 seq=0 parent=[0x18d11:0xebba84eb:0x1]
-#123458: objid=533088 seq=0 parent=[0x21417:0x19734d61:0x0]
-</screen>
-        <para>This shows that the three files in lost+found have decimal object IDs - 690670, 614725, and 533088, respectively. The object sequence number (formerly object group) is 0 for all current OST objects.</para>
-        <para>The MDT parent inode FIDs are hexdecimal numbers of the form sequence:oid:idx. Since the sequence number is below 0x100000000 in all these cases, the FIDs are in the legacy Inode and Generation In FID (IGIF) namespace and are mapped directly to the MDT inode = seq and generation = oid values; the MDT inodes are 0x751c5, 0x18d11, and 0x21417 respectively. For objects with MDT parent sequence numbers above 0x200000000, this indicates that the FID needs to be mapped via the MDT Object Index (OI) file on the MDT to determine the internal inode number.</para>
-        <para>The idx field shows the stripe number of this OST object in the Lustre RAID-0 striped file.</para>
-      </section>
-      <section remap="h5">
-        <title>See Also</title>
-        <para><xref linkend="dbdoclet.50438219_44971"/></para>
-      </section>
+#123458: objid=533088 seq=0 parent=[0x21417:0x19734d61:0x0]</screen>
+      <para>This shows that the three files in lost+found have decimal object IDs - 690670, 614725, and 533088, respectively. The object sequence number (formerly object group) is 0 for all current OST objects.</para>
+      <para>The MDT parent inode FIDs are hexadecimal numbers of the form sequence:oid:idx. Since the sequence number is below 0x100000000 in all these cases, the FIDs are in the legacy Inode and Generation In FID (IGIF) namespace and are mapped directly to the MDT inode = seq and generation = oid values; the MDT inodes are 0x751c5, 0x18d11, and 0x21417 respectively. For objects with MDT parent sequence numbers above 0x200000000, this indicates that the FID needs to be mapped via the MDT Object Index (OI) file on the MDT to determine the internal inode number.</para>
+      <para>The idx field shows the stripe number of this OST object in the Lustre RAID-0 striped file.</para>
     </section>
-    <section xml:id="dbdoclet.50438219_44971">
-      <title>36.5 ll_recover_lost_<anchor xml:id="dbdoclet.50438219_marker-1317865" xreflabel=""/>found_objs</title>
-      <para>The ll_recover_lost_found_objs utility helps recover Lustre OST objects (file data) from a lost and found directory and return them to their correct locations.</para>
-              <note><para>Running the ll_recover_lost_found_objs tool is not strictly necessary to bring an OST back online, it just avoids losing access to objects that were moved to the lost and found directory due to directory corruption.</para></note>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>$ ll_recover_lost_found_objs [-hv] -d directory
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The first time Lustre writes to an object, it saves the MDS inode number and the objid as an extended attribute on the object, so in case of directory corruption of the OST, it is possible to recover the objects. Running e2fsck fixes the corrupted OST directory, but it puts all of the objects into a lost and found directory, where they are inaccessible to Lustre. Use the ll_recover_lost_found_objs utility to recover all (or at least most) objects from a lost and found directory and return them to the O/0/d* directories.</para>
-        <para>To use ll_recover_lost_found_objs, mount the file system locally (using the -t ldiskfs command), run the utility and then unmount it again. The OST must not be mounted by Lustre when ll_recover_lost_found_objs is run.</para>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold"> Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">-h</emphasis></para></entry>
-                <entry><para> Prints a help message</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-v</emphasis></para></entry>
-                <entry><para> Increases verbosity</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-d</emphasis><emphasis>directory</emphasis></para></entry>
-                <entry><para> Sets the lost and found directory path</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Example</title>
-        <screen>ll_recover_lost_found_objs -d /mnt/ost/lost+found 
-</screen>
-      </section>
+    <section remap="h5">
+      <title>See Also</title>
+      <para><xref linkend="dbdoclet.50438219_44971"/></para>
     </section>
-    <section xml:id="dbdoclet.50438219_84890">
-      <title>36.6 llobdstat</title>
-      <para>The llobdstat utility displays OST statistics.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>llobdstat ost_name [interval]
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The llobdstat utility displays a line of OST statistics for the given ost_name every interval seconds. It should be run directly on an OSS node. Type <emphasis>CTRL-C</emphasis> to stop statistics printing.</para>
-      </section>
-      <section remap="h5">
-        <title>Example</title>
-        <screen># llobdstat liane-OST0002 1
+  </section>
+  <section xml:id="dbdoclet.50438219_44971">
+    <title><indexterm><primary>ll_recover_lost_found_objs</primary></indexterm>
+ll_recover_lost_found_objs</title>
+    <para>The ll_recover_lost_found_objs utility helps recover Lustre OST objects (file data) from a lost and found directory and return them to their correct locations.</para>
+    <note>
+      <para>Running the ll_recover_lost_found_objs tool is not strictly necessary to bring an OST back online, it just avoids losing access to objects that were moved to the lost and found directory due to directory corruption.</para>
+    </note>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>$ ll_recover_lost_found_objs [-hv] -d directory</screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The first time Lustre modifies an object, it saves the MDS inode number and the objid as an extended attribute on the object, so in case of directory corruption of the OST, it is possible to recover the objects. Running e2fsck fixes the corrupted OST directory, but it puts all of the objects into a lost and found directory, where they are inaccessible to Lustre. Use the ll_recover_lost_found_objs utility to recover all (or at least most) objects from a lost and found directory and return them to the O/0/d* directories.</para>
+      <para>To use ll_recover_lost_found_objs, mount the file system locally (using the <literal>-t ldiskfs</literal>, or <literal>-t zfs</literal> command), run the utility and then unmount it again. The OST must not be mounted by Lustre when ll_recover_lost_found_objs is run.</para>
+      <para condition="l26">This utility is not needed for 2.6 and later,
+      since the <literal>LFSCK</literal> online scanning will move objects
+      from <literal>lost+found</literal> to the proper place in the OST.</para>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>-h</literal></para>
+              </entry>
+              <entry>
+                <para> Prints a help message</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-v</literal></para>
+              </entry>
+              <entry>
+                <para> Increases verbosity</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-d <replaceable>directory</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the lost and found directory path</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Example</title>
+      <screen>ll_recover_lost_found_objs -d /mnt/ost/lost+found </screen>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_84890">
+    <title><indexterm><primary>llodbstat</primary></indexterm>
+llobdstat</title>
+    <para>The llobdstat utility displays OST statistics.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>llobdstat ost_name [interval]</screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The llobdstat utility displays a line of OST statistics for the given ost_name every interval seconds. It should be run directly on an OSS node. Type <literal>CTRL-C</literal> to stop statistics printing.</para>
+    </section>
+    <section remap="h5">
+      <title>Example</title>
+      <screen># llobdstat liane-OST0002 1
 /usr/bin/llobdstat on /proc/fs/lustre/obdfilter/liane-OST0002/stats
 Processor counters run at 2800.189 MHz
 Read: 1.21431e+07, Write: 9.93363e+08, create/destroy: 24/1499, stat: 34, p\
@@ -668,119 +904,122 @@ Timestamp Read-delta ReadRate Write-delta WriteRate
 1217026056 0.00MB 0.00MB/s 0.00MB 0.00MB/s
 1217026057 0.00MB 0.00MB/s 0.00MB 0.00MB/s
 1217026058 0.00MB 0.00MB/s 0.00MB 0.00MB/s
-1217026059 0.00MB 0.00MB/s 0.00MB 0.00MB/s st:1
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Files</title>
-        <screen>/proc/fs/lustre/obdfilter/&lt;ostname&gt;/stats
-</screen>
-      </section>
+1217026059 0.00MB 0.00MB/s 0.00MB 0.00MB/s st:1</screen>
     </section>
-    <section xml:id="dbdoclet.50438219_90386">
-      <title>36.7 llog_reader</title>
-      <para>The llog_reader utility parses Lustre's on-disk configuration logs.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>llog_reader filename
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The llog_reader utility parses the binary format of Lustre&apos;s on-disk configuration logs. Llog_reader can only read logs; use tunefs.lustre to write to them.</para>
-        <para>To examine a log file on a stopped Lustre server, mount its backing file system as ldiskfs, then use llog_reader to dump the log file&apos;s contents, for example:</para>
-        <screen>mount -t ldiskfs /dev/sda /mnt/mgs 
-llog_reader /mnt/mgs/CONFIGS/tfs-client
-</screen>
-        <para>To examine the same log file on a running Lustre server, use the ldiskfs-enabled debugfs utility (called debug.ldiskfs on some distributions) to extract the file, for example:</para>
-        <screen>debugfs -c -R &apos;dump CONFIGS/tfs-client /tmp/tfs-client&apos; /dev/sda 
-llog_reader /tmp/tfs-client
-</screen>
-        <informaltable frame="none">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="5*"/>
-            <colspec colname="c2" colwidth="95*"/>
-            
-            
-            <tbody>
-              <row>
-                <entry><para><inlinemediaobject><imageobject role="html">
-                        <imagedata fileref="./shared/caution.gif" scalefit="1"/>
-                      </imageobject>
-<imageobject role="fo">
-                        <imagedata contentdepth="100%" contentwidth="" depth="" fileref="./shared/caution.gif" scalefit="1" width="100%"/>
-                      </imageobject>
-</inlinemediaobject></para></entry>
-                <entry><para><emphasis role="bold">Caution -</emphasis>Although they are stored in the CONFIGS directory, mountdata files do not use the configuration log format and will confuse the llog_reader utility.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>See Also</title>
-        <para><xref linkend="dbdoclet.50438219_39574"/></para>
-      </section>
+    <section remap="h5">
+      <title>Files</title>
+      <screen>/proc/fs/lustre/obdfilter/<replaceable>ostname</replaceable>/stats</screen>
     </section>
-    <section xml:id="dbdoclet.50438219_23232">
-      <title>36.8 ll<anchor xml:id="dbdoclet.50438219_marker-1318052" xreflabel=""/>stat</title>
-      <para>The llstat utility displays Lustre statistics.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>llstat [-c] [-g] [-i interval] stats_file
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The llstat utility displays statistics from any of the Lustre statistics files that share a common format and are updated at <emphasis>interval</emphasis> seconds. To stop statistics printing, use <emphasis>ctrl</emphasis>-<emphasis>c.</emphasis></para>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold"> Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">-c</emphasis></para></entry>
-                <entry><para> Clears the statistics file.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-i</emphasis></para></entry>
-                <entry><para> Specifies the polling period (in seconds).</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-g</emphasis></para></entry>
-                <entry><para> Specifies graphable output format.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-h</emphasis></para></entry>
-                <entry><para> Displays help information.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">stats_file</emphasis></para></entry>
-                <entry><para> Specifies either the full path to a statistics file or the shorthand reference, <emphasis role="bold">mds</emphasis> or <emphasis role="bold">ost</emphasis></para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Example</title>
-        <para>To monitor /proc/fs/lustre/ost/OSS/ost/stats at 1 second intervals, run;</para>
-        <screen>llstat -i 1 ost
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Files</title>
-        <para>The llstat files are located at:</para>
-        <screen>/proc/fs/lustre/mdt/MDS/*/stats
+  </section>
+  <section xml:id="dbdoclet.50438219_90386">
+    <title><indexterm><primary>llog_reader</primary></indexterm>
+llog_reader</title>
+    <para>The llog_reader utility translates a Lustre configuration log into human-readable form.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>llog_reader filename</screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The llog_reader utility parses the binary format of Lustre&apos;s on-disk configuration logs. Llog_reader can only read logs; use tunefs.lustre to write to them.</para>
+      <para>To examine a log file on a stopped Lustre server, mount its backing file system as ldiskfs or zfs, then use llog_reader to dump the log file&apos;s contents, for example:</para>
+      <screen>mount -t ldiskfs /dev/sda /mnt/mgs 
+llog_reader /mnt/mgs/CONFIGS/tfs-client</screen>
+      <para>To examine the same log file on a running Lustre server, use the ldiskfs-enabled debugfs utility (called debug.ldiskfs on some distributions) to extract the file, for example:</para>
+      <screen>debugfs -c -R &apos;dump CONFIGS/tfs-client /tmp/tfs-client&apos; /dev/sda 
+llog_reader /tmp/tfs-client</screen>
+      <caution>
+        <para>Although they are stored in the CONFIGS directory, mountdata files do not use the configuration log format and will confuse the llog_reader utility.</para>
+      </caution>
+    </section>
+    <section remap="h5">
+      <title>See Also</title>
+      <para><xref linkend="dbdoclet.50438219_39574"/></para>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_23232">
+    <title><indexterm><primary>llstat</primary></indexterm>
+llstat</title>
+    <para>The llstat utility displays Lustre statistics.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>llstat [-c] [-g] [-i <replaceable>interval</replaceable>] <replaceable>stats_file
+</replaceable></screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The llstat utility displays statistics from any of the Lustre statistics files that share a common format and are updated at <literal>interval</literal> seconds. To stop statistics printing, use <literal>ctrl</literal>-<literal>c.</literal></para>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>-c</literal></para>
+              </entry>
+              <entry>
+                <para> Clears the statistics file.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-i</literal></para>
+              </entry>
+              <entry>
+                <para> Specifies the polling period (in seconds).</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-g</literal></para>
+              </entry>
+              <entry>
+                <para> Specifies graphable output format.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-h</literal></para>
+              </entry>
+              <entry>
+                <para> Displays help information.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>stats_file</literal></para>
+              </entry>
+              <entry>
+                <para> Specifies either the full path to a statistics file or the shorthand reference, <literal>mds</literal> or <literal>ost</literal></para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Example</title>
+      <para>To monitor /proc/fs/lustre/ost/OSS/ost/stats at 1 second intervals, run;</para>
+      <screen>llstat -i 1 ost</screen>
+    </section>
+    <section remap="h5">
+      <title>Files</title>
+      <para>The llstat files are located at:</para>
+      <screen>/proc/fs/lustre/mdt/MDS/*/stats
 /proc/fs/lustre/mds/*/exports/*/stats
 /proc/fs/lustre/mdc/*/stats
 /proc/fs/lustre/ldlm/services/*/stats
@@ -792,184 +1031,250 @@ llog_reader /tmp/tfs-client
 /proc/fs/lustre/obdfilter/*/stats
 /proc/fs/lustre/llite/*/stats
 </screen>
-      </section>
     </section>
-    <section xml:id="dbdoclet.50438219_23648">
-      <title>36.9 llverdev<anchor xml:id="dbdoclet.50438219_marker-1317750" xreflabel=""/></title>
-      <para>The llverdev verifies a block device is functioning properly over its full size.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>llverdev [-c <emphasis>chunksize</emphasis>] [-f] [-h] [-o <emphasis>offset</emphasis>] [-l] [-p] [-r] [-t <emphasis>timestamp</emphasis>] [-v] [-w] <emphasis>device</emphasis></screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>Sometimes kernel drivers or hardware devices have bugs that prevent them from accessing the full device size correctly, or possibly have bad sectors on disk or other problems which prevent proper data storage. There are often defects associated with major system boundaries such as 2^32 bytes, 2^31 sectors, 2^31 blocks, 2^32 blocks, etc.</para>
-        <para>The llverdev utility writes and verifies a unique test pattern across the entire device to ensure that data is accessible after it was written, and that data written to one part of the disk is not overwriting data on another part of the disk.</para>
-        <para>It is expected that llverdev will be run on large size devices (TB). It is always better to run llverdev in verbose mode, so that device testing can be easily restarted from the point where it was stopped.</para>
-        <para>Running a full verification can be time-consuming for very large devices. We recommend starting with a partial verification to ensure that the device is minimally sane before investing in a full verification.</para>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="3">
-            <colspec colname="c1" colwidth="33*"/>
-            <colspec colname="c2" colwidth="33*"/>
-            <colspec colname="c3" colwidth="33*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold"> </emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-c|--chunksize</emphasis></para></entry>
-                <entry><para> I/O chunk size in bytes (default value is 1048576).</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-f|--force</emphasis></para></entry>
-                <entry><para> Forces the test to run without a confirmation that the device will be overwritten and all data will be permanently destroyed.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-h|--help</emphasis></para></entry>
-                <entry><para> Displays a brief help message.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-o</emphasis><emphasis>offset</emphasis></para></entry>
-                <entry><para> Offset (in kilobytes) of the start of the test (default value is 0).</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-l|--long</emphasis></para></entry>
-                <entry><para> Runs a full check, writing and then reading and verifying every block on the disk.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-p|--partial</emphasis></para></entry>
-                <entry><para> Runs a partial check, only doing periodic checks across the device (1 GB steps).</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-r|--read</emphasis></para></entry>
-                <entry><para> Runs the test in read (verify) mode only, after having previously run the test in <emphasis role="bold">-w</emphasis> mode.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-t</emphasis><emphasis>timestamp</emphasis></para></entry>
-                <entry><para> Sets the test start time as printed at the start of a previously-interrupted test to ensure that validation data is the same across the entire filesystem (default value is the current time()).</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-v|--verbose</emphasis></para></entry>
-                <entry><para> Runs the test in verbose mode, listing each read and write operation.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">-w|--write</emphasis></para></entry>
-                <entry><para> Runs the test in write (test-pattern) mode (default runs both read and write).</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Examples</title>
-        <para>Runs a partial device verification on /dev/sda:</para>
-        <screen>llverdev -v -p /dev/sda 
+  </section>
+  <section xml:id="dbdoclet.50438219_23648">
+    <title><indexterm><primary>llverdev</primary></indexterm>
+llverdev</title>
+    <para>The llverdev verifies a block device is functioning properly over its full size.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>llverdev [-c <replaceable>chunksize</replaceable>] [-f] [-h] [-o <replaceable>offset</replaceable>] [-l] [-p] [-r] [-t <replaceable>timestamp</replaceable>] [-v] [-w] <replaceable>device</replaceable></screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>Sometimes kernel drivers or hardware devices have bugs that prevent them from accessing the full device size correctly, or possibly have bad sectors on disk or other problems which prevent proper data storage. There are often defects associated with major system boundaries such as 2^32 bytes, 2^31 sectors, 2^31 blocks, 2^32 blocks, etc.</para>
+      <para>The llverdev utility writes and verifies a unique test pattern across the entire device to ensure that data is accessible after it was written, and that data written to one part of the disk is not overwriting data on another part of the disk.</para>
+      <para>It is expected that llverdev will be run on large size devices (TB). It is always better to run llverdev in verbose mode, so that device testing can be easily restarted from the point where it was stopped.</para>
+      <para>Running a full verification can be time-consuming for very large devices. We recommend starting with a partial verification to ensure that the device is minimally sane before investing in a full verification.</para>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="3">
+          <colspec colname="c1" colwidth="33*"/>
+          <colspec colname="c2" colwidth="33*"/>
+          <colspec colname="c3" colwidth="33*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">&#160;</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-c|--chunksize</literal></para>
+              </entry>
+              <entry>
+                <para> I/O chunk size in bytes (default value is 1048576).</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>>-f|--force</literal>></para>
+              </entry>
+              <entry>
+                <para> Forces the test to run without a confirmation that the device will be overwritten and all data will be permanently destroyed.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-h|--help</literal></para>
+              </entry>
+              <entry>
+                <para> Displays a brief help message.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-o <replaceable>>offset</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Offset (in kilobytes) of the start of the test (default value is 0).</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-l|--long</literal></para>
+              </entry>
+              <entry>
+                <para> Runs a full check, writing and then reading and verifying every block on the disk.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-p|--partial</literal></para>
+              </entry>
+              <entry>
+                <para> Runs a partial check, only doing periodic checks across the device (1 GB steps).</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-r|--read</literal></para>
+              </entry>
+              <entry>
+                <para> Runs the test in read (verify) mode only, after having previously run the test in <literal>-w</literal> mode.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-t <replaceable>timestamp</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the test start time as printed at the start of a previously-interrupted
+                  test to ensure that validation data is the same across the entire file system
+                  (default value is the current time()).</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-v|--verbose</literal></para>
+              </entry>
+              <entry>
+                <para> Runs the test in verbose mode, listing each read and write operation.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>-w|--write</literal></para>
+              </entry>
+              <entry>
+                <para> Runs the test in write (test-pattern) mode (default runs both read and write).</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Examples</title>
+      <para>Runs a partial device verification on /dev/sda:</para>
+      <screen>llverdev -v -p /dev/sda 
 llverdev: permanently overwrite all data on /dev/sda (yes/no)? y 
 llverdev: /dev/sda is 4398046511104 bytes (4096.0 GB) in size 
 Timestamp: 1009839028 
-Current write offset: 4096 kB
-</screen>
-        <para>Continues an interrupted verification at offset 4096kB from the start of the device, using the same timestamp as the previous run:</para>
-        <screen>llverdev -f -v -p --offset=4096 --timestamp=1009839028 /dev/sda 
+Current write offset: 4096 kB</screen>
+      <para>Continues an interrupted verification at offset 4096kB from the start of the device, using the same timestamp as the previous run:</para>
+      <screen>llverdev -f -v -p --offset=4096 --timestamp=1009839028 /dev/sda 
 llverdev: /dev/sda is 4398046511104 bytes (4096.0 GB) in size 
 Timestamp: 1009839028 
 write complete 
-read complete 
-</screen>
-      </section>
+read complete </screen>
     </section>
-    <section xml:id="dbdoclet.50438219_64286">
-      <title>36.10 lshowmount<anchor xml:id="dbdoclet.50438219_marker-1317690" xreflabel=""/></title>
-      <para>The lshowmount utility shows Lustre exports.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>lshowmount [-ehlv]
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The lshowmount utility shows the hosts that have Lustre mounted to a server. Ths utility looks for exports from the MGS, MDS, and obdfilter.</para>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-          <row>
-            <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">-e|--enumerate</emphasis></para></entry>
-                <entry><para> Causes lshowmount to list each client mounted on a separate line instead of trying to compress the list of clients into a hostrange string.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-h|--help</emphasis></para></entry>
-                <entry><para> Causes lshowmount to print out a usage message.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-l|--lookup</emphasis></para></entry>
-                <entry><para> Causes lshowmount to try to look up the hostname for NIDs that look like IP addresses.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">-v|--verbose</emphasis></para></entry>
-                <entry><para> Causes lshowmount to output export information for each service instead of only displaying the aggregate information for all Lustre services on the server.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Files</title>
-        <screen>/proc/fs/lustre/mgs/&lt;server&gt;/exports/&lt;uuid&gt;/nid /proc/fs/lustre/mds/&lt;server&gt;/expo\
-rts/&lt;uuid&gt;/nid /proc/fs/lustre/obdfilter/&lt;server&gt;/exports/&lt;uuid&gt;/nid
-</screen>
-      </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_64286">
+    <title><indexterm><primary>lshowmount</primary></indexterm>
+lshowmount</title>
+    <para>The lshowmount utility shows Lustre exports.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>lshowmount [-ehlv]</screen>
     </section>
-    <section xml:id="dbdoclet.50438219_90218">
-      <title>36.11 l<anchor xml:id="dbdoclet.50438219_marker-1318121" xreflabel=""/><anchor xml:id="dbdoclet.50438219_marker-1318122" xreflabel=""/>st</title>
-      <para>The lst utility starts LNET self-test.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>lst
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>LNET self-test helps site administrators confirm that Lustre Networking (LNET) has been properly installed and configured. The self-test also confirms that LNET and the network software and hardware underlying it are performing as expected.</para>
-        <para>Each LNET self-test runs in the context of a session. A node can be associated with only one session at a time, to ensure that the session has exclusive use of the nodes on which it is running. A session is create, controlled and monitored from a single node; this is referred to as the self-test console.</para>
-        <para>Any node may act as the self-test console. Nodes are named and allocated to a self-test session in groups. This allows all nodes in a group to be referenced by a single name.</para>
-        <para>Test configurations are built by describing and running test batches. A test batch is a named collection of tests, with each test composed of a number of individual point-to-point tests running in parallel. These individual point-to-point tests are instantiated according to the test type, source group, target group and distribution specified when the test is added to the test batch.</para>
-      </section>
-      <section remap="h5">
-        <title>Modules</title>
-        <para>To run LNET self-test, load these modules: libcfs, lnet, lnet_selftest and any one of the klnds (ksocklnd, ko2iblnd...). To load all necessary modules, run modprobe lnet_selftest, which recursively loads the modules on which lnet_selftest depends.</para>
-        <para>There are two types of nodes for LNET self-test: the console node and test nodes. Both node types require all previously-specified modules to be loaded. (The userspace test node does not require these modules).</para>
-        <para>Test nodes can be in either kernel or in userspace. A console user can invite a kernel test node to join the test session by running lst add_group NID, but the user cannot actively add a userspace test node to the test session. However, the console user can passively accept a test node to the test session while the test node runs lst client to connect to the console.</para>
-      </section>
-      <section remap="h5">
-        <title>Utilities</title>
-        <para>LNET self-test includes two user utilities, lst and lstclient.</para>
-        <para>lst is the user interface for the self-test console (run on the console node). It provides a list of commands to control the entire test system, such as create session, create test groups, etc.</para>
-        <para>lstclient is the userspace self-test program which is linked with userspace LNDs and LNET. A user can invoke lstclient to join a self-test session:</para>
-        <screen>lstclient -sesid CONSOLE_NID group NAME
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Example Script</title>
-        <para>This is a sample LNET self-test script which simulates the traffic pattern of a set of Lustre servers on a TCP network, accessed by Lustre clients on an IB network (connected via LNET routers), with half the clients reading and half the clients writing.</para>
-        <screen>#!/bin/bash
+    <section remap="h5">
+      <title>Description</title>
+      <para>The lshowmount utility shows the hosts that have Lustre mounted to a server. This utility looks for exports from the MGS, MDS, and obdfilter.</para>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>-e|--enumerate</literal></para>
+              </entry>
+              <entry>
+                <para> Causes lshowmount to list each client mounted on a separate line instead of trying to compress the list of clients into a hostrange string.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-h|--help</literal></para>
+              </entry>
+              <entry>
+                <para> Causes lshowmount to print out a usage message.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-l|--lookup</literal></para>
+              </entry>
+              <entry>
+                <para> Causes lshowmount to try to look up the hostname for NIDs that look like IP addresses.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>-v|--verbose</literal></para>
+              </entry>
+              <entry>
+                <para> Causes lshowmount to output export information for each service instead of only displaying the aggregate information for all Lustre services on the server.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Files</title>
+      <screen>/proc/fs/lustre/mgs/<replaceable>server</replaceable>/exports/<replaceable>uuid</replaceable>/nid
+/proc/fs/lustre/mds/<replaceable>server</replaceable>/exports/<replaceable>uuid</replaceable>/nid
+/proc/fs/lustre/obdfilter/<replaceable>server</replaceable>/exports/<replaceable>uuid</replaceable>/nid</screen>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_90218">
+    <title><indexterm><primary>lst</primary></indexterm>
+lst</title>
+    <para>The lst utility starts LNET self-test.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>lst</screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>LNET self-test helps site administrators confirm that Lustre Networking (LNET) has been properly installed and configured. The self-test also confirms that LNET and the network software and hardware underlying it are performing as expected.</para>
+      <para>Each LNET self-test runs in the context of a session. A node can be associated with only one session at a time, to ensure that the session has exclusive use of the nodes on which it is running. A session is create, controlled and monitored from a single node; this is referred to as the self-test console.</para>
+      <para>Any node may act as the self-test console. Nodes are named and allocated to a self-test session in groups. This allows all nodes in a group to be referenced by a single name.</para>
+      <para>Test configurations are built by describing and running test batches. A test batch is a named collection of tests, with each test composed of a number of individual point-to-point tests running in parallel. These individual point-to-point tests are instantiated according to the test type, source group, target group and distribution specified when the test is added to the test batch.</para>
+    </section>
+    <section remap="h5">
+      <title>Modules</title>
+      <para>To run LNET self-test, load these modules: libcfs, lnet, lnet_selftest and any one of the klnds (ksocklnd, ko2iblnd...). To load all necessary modules, run modprobe lnet_selftest, which recursively loads the modules on which lnet_selftest depends.</para>
+      <para>There are two types of nodes for LNET self-test: the console node and test nodes. Both node types require all previously-specified modules to be loaded. (The userspace test node does not require these modules).</para>
+      <para>Test nodes can be in either kernel or in userspace. A console user can invite a kernel test node to join the test session by running lst add_group NID, but the user cannot actively add a userspace test node to the test session. However, the console user can passively accept a test node to the test session while the test node runs lst client to connect to the console.</para>
+    </section>
+    <section remap="h5">
+      <title>Utilities</title>
+      <para>LNET self-test includes two user utilities, lst and lstclient.</para>
+      <para>lst is the user interface for the self-test console (run on the console node). It provides a list of commands to control the entire test system, such as create session, create test groups, etc.</para>
+      <para>lstclient is the userspace self-test program which is linked with userspace LNDs and LNET. A user can invoke lstclient to join a self-test session:</para>
+      <screen>lstclient -sesid CONSOLE_NID group NAME</screen>
+    </section>
+    <section remap="h5">
+      <title>Example Script</title>
+      <para>This is a sample LNET self-test script which simulates the traffic pattern of a set of Lustre servers on a TCP network, accessed by Lustre clients on an IB network (connected via LNET routers), with half the clients reading and half the clients writing.</para>
+      <screen>#!/bin/bash
 export LST_SESSION=$$
 lst new_session read/write
 lst add_group servers 192.168.10.[8,10,12-16]@tcp
@@ -985,111 +1290,152 @@ lst run bulk_rw
 # display server stats for 30 seconds
 lst stat servers &amp; sleep 30; kill $!
 # tear down
-lst end_session 
-</screen>
-      </section>
-    </section>
-    <section xml:id="dbdoclet.50438219_54734">
-      <title>36.12 lustre_<anchor xml:id="dbdoclet.50438219_marker-1317379" xreflabel=""/>rmmod.sh</title>
-      <para>The lustre_rmmod.sh utility removes all Lustre and LNET modules (assuming no Lustre services are running). It is located in /usr/bin.</para>
-              <note><para>The lustre_rmmod.sh utility does not work if Lustre modules are being used or if you have manually run the lctl network up command.</para></note>
+lst end_session </screen>
     </section>
-    <section xml:id="dbdoclet.50438219_63667">
-      <title>36.13 lustre_<anchor xml:id="dbdoclet.50438219_marker-1317224" xreflabel=""/>rsync</title>
-      <para>The lustre_rsync utility synchronizes (replicates) a Lustre file system to a target file system.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>lustre_rsync --source|-s &lt;src&gt; --target|-t &lt;tgt&gt; 
-   --mdt|-m &lt;mdt&gt; [--user|-u &lt;user id&gt;]
-   [--xattr|-x &lt;yes|no&gt;] [--verbose|-v]
-   [--statuslog|-l &lt;log&gt;] [--dry-run] [--abort-on-err] 
+  </section>
+  <section xml:id="dbdoclet.50438219_54734">
+    <title><indexterm><primary>lustre_rmmod.sh</primary></indexterm>
+lustre_rmmod.sh</title>
+    <para>The lustre_rmmod.sh utility removes all Lustre and LNET modules (assuming no Lustre services are running). It is located in /usr/bin.</para>
+    <note>
+      <para>The lustre_rmmod.sh utility does not work if Lustre modules are being used or if you have manually run the lctl network up command.</para>
+    </note>
+  </section>
+  <section xml:id="dbdoclet.50438219_63667">
+    <title><indexterm><primary>lustre_rsync</primary></indexterm>
+lustre_rsync</title>
+    <para>The lustre_rsync utility synchronizes (replicates) a Lustre file system to a target file system.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>lustre_rsync --source|-s <replaceable>src</replaceable> --target|-t <replaceable>tgt</replaceable> 
+   --mdt|-m <replaceable>mdt</replaceable> [--user|-u <replaceable>userid</replaceable>]
+   [--xattr|-x <replaceable>yes|no</replaceable>] [--verbose|-v]
+   [--statuslog|-l <replaceable>log</replaceable>] [--dry-run] [--abort-on-err] 
  
-lustre_rsync --statuslog|-l &lt;log&gt;
+lustre_rsync --statuslog|-l <replaceable>log</replaceable>
  
-lustre_rsync --statuslog|-l &lt;log&gt; --source|-s &lt;source&gt;
-   --target|-t &lt;tgt&gt; --mdt|-m &lt;mdt&gt;
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The lustre_rsync utility is designed to synchronize (replicate) a Lustre file system (source) to another file system (target). The target can be a Lustre file system or any other type, and is a normal, usable file system. The synchronization operation is efficient and does not require directory walking, as lustre_rsync uses Lustre MDT changelogs to identify changes in the Lustre file system.</para>
-        <para>Before using lustre_rsync:</para>
-        <itemizedlist><listitem>
-            <para> A changelog user must be registered (see lctl (8) changelog_register)</para>
-          </listitem>
-
-</itemizedlist>
-        <para>- AND -</para>
-        <itemizedlist><listitem>
-            <para> Verify that the Lustre file system (source) and the replica file system (target) are identical before the changelog user is registered. If the file systems are discrepant, use a utility, e.g. regular rsync (not lustre_rsync) to make them identical.</para>
-          </listitem>
-
-</itemizedlist>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">--source=</emphasis><emphasis>&lt;src&gt;</emphasis></para></entry>
-                <entry><para> The path to the root of the Lustre file system (source) which will be synchronized. This is a mandatory option if a valid status log created during a previous synchronization operation (--statuslog) is not specified.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--target=</emphasis><emphasis>&lt;tgt&gt;</emphasis></para></entry>
-                <entry><para> The path to the root where the source file system will be synchronized (target). This is a mandatory option if the status log created during a previous synchronization operation (--statuslog) is not specified. This option can be repeated if multiple synchronization targets are desired.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--mdt=</emphasis><emphasis>&lt;mdt&gt;</emphasis></para></entry>
-                <entry><para> The metadata device to be synchronized. A changelog user must be registered for this device. This is a mandatory option if a valid status log created during a previous synchronization operation (--statuslog) is not specified.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--user=</emphasis><emphasis>&lt;user id&gt;</emphasis></para></entry>
-                <entry><para> The changelog user ID for the specified MDT. To use lustre_rsync, the changelog user must be registered. For details, see the changelog_register parameter in the lctl man page. This is a mandatory option if a valid status log created during a previous synchronization operation (--statuslog) is not specified.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--statuslog=</emphasis><emphasis>&lt;log&gt;</emphasis></para></entry>
-                <entry><para> A log file to which synchronization status is saved. When lustre_rsync starts, the state of a previous replication is read from here. If the status log from a previous synchronization operation is specified, otherwise mandatory options like --source, --target and --mdt options may be skipped. By specifying options like --source, --target and/or --mdt in addition to the --statuslog option, parameters in the status log can be overriden. Command line options take precedence over options in the status log.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--xattr</emphasis><emphasis>&lt;yes|no&gt;</emphasis></para></entry>
-                <entry><para> Specifies whether extended attributes (xattrs) are synchronized or not. The default is to synchronize extended attributes.</para><para>NOTE: Disabling xattrs causes Lustre striping information not to be synchronized.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--verbose</emphasis></para></entry>
-                <entry><para> Produces a verbose output.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--dry-run</emphasis></para></entry>
-                <entry><para> Shows the output of lustre_rsync commands (copy, mkdir, etc.) on the target file system without actually executing them.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--abort-on-err</emphasis></para></entry>
-                <entry><para> Shows the output of lustre_rsync commands (copy, mkdir, etc.) on the target file system without actually executing them.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Examples</title>
-        <para>Register a changelog user for an MDT (e.g., MDT lustre-MDT0000).</para>
-        <screen>$ ssh 
+lustre_rsync --statuslog|-l <replaceable>log</replaceable> --source|-s <replaceable>source</replaceable>
+   --target|-t <replaceable>tgt</replaceable> --mdt|-m <replaceable>mdt</replaceable></screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The lustre_rsync utility is designed to synchronize (replicate) a Lustre file system (source) to another file system (target). The target can be a Lustre file system or any other type, and is a normal, usable file system. The synchronization operation is efficient and does not require directory walking, as lustre_rsync uses Lustre MDT changelogs to identify changes in the Lustre file system.</para>
+      <para>Before using lustre_rsync:</para>
+      <itemizedlist>
+        <listitem>
+          <para>A changelog user must be registered (see lctl (8) changelog_register)</para>
+        </listitem>
+      </itemizedlist>
+      <para>- AND -</para>
+      <itemizedlist>
+        <listitem>
+          <para>Verify that the Lustre file system (source) and the replica file system (target) are identical before the changelog user is registered. If the file systems are discrepant, use a utility, e.g. regular rsync (not lustre_rsync) to make them identical.</para>
+        </listitem>
+      </itemizedlist>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>--source=<replaceable>src</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> The path to the root of the Lustre file system (source) which will be synchronized. This is a mandatory option if a valid status log created during a previous synchronization operation (--statuslog) is not specified.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--target=<replaceable>tgt</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> The path to the root where the source file system will be synchronized (target). This is a mandatory option if the status log created during a previous synchronization operation (--statuslog) is not specified. This option can be repeated if multiple synchronization targets are desired.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--mdt=<replaceable>mdt</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> The metadata device to be synchronized. A changelog user must be registered for this device. This is a mandatory option if a valid status log created during a previous synchronization operation (--statuslog) is not specified.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--user=<replaceable>userid</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> The changelog user ID for the specified MDT. To use lustre_rsync, the changelog user must be registered. For details, see the changelog_register parameter in the lctl man page. This is a mandatory option if a valid status log created during a previous synchronization operation (--statuslog) is not specified.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--statuslog=<replaceable>log</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> A log file to which synchronization status is saved. When lustre_rsync starts, the state of a previous replication is read from here. If the status log from a previous synchronization operation is specified, otherwise mandatory options like --source, --target and --mdt options may be skipped. By specifying options like --source, --target and/or --mdt in addition to the --statuslog option, parameters in the status log can be overridden. Command line options take precedence over options in the status log.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--xattr<replaceable>yes|no</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Specifies whether extended attributes (xattrs) are synchronized or not. The default is to synchronize extended attributes.</para>
+                <para>NOTE: Disabling xattrs causes Lustre striping information not to be synchronized.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--verbose</literal></para>
+              </entry>
+              <entry>
+                <para> Produces a verbose output.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--dry-run</literal></para>
+              </entry>
+              <entry>
+                <para> Shows the output of lustre_rsync commands (copy, mkdir, etc.) on the target file system without actually executing them.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--abort-on-err</literal></para>
+              </entry>
+              <entry>
+                <para> Shows the output of lustre_rsync commands (copy, mkdir, etc.) on the target file system without actually executing them.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Examples</title>
+      <para>Register a changelog user for an MDT (e.g., MDT lustre-MDT0000).</para>
+      <screen>$ ssh 
 $ MDS lctl changelog_register \
            --device lustre-MDT0000 -n 
-cl1
-</screen>
-        <para> </para>
-        <para>Synchronize/replicate a Lustre file system (/mnt/lustre) to a target file system (/mnt/target).</para>
-        <screen>$ lustre_rsync --source=/mnt/lustre --target=/mnt/target \ 
+cl1</screen>
+      <para>Synchronize/replicate a Lustre file system (/mnt/lustre) to a target file system (/mnt/target).</para>
+      <screen>$ lustre_rsync --source=/mnt/lustre --target=/mnt/target \ 
            --mdt=lustre-MDT0000 --user=cl1 \ 
            --statuslog replicate.log  --verbose 
 Lustre filesystem: lustre 
@@ -1103,9 +1449,8 @@ Errors: 0
 lustre_rsync took 1 seconds 
 Changelog records consumed: 22
 </screen>
-        <para> </para>
-        <para>After the file system undergoes changes, synchronize the changes with the target file system. Only the statuslog name needs to be specified, as it has all the parameters passed earlier.</para>
-        <screen>$ lustre_rsync --statuslog replicate.log --verbose 
+      <para>After the file system undergoes changes, synchronize the changes with the target file system. Only the statuslog name needs to be specified, as it has all the parameters passed earlier.</para>
+      <screen>$ lustre_rsync --statuslog replicate.log --verbose 
 Replicating Lustre filesystem: lustre 
 MDT device: lustre-MDT0000 
 Source: /mnt/lustre 
@@ -1115,683 +1460,1180 @@ Changelog registration: cl1
 Starting changelog record: 22 
 Errors: 0 
 lustre_rsync took 2 seconds 
-Changelog records consumed: 42
-</screen>
-        <para> </para>
-        <para>Synchronize a Lustre file system (/mnt/lustre) to two target file systems (/mnt/target1 and /mnt/target2).</para>
-        <screen>$ lustre_rsync --source=/mnt/lustre \ 
+Changelog records consumed: 42</screen>
+      <para>Synchronize a Lustre file system (/mnt/lustre) to two target file systems (/mnt/target1 and /mnt/target2).</para>
+      <screen>$ lustre_rsync --source=/mnt/lustre \ 
    --target=/mnt/target1 --target=/mnt/target2 \ 
    --mdt=lustre-MDT0000 --user=cl1 
-   --statuslog replicate.log
-</screen>
-      </section>
-      <section remap="h5">
-        <title>See Also</title>
-        <para><xref linkend="dbdoclet.50438206_94597"/></para>
-      </section>
+   --statuslog replicate.log</screen>
     </section>
-    <section xml:id="dbdoclet.50438219_75432">
-      <title>36.14 mkfs.<anchor xml:id="dbdoclet.50438219_marker-1316695" xreflabel=""/>lustre</title>
-      <para>The mkfs.lustre utility formats a disk for a Lustre service.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>mkfs.lustre &lt;target_type&gt; [options] device
-</screen>
-        <para>where &lt;target_type&gt; is one of the following:</para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">--ost</emphasis></para></entry>
-                <entry><para> Object Storage Target (OST)</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--mdt</emphasis></para></entry>
-                <entry><para> Metadata Storage Target (MDT)</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--network=</emphasis><emphasis>net,...</emphasis></para></entry>
-                <entry><para> Network(s) to which to restrict this OST/MDT. This option can be repeated as necessary.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--mgs</emphasis></para></entry>
-                <entry><para> Configuration Management Service (MGS), one per site. This service can be combined with one <emphasis role="bold">--mdt</emphasis> service by specifying both types.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>mkfs.lustre is used to format a disk device for use as part of a Lustre file system. After formatting, a disk can be mounted to start the Lustre service defined by this command.</para>
-        <para>When the file system is created, parameters can simply be added as a --param option to the mkfs.lustre command. See <xref linkend="dbdoclet.50438194_17237"/>.</para>
-        <informaltable frame="all">
-          <tgroup cols="3">
-            <colspec colname="c1" colwidth="33*"/>
-            <colspec colname="c2" colwidth="33*"/>
-            <colspec colname="c3" colwidth="33*"/>
-            <thead>
-              <row>
-                <entry nameend="c2" namest="c1"><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--backfstype</emphasis>=<emphasis>fstype</emphasis></para></entry>
-                <entry><para> Forces a particular format for the backing file system (such as ext3, ldiskfs).</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--comment</emphasis>=<emphasis>comment</emphasis></para></entry>
-                <entry><para> Sets a user comment about this disk, ignored by Lustre.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--device-size</emphasis>=<emphasis>KB</emphasis></para></entry>
-                <entry><para> Sets the device size for loop devices.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--dryrun</emphasis></para></entry>
-                <entry><para> Only prints what would be done; it does not affect the disk.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--failnode</emphasis>=<emphasis>nid</emphasis>,...</para></entry>
-                <entry><para> Sets the NID(s) of a failover partner. This option can be repeated as needed.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--fsname</emphasis>=<emphasis>filesystem_name</emphasis></para></entry>
-                <entry><para> The Lustre file system of which this service/node will be a part. The default file system name is 'lustreâ€.</para><para> </para><note><para>The file system name is limited to 8 characters.</para></note></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--index</emphasis>=<emphasis>index</emphasis></para></entry>
-                <entry><para>  Forces a particular OST or MDT index.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--mkfsoptions</emphasis>=<emphasis>opts</emphasis></para></entry>
-                <entry><para>  Formats options for the backing file system. For example, ext3 options could be set here.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--mountfsoptions</emphasis>=<emphasis>opts</emphasis></para></entry>
-                <entry><para>  Sets the mount options used when the backing file system is mounted.</para><para><emphasis role="bold">CAUTION</emphasis>: Unlike earlier versions of mkfs.lustre, this version completely replaces the default mount options with those specified on the command line, and issues a warning on stderr if any default mount options are omitted.</para><para>The defaults for ldiskfs are:</para><para>OST: <emphasis>errors=remount-ro,mballoc,extents</emphasis>;</para><para>MGS/MDT: <emphasis>errors=remount-ro,iopen_nopriv,user_xattr</emphasis></para><para>Do not alter the default mount options unless you know what you are doing.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--network</emphasis>=<emphasis>net</emphasis>,...</para><para> </para></entry>
-                <entry><para>  Network(s) to which to restrict this OST/MDT. This option can be repeated as necessary.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--mgsnode</emphasis>=<emphasis>nid</emphasis>,...</para></entry>
-                <entry><para> Sets the NIDs of the MGS node, required for all targets other than the MGS.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--param</emphasis><emphasis>key</emphasis>=<emphasis>value</emphasis></para></entry>
-                <entry><para> Sets the permanent parameter <emphasis>key</emphasis> to value <emphasis>value</emphasis>. This option can be repeated as necessary. Typical options might include:</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> --<emphasis>param sys.timeout=40</emphasis></para></entry>
-                <entry><para> System obd timeout.</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> --<emphasis>param lov.stripesize=2M</emphasis></para></entry>
-                <entry><para> Default stripe size.</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> --<emphasis>param lov.stripecount=2</emphasis></para></entry>
-                <entry><para> Default stripe count.</para></entry>
-              </row>
-              <row>
-                <entry><para>  </para></entry>
-                <entry><para> --<emphasis>param failover.mode=failout</emphasis></para></entry>
-                <entry><para> Returns errors instead of waiting for recovery.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--quiet</emphasis></para></entry>
-                <entry><para> Prints less information.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--reformat</emphasis></para></entry>
-                <entry><para> Reformats an existing Lustre disk.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--stripe-count-hint=stripes</emphasis></para></entry>
-                <entry><para> Used to optimize the MDT's inode size.</para></entry>
-              </row>
-              <row>
-                <entry nameend="c2" namest="c1"><para> <emphasis role="bold">--verbose</emphasis></para></entry>
-                <entry><para> Prints more information.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Examples</title>
-        <para>Creates a combined MGS and MDT for file system <emphasis role="bold">testfs</emphasis> on, e.g., node <emphasis role="bold">cfs21</emphasis>:</para>
-        <screen>mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda1
-</screen>
-        <para>Creates an OST for file system <emphasis role="bold">testfs</emphasis> on any node (using the above MGS):</para>
-        <screen>mkfs.lustre --fsname=testfs --ost --mgsnode=cfs21@tcp0 /dev/sdb
-</screen>
-        <para>Creates a standalone MGS on, e.g., node <emphasis role="bold">cfs22</emphasis>:</para>
-        <screen>mkfs.lustre --mgs /dev/sda1
-</screen>
-        <para>Creates an MDT for file system <emphasis role="bold">myfs1</emphasis> on any node (using the above MGS):</para>
-        <screen>mkfs.lustre --fsname=myfs1 --mdt --mgsnode=cfs22@tcp0 /dev/sda2
-</screen>
-      </section>
-      <section remap="h5">
-        <title>See Also</title>
-        <itemizedlist>
-            <listitem>
-            <para><xref linkend="dbdoclet.50438219_75432"/>mkfs.lustre, </para>
-            </listitem> <listitem>
-            <para><xref linkend="dbdoclet.50438219_12635"/>mount.lustre, </para>
-            </listitem> <listitem>
-            <para><xref linkend="dbdoclet.50438206_94597"/>lfs</para>
-            </listitem>
-    </itemizedlist>
-      </section>
+    <section remap="h5">
+      <title>See Also</title>
+      <para><xref linkend="dbdoclet.50438206_94597"/></para>
     </section>
-    <section xml:id="dbdoclet.50438219_12635">
-      <title>36.15 mount.<anchor xml:id="dbdoclet.50438219_marker-1310637" xreflabel=""/>lustre</title>
-      <para>The mount.lustre utility starts a Lustre client or target service.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>mount -t lustre [-o options] directory
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The mount.lustre utility starts a Lustre client or target service. This program should not be called directly; rather, it is a helper program invoked through mount(8), as shown above. Use the umount command to stop Lustre clients and targets.</para>
-        <para>There are two forms for the device option, depending on whether a client or a target service is started:</para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis>&lt;mgsspec&gt;:/&lt;fsname&gt;</emphasis></para><para> </para></entry>
-                <entry><para> Mounts the Lustre file system named <emphasis>fsname</emphasis> on the client by contacting the Management Service at <emphasis>mgsspec</emphasis> on the pathname given by <emphasis>directory</emphasis>. The format for <emphasis>mgsspec</emphasis> is defined below. A mounted client file system appears in fstab(5) and is usable, like any local file system, and provides a full POSIX-compliant interface.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis>&lt;disk_device&gt;</emphasis></para></entry>
-                <entry><para> Starts the target service defined by the mkfs.lustre command on the physical disk <emphasis>disk_device</emphasis>. A mounted target service file system is only useful for df(1) operations and appears in fstab(5) to show the device is in use.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">&lt;mgsspec&gt;:</emphasis>=<emphasis>&lt;mgsnode&gt;[:&lt;mgsnode&gt;]</emphasis></para><para> </para></entry>
-                <entry><para> The MGS specification may be a colon-separated list of nodes.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">&lt;mgsnode&gt;:</emphasis>=<emphasis>&lt;mgsnid&gt;[,&lt;mgsnid&gt;]</emphasis></para></entry>
-                <entry><para> Each node may be specified by a comma-separated list of NIDs.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-        <para>In addition to the standard mount options, Lustre understands the following client-specific options:</para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">flock</emphasis></para></entry>
-                <entry><para> Enables full flock support, coherent across all client nodes.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">localflock</emphasis></para></entry>
-                <entry><para> Enables local flock support, using only client-local flock (faster, for applications that require flock, but do not run on multiple nodes).</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">noflock</emphasis></para></entry>
-                <entry><para> Disables flock support entirely. Applications calling flock get an error. It is up to the administrator to choose either <emphasis role="bold">localflock</emphasis> (fastest, low impact, not coherent between nodes) or <emphasis role="bold">flock</emphasis> (slower, performance impact for use, coherent between nodes).</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">user_xattr</emphasis></para></entry>
-                <entry><para> Enables get/set of extended attributes by regular users. See the attr(5) manual page.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">nouser_xattr</emphasis></para></entry>
-                <entry><para> Disables use of extended attributes by regular users. Root and system processes can still use extended attributes.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">acl</emphasis></para></entry>
-                <entry><para> Enables POSIX Access Control List support. See the acl(5) manual page.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">noacl</emphasis></para></entry>
-                <entry><para> Disables Access Control List support.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-        <para>In addition to the standard mount options and backing disk type (e.g. ext3) options, Lustre understands the following server-specific options:</para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">nosvc</emphasis></para></entry>
-                <entry><para>  Starts the MGC (and MGS, if co-located) for a target service, not the actual service.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">nomsgs</emphasis></para></entry>
-                <entry><para>  Starts only the MDT (with a co-located MGS), without starting the MGS.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">exclude=&lt;ostlist&gt;</emphasis></para></entry>
-                <entry><para>  Starts a client or MDT with a colon-separated list of known inactive OSTs.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">nosvc</emphasis></para></entry>
-                <entry><para>  Only starts the MGC (and MGS, if co-located) for a target service, not the actual service.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">nomsgs</emphasis></para></entry>
-                <entry><para>  Starts a MDT with a co-located MGS, without starting the MGS.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">exclude</emphasis>=<emphasis>ostlist</emphasis></para></entry>
-                <entry><para>  Starts a client or MDT with a (colon-separated) list of known inactive OSTs.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">abort_recov</emphasis></para></entry>
-                <entry><para>  Aborts client recovery and starts the target service immediately.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">md_stripe_cache_size</emphasis></para></entry>
-                <entry><para>  Sets the stripe cache size for server-side disk with a striped RAID configuration.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">recovery_time_soft</emphasis>=<emphasis>timeout</emphasis></para></entry>
-                <entry><para>  Allows <emphasis>timeout</emphasis> seconds for clients to reconnect for recovery after a server crash. This timeout is incrementally extended if it is about to expire and the server is still handling new connections from recoverable clients. The default soft recovery timeout is 300 seconds (5 minutes).</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">recovery_time_hard</emphasis>=<emphasis>timeout</emphasis></para></entry>
-                <entry><para>  The server is allowed to incrementally extend its timeout up to a hard maximum of <emphasis>timeout</emphasis> seconds. The default hard recovery timeout is set to 900 seconds (15 minutes).</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Examples</title>
-        <para>Starts a client for the Lustre file system testfs at mount point /mnt/myfilesystem. The Management Service is running on a node reachable from this client via the cfs21@tcp0 NID.</para>
-        <screen>mount -t lustre cfs21@tcp0:/testfs /mnt/myfilesystem
-</screen>
-         <para>Starts the Lustre metadata target service from /dev/sda1 on mount point /mnt/test/mdt.</para>
-        <screen>mount -t lustre /dev/sda1 /mnt/test/mdt
-</screen>
-         <para>Starts the testfs-MDT0000 service (using the disk label), but aborts the recovery process.</para>
-        <screen>mount -t lustre -L testfs-MDT0000 -o abort_recov /mnt/test/mdt
-</screen>
-      </section>
-      <section remap="h5">
-        <title>See Also</title>
-
-        <itemizedlist><listitem>
-            <para>  <xref linkend="dbdoclet.50438219_75432"/></para>
-            </listitem> <listitem>
-            <para>  <xref linkend="dbdoclet.50438219_39574"/></para>
-            </listitem> <listitem>
-            <para>  <xref linkend="dbdoclet.50438219_38274"/></para>
-            </listitem> <listitem>
-            <para>  <xref linkend="dbdoclet.50438206_94597"/></para>
-            </listitem>
-        </itemizedlist>
-      </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_75432">
+    <title><indexterm><primary>mkfs.lustre</primary></indexterm>
+mkfs.lustre</title>
+    <para>The <literal>mkfs.lustre</literal> utility formats a disk for a Lustre service.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>mkfs.lustre <replaceable>target_type</replaceable> [options] <replaceable>device</replaceable></screen>
+      <para>where <replaceable>target_type</replaceable> is one of the following:</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>--ost</literal></para>
+              </entry>
+              <entry>
+                <para> Object storage target (OST)</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--mdt</literal></para>
+              </entry>
+              <entry>
+                <para> Metadata storage target (MDT)</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--network=<replaceable>net,...</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Network(s) to which to restrict this OST/MDT. This option can be repeated as necessary.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--mgs</literal></para>
+              </entry>
+              <entry>
+                <para> Configuration management service (MGS), one per site. This service can be
+                  combined with one <literal>--mdt</literal> service by specifying both
+                  types.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
     </section>
-    <section xml:id="dbdoclet.50438219_82679">
-      <title>36.16 plot-<anchor xml:id="dbdoclet.50438219_marker-1317989" xreflabel=""/>llstat</title>
-      <para>The plot-llstat utility plots Lustre statistics.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>plot-llstat results_filename [parameter_index]
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The plot-llstat utility generates a CSV file and instruction files for gnuplot from the output of llstat. Since llstat is generic in nature, plot-llstat is also a generic script. The value of parameter_index can be 1 for count per interval, 2 for count per second (default setting) or 3 for total count.</para>
-        <para>The plot-llstat utility creates a .dat (CSV) file using the number of operations specified by the user. The number of operations equals the number of columns in the CSV file. The values in those columns are equal to the corresponding value of parameter_index in the output file.</para>
-        <para>The plot-llstat utility also creates a .scr file that contains instructions for gnuplot to plot the graph. After generating the .dat and .scr files, the plot-llstat tool invokes gnuplot to display the graph.</para>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">results_filename</emphasis></para></entry>
-                <entry><para> Output generated by plot-llstat</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">parameter_index</emphasis></para><para> </para></entry>
-                <entry><para> Value of parameter_index can be:</para><para> 1 - count per interval</para><para> 2 - count per second (default setting)</para><para> 3 - total count</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Example</title>
-        <screen>llstat -i2 -g -c lustre-OST0000 &gt; log
-plot-llstat log 3
-</screen>
-      </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para><literal>mkfs.lustre</literal> is used to format a disk device for use as part of a
+        Lustre file system. After formatting, a disk can be mounted to start the Lustre service
+        defined by this command.</para>
+      <para>When the file system is created, parameters can simply be added as a
+          <literal>--param</literal> option to the <literal>mkfs.lustre</literal> command. See <xref
+          linkend="dbdoclet.50438194_17237"/>.</para>
+      <informaltable frame="all">
+        <tgroup cols="3">
+          <colspec colname="c1" colwidth="1*"/>
+          <colspec colname="c2" colwidth="1*"/>
+          <colspec colname="c3" colwidth="3*"/>
+          <thead>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--backfstype=<replaceable>fstype</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Forces a particular format for the backing file system such as ldiskfs (the default) or zfs.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--comment=<replaceable>comment</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets a user comment about this disk, ignored by the Lustre software.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--device-size=<replaceable>#</replaceable>>KB</literal></para>
+              </entry>
+              <entry>
+                <para>Sets the device size for loop devices.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--dryrun</literal></para>
+              </entry>
+              <entry>
+                <para>Only prints what would be done; it does not affect the disk.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1"
+                    ><literal>--servicenode=<replaceable>nid,...</replaceable></literal></entry>
+              <entry>Sets the NID(s) of all service nodes, including primary and failover partner
+                service nodes. The <literal>--servicenode</literal> option cannot be used with
+                  <literal>--failnode</literal> option. See <xref
+                  xmlns:xlink="http://www.w3.org/1999/xlink" linkend="dbdoclet.50438188_92688"/> for
+                more details.</entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--failnode=<replaceable>nid,...</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para>Sets the NID(s) of a failover service node for a primary server for a target.
+                  The <literal>--failnode</literal> option cannot be used with
+                    <literal>--servicenode</literal> option. See <xref
+                    xmlns:xlink="http://www.w3.org/1999/xlink" linkend="dbdoclet.50438188_92688"/>
+                  for more details.<note>
+                    <para>When the <literal>--failnode</literal> option is used, certain
+                      restrictions apply (see <xref xmlns:xlink="http://www.w3.org/1999/xlink"
+                        linkend="dbdoclet.50438188_92688"/>).</para>
+                  </note></para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--fsname=<replaceable>filesystem_name</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> The Lustre file system of which this service/node will be a part. The default
+                  file system name is <literal>lustre</literal>.</para>
+                <para>&#160;</para>
+                <note>
+                  <para>The file system name is limited to 8 characters.</para>
+                </note>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para>
+                  <literal>--index=<replaceable>index_number</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para>Specifies the OST or MDT number (0...N). This allows mapping between the OSS
+                  and MDS node and the device on which the OST or MDT is located.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--mkfsoptions=<replaceable>opts</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para>  Formats options for the backing file system. For example, ext3 options could be set here.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--mountfsoptions=<replaceable>opts</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para>  Sets the mount options used when the backing file system is mounted.</para>
+                <warning><para>Unlike earlier versions of <literal>mkfs.lustre</literal>, this version completely replaces
+                    the default mount options with those specified on the command line, and issues a
+                    warning on stderr if any default mount options are omitted.</para></warning>
+                <para>The defaults for ldiskfs are:</para>
+                <para>MGS/MDT: <literal>errors=remount-ro,iopen_nopriv,user_xattr</literal></para>
+                <para>OST: <literal>errors=remount-ro,extents,mballoc</literal></para>
+                <para condition='l25'>OST: <literal>errors=remount-ro</literal></para>
+                <para>Use care when altering the default mount options.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--network=<replaceable>net,...</replaceable></literal></para>
+                <para>&#160;</para>
+              </entry>
+              <entry>
+                <para>  Network(s) to which to restrict this OST/MDT. This option can be repeated as necessary.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--mgsnode=<replaceable>nid,...</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the NIDs of the MGS node, required for all targets other than the MGS.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--param <replaceable>key</replaceable>=<replaceable>value</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the permanent parameter <replaceable>key</replaceable> to value <replaceable>value</replaceable>. This option can be repeated as necessary. Typical options might include:</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>--param sys.timeout=40</literal>></para>
+              </entry>
+              <entry>
+                <para> System obd timeout.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>--param lov.stripesize=2M</literal></para>
+              </entry>
+              <entry>
+                <para> Default stripe size.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>param lov.stripecount=2</literal></para>
+              </entry>
+              <entry>
+                <para> Default stripe count.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> &#160;</para>
+              </entry>
+              <entry>
+                <para> <literal>--param failover.mode=failout</literal></para>
+              </entry>
+              <entry>
+                <para> Returns errors instead of waiting for recovery.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--quiet</literal></para>
+              </entry>
+              <entry>
+                <para> Prints less information.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--reformat</literal></para>
+              </entry>
+              <entry>
+                <para> Reformats an existing Lustre disk.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--stripe-count-hint=stripes</literal></para>
+              </entry>
+              <entry>
+                <para> Used to optimize the MDT&apos;s inode size.</para>
+              </entry>
+            </row>
+            <row>
+              <entry nameend="c2" namest="c1">
+                <para> <literal>--verbose</literal></para>
+              </entry>
+              <entry>
+                <para> Prints more information.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
     </section>
-    <section xml:id="dbdoclet.50438219_51496">
-      <title>36.17 router<anchor xml:id="dbdoclet.50438219_marker-1317921" xreflabel=""/>stat</title>
-      <para>The routerstat utility prints Lustre router statistics.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>routerstat [interval]
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>The routerstat utility watches LNET router statistics. If no <emphasis>interval</emphasis> is specified, then statistics are sampled and printed only one time. Otherwise, statistics are sampled and printed at the specified <emphasis>interval</emphasis> (in seconds).</para>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <para>The routerstat output includes the following fields:</para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">M</emphasis></para></entry>
-                <entry><para> msgs_alloc(msgs_max)</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">E</emphasis></para></entry>
-                <entry><para> errors</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">S</emphasis></para></entry>
-                <entry><para> send_count/send_length</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">R</emphasis></para></entry>
-                <entry><para> recv_count/recv_length</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">F</emphasis></para></entry>
-                <entry><para> route_count/route_length</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">D</emphasis></para></entry>
-                <entry><para> drop_count/drop_length</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Files</title>
-        <para>The routerstat utility extracts statistics data from:</para>
-        <screen>/proc/sys/lnet/stats
-</screen>
-      </section>
+    <section remap="h5">
+      <title>Examples</title>
+      <para>Creates a combined MGS and MDT for file system <literal>testfs</literal> on, e.g., node <literal>cfs21</literal>:</para>
+      <screen>mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda1</screen>
+      <para>Creates an OST for file system <literal>testfs</literal> on any node (using the above
+        MGS):</para>
+      <screen>mkfs.lustre --fsname=testfs --mgsnode=cfs21@tcp0 --ost --index=0 /dev/sdb</screen>
+      <para>Creates a standalone MGS on, e.g., node <literal>cfs22</literal>:</para>
+      <screen>mkfs.lustre --mgs /dev/sda1</screen>
+      <para>Creates an MDT for file system <literal>myfs1</literal> on any node (using the above MGS):</para>
+      <screen>mkfs.lustre --fsname=myfs1 --mdt --mgsnode=cfs22@tcp0 /dev/sda2</screen>
     </section>
-    <section xml:id="dbdoclet.50438219_39574">
-      <title>36.18 tunefs.<anchor xml:id="dbdoclet.50438219_marker-1317076" xreflabel=""/>lustre</title>
-      <para>The tunefs.lustre utility modifies configuration information on a Lustre target disk.</para>
-      <section remap="h5">
-        <title>Synopsis</title>
-        <screen>tunefs.lustre [options] &lt;device&gt;
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Description</title>
-        <para>tunefs.lustre is used to modify configuration information on a Lustre target disk. This includes upgrading old (pre-Lustre 1.6) disks. This does not reformat the disk or erase the target information, but modifying the configuration information can result in an unusable file system.</para>
-        <informaltable frame="none">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="5*"/>
-            <colspec colname="c2" colwidth="95*"/>
-            
-            
-            <tbody>
-              <row>
-                <entry><para><inlinemediaobject><imageobject role="html">
-                        <imagedata fileref="./shared/caution.gif" scalefit="1"/>
-                      </imageobject>
-<imageobject role="fo">
-                        <imagedata contentdepth="100%" contentwidth="" depth="" fileref="./shared/caution.gif" scalefit="1" width="100%"/>
-                      </imageobject>
-</inlinemediaobject></para></entry>
-                <entry><para><emphasis role="bold">Caution -</emphasis>Changes made here affect a file system only when the target is mounted the next time.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-         <para>With tunefs.lustre, parameters are &quot;additive&quot; -- new parameters are specified in addition to old parameters, they do not replace them. To erase all old tunefs.lustre parameters and just use newly-specified parameters, run:</para>
-        <screen>$ tunefs.lustre --erase-params --param=&lt;new parameters&gt; </screen>
-        <para>The tunefs.lustre command can be used to set any parameter settable in a /proc/fs/lustre file and that has its own OBD device, so it can be specified as &lt;obd|fsname&gt;.&lt;obdtype&gt;.&lt;proc_file_name&gt;=&lt;value&gt;. For example:</para>
-        <screen>$ tunefs.lustre --param mdt.group_upcall=NONE /dev/sda1
-</screen>
-      </section>
-      <section remap="h5">
-        <title>Options</title>
-        <para>The tunefs.lustre options are listed and explained below.</para>
-        <informaltable frame="all">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <thead>
-              <row>
-                <entry><para><emphasis role="bold">Option</emphasis></para></entry>
-                <entry><para><emphasis role="bold">Description</emphasis></para></entry>
-              </row>
-            </thead>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">--comment</emphasis>=<emphasis>comment</emphasis></para></entry>
-                <entry><para> Sets a user comment about this disk, ignored by Lustre.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--dryrun</emphasis></para></entry>
-                <entry><para> Only prints what would be done; does not affect the disk.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--erase-params</emphasis></para></entry>
-                <entry><para> Removes all previous parameter information.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--failnode</emphasis>=<emphasis>nid</emphasis>,...</para></entry>
-                <entry><para> Sets the NID(s) of a failover partner. This option can be repeated as needed.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--fsname</emphasis>=<emphasis>filesystem_name</emphasis></para></entry>
-                <entry><para> The Lustre file system of which this service will be a part. The default file system name is 'lustreâ€.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--index</emphasis>=index</para></entry>
-                <entry><para> Forces a particular OST or MDT index.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--mountfsoptions</emphasis>=opts</para></entry>
-                <entry><para> Sets the mount options used when the backing file system is mounted.</para><para><emphasis role="bold">CAUTION</emphasis>: Unlike earlier versions of tunefs.lustre, this version completely replaces the existing mount options with those specified on the command line, and issues a warning on stderr if any default mount options are omitted.</para><para>The defaults for ldiskfs are:</para><para>OST: <emphasis>errors=remount-ro,mballoc,extents</emphasis>;</para><para>MGS/MDT: <emphasis>errors=remount-ro,iopen_nopriv,user_xattr</emphasis></para><para>Do not alter the default mount options unless you know what you are doing.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--network</emphasis>=net,...</para></entry>
-                <entry><para> Network(s) to which to restrict this OST/MDT. This option can be repeated as necessary.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--mgs</emphasis></para></entry>
-                <entry><para> Adds a configuration management service to this target.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--msgnode</emphasis>=<emphasis>nid</emphasis>,...</para></entry>
-                <entry><para> Sets the NID(s) of the MGS node; required for all targets other than the MGS.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--nomgs</emphasis></para></entry>
-                <entry><para> Removes a configuration management service to this target.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--quiet</emphasis></para></entry>
-                <entry><para> Prints less information.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--verbose</emphasis></para></entry>
-                <entry><para> Prints more information.</para></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">--writeconf</emphasis></para></entry>
-                <entry><para> Erases all configuration logs for the file system to which this MDT belongs, and regenerates them. This is dangerous operation. All clients must be unmounted and servers for this file system should be stopped. All targets (OSTs/MDTs) must then be restarted to regenerate the logs. No clients should be started until all targets have restarted.</para><para> </para><para>The correct order of operations is:</para><para>* Unmount all clients on the file system</para><para>* Unmount the MDT and all OSTs on the file system</para><para>* Run <emphasis role="bold">tunefs.lustre --writeconf &lt;device&gt;</emphasis> on every server</para><para>* Mount the MDT and OSTs</para><para>* Mount the clients</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-      </section>
-      <section remap="h5">
-        <title>Examples</title>
-        <para>Change the MGS's NID address. (This should be done on each target disk, since they should all contact the same MGS.)</para>
-        <screen>tunefs.lustre --erase-param --mgsnode=&lt;new_nid&gt; --writeconf /dev/sda
+    <section remap="h5">
+      <title>See Also</title>
+      <itemizedlist>
+        <listitem>
+          <para><xref linkend="dbdoclet.50438219_75432"/>mkfs.lustre, </para>
+        </listitem>
+        <listitem>
+          <para><xref linkend="dbdoclet.50438219_12635"/>mount.lustre, </para>
+        </listitem>
+        <listitem>
+          <para><xref linkend="dbdoclet.50438206_94597"/>lfs</para>
+        </listitem>
+      </itemizedlist>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_12635">
+    <title><indexterm><primary>mount.lustre</primary></indexterm>
+mount.lustre</title>
+    <para>The mount.lustre utility starts a Lustre client or target service.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>mount -t lustre [-o options] directory
 </screen>
-        <para>Add a failover NID location for this target.</para>
-        <screen>tunefs.lustre --param=&quot;failover.node=192.168.0.13@tcp0&quot; /dev/sda 
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The mount.lustre utility starts a Lustre client or target service. This program should not be called directly; rather, it is a helper program invoked through mount(8), as shown above. Use the umount command to stop Lustre clients and targets.</para>
+      <para>There are two forms for the device option, depending on whether a client or a target service is started:</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal><replaceable>mgs_nid</replaceable>:/<replaceable>fsname</replaceable></literal></para>
+                <para>&#160;</para>
+              </entry>
+              <entry>
+                <para> Mounts the Lustre file system named <literal>fsname</literal> on the client
+                  by contacting the Management Service at <literal>mgsspec</literal> on the pathname
+                  given by <literal>directory</literal>. The format for <literal>mgsspec</literal>
+                  is defined below. A mounted client file system appears in fstab(5) and is usable,
+                  like any local file system, and provides a full POSIX standard-compliant
+                  interface.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <replaceable>block_device</replaceable></para>
+              </entry>
+              <entry>
+                <para> Starts the target service defined by the mkfs.lustre command on the physical disk <replaceable>block_device</replaceable>. A mounted target service file system is only useful for df(1) operations and appears in fstab(5) to show the device is in use.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>mgsspec:=<replaceable>mgsnode</replaceable>[:<replaceable>mgsnode</replaceable>]</literal></para>
+                <para>&#160;</para>
+              </entry>
+              <entry>
+                <para> The MGS specification may be a colon-separated list of nodes.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>mgsnode:=<replaceable>mgsnid</replaceable>[,<replaceable>mgsnid</replaceable>]</literal></para>
+              </entry>
+              <entry>
+                <para> Each node may be specified by a comma-separated list of NIDs.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <para>In addition to the standard mount options, Lustre understands the following client-specific options:</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>flock</literal></para>
+              </entry>
+              <entry>
+                <para> Enables full flock support, coherent across all client nodes.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>localflock</literal></para>
+              </entry>
+              <entry>
+                <para> Enables local flock support, using only client-local flock (faster, for applications that require flock, but do not run on multiple nodes).</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>noflock</literal></para>
+              </entry>
+              <entry>
+                <para> Disables flock support entirely. Applications calling flock get an error. It is up to the administrator to choose either <literal>localflock</literal> (fastest, low impact, not coherent between nodes) or <literal>flock</literal> (slower, performance impact for use, coherent between nodes).</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>user_xattr</literal></para>
+              </entry>
+              <entry>
+                <para> Enables get/set of extended attributes by regular users. See the attr(5) manual page.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>nouser_xattr</literal></para>
+              </entry>
+              <entry>
+                <para> Disables use of extended attributes by regular users. Root and system processes can still use extended attributes.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>acl</literal></para>
+              </entry>
+              <entry>
+                <para> Enables POSIX Access Control List support. See the acl(5) manual page.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>noacl</literal></para>
+              </entry>
+              <entry>
+                <para> Disables Access Control List support.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>verbose</literal></para>
+              </entry>
+              <entry>
+                <para> Enable mount/umount console messages.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>noverbose</literal></para>
+              </entry>
+              <entry>
+                <para> Disable mount/umount console messages.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>user_fid2path</literal></para>
+              </entry>
+              <entry>
+                <para condition='l23'>Enable FID to path translation by regular users. Note: This option allows a potential security hole because it allows regular users direct access to a file by its FID, bypassing POSIX path-based permission checks which could otherwise prevent the user from accessing a file in a directory that they do not have access to. Regular permission checks are still performed on the file itself, so the user cannot access a file to which they have no access rights.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>nouser_fid2path</literal></para>
+              </entry>
+              <entry>
+                <para condition='l23'> Disable FID to path translation by regular users. Root and processes with CAP_DAC_READ_SEARCH can still perform FID to path translation.</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <para>In addition to the standard mount options and backing disk type (e.g. ext3) options, Lustre understands the following server-specific options:</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>nosvc</literal></para>
+              </entry>
+              <entry>
+                <para>  Starts the MGC (and MGS, if co-located) for a target service, not the actual service.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>nomgs</literal></para>
+              </entry>
+              <entry>
+                <para>  Starts only the MDT (with a co-located MGS), without starting the MGS.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>exclude=<replaceable>ostlist</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para>  Starts a client or MDT with a colon-separated list of known inactive OSTs.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>abort_recov</literal></para>
+              </entry>
+              <entry>
+                <para>  Aborts client recovery and starts the target service immediately.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>md_stripe_cache_size</literal></para>
+              </entry>
+              <entry>
+                <para>  Sets the stripe cache size for server-side disk with a striped RAID configuration.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>recovery_time_soft=<replaceable>timeout</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para>  Allows <literal>timeout</literal> seconds for clients to reconnect for recovery after a server crash. This timeout is incrementally extended if it is about to expire and the server is still handling new connections from recoverable clients.</para>
+               <para>  The default soft recovery timeout is 3 times the value of the Lustre timeout parameter (see <xref linkend="section_c24_nt5_dl"/>). The default Lustre timeout is 100 seconds, which would make the soft recovery timeout default to 300 seconds (5 minutes). The soft recovery timeout is set at mount time and will not change if the Lustre timeout is changed after mount time.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>recovery_time_hard=<replaceable>timeout</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para>  The server is allowed to incrementally extend its timeout up to a hard maximum of <literal>timeout</literal> seconds.</para>
+               <para>  The default hard recovery timeout is 9 times the value of the Lustre timeout parameter (see <xref linkend="section_c24_nt5_dl"/>). The default Lustre timeout is 100 seconds, which would make the hard recovery timeout default to 900 seconds (15 minutes). The hard recovery timeout is set at mount time and will not change if the Lustre timeout is changed after mount time.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>noscrub</literal></para>
+              </entry>
+              <entry>
+                     <para>Typically the MDT will detect restoration from a file-level backup during mount. This mount option prevents the OI Scrub from starting automatically when the MDT is mounted. Manually starting LFSCK after mounting provides finer control over the starting conditions. This mount option also prevents OI scrub from occurring automatically when OI inconsistency is detected (see <xref linkend="dbdoclet.lfsck_auto_scrub"/>)</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Examples</title>
+      <para>Starts a client for the Lustre file system testfs at mount point /mnt/myfilesystem. The Management Service is running on a node reachable from this client via the cfs21@tcp0 NID.</para>
+      <screen>mount -t lustre cfs21@tcp0:/testfs /mnt/myfilesystem</screen>
+      <para>Starts the Lustre metadata target service from /dev/sda1 on mount point /mnt/test/mdt.</para>
+      <screen>mount -t lustre /dev/sda1 /mnt/test/mdt</screen>
+      <para>Starts the testfs-MDT0000 service (using the disk label), but aborts the recovery process.</para>
+      <screen>mount -t lustre -L testfs-MDT0000 -o abort_recov /mnt/test/mdt</screen>
+    </section>
+    <section remap="h5">
+      <title>See Also</title>
+      <itemizedlist>
+        <listitem>
+          <para>  <xref linkend="dbdoclet.50438219_75432"/></para>
+        </listitem>
+        <listitem>
+          <para>  <xref linkend="dbdoclet.50438219_39574"/></para>
+        </listitem>
+        <listitem>
+          <para>  <xref linkend="dbdoclet.50438219_38274"/></para>
+        </listitem>
+        <listitem>
+          <para>  <xref linkend="dbdoclet.50438206_94597"/></para>
+        </listitem>
+      </itemizedlist>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_82679">
+    <title><indexterm><primary>plot-llstat</primary></indexterm>
+plot-llstat</title>
+    <para>The plot-llstat utility plots Lustre statistics.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>plot-llstat results_filename [parameter_index]
 </screen>
-      </section>
-      <section remap="h5">
-        <title>See Also</title>
-        <itemizedlist>
-            <listitem>
-        <para><xref linkend="dbdoclet.50438219_75432"/></para>
-        </listitem> <listitem>
-            <para><xref linkend="dbdoclet.50438219_12635"/></para>
-        </listitem> <listitem>
-            <para><xref linkend="dbdoclet.50438219_38274"/></para>
-        </listitem> <listitem>
-            <para><xref linkend="dbdoclet.50438206_94597"/></para>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The plot-llstat utility generates a CSV file and instruction files for gnuplot from the output of llstat. Since llstat is generic in nature, plot-llstat is also a generic script. The value of parameter_index can be 1 for count per interval, 2 for count per second (default setting) or 3 for total count.</para>
+      <para>The plot-llstat utility creates a .dat (CSV) file using the number of operations specified by the user. The number of operations equals the number of columns in the CSV file. The values in those columns are equal to the corresponding value of parameter_index in the output file.</para>
+      <para>The plot-llstat utility also creates a .scr file that contains instructions for gnuplot to plot the graph. After generating the .dat and .scr files, the plot-llstat tool invokes gnuplot to display the graph.</para>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>results_filename</literal></para>
+              </entry>
+              <entry>
+                <para> Output generated by plot-llstat</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>parameter_index</literal></para>
+                <para>&#160;</para>
+              </entry>
+              <entry>
+                <para> Value of parameter_index can be:</para>
+                <para> 1 - count per interval</para>
+                <para> 2 - count per second (default setting)</para>
+                <para> 3 - total count</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Example</title>
+      <screen>llstat -i2 -g -c lustre-OST0000 &gt; log
+plot-llstat log 3</screen>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_51496">
+    <title><indexterm><primary>routerstat</primary></indexterm>
+routerstat</title>
+    <para>The routerstat utility prints Lustre router statistics.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>routerstat [<replaceable>interval</replaceable>]</screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>The routerstat utility displays LNET router statistics. If no <literal><replaceable>interval</replaceable></literal> is specified, then statistics are sampled and printed only one time. Otherwise, statistics are sampled and printed at the specified <literal><replaceable>interval</replaceable></literal> (in seconds).</para>
+    </section>
+    <section remap="h5">
+      <title>Output</title>
+      <para>The routerstat output includes the following fields:</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Output</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>M</literal></para>
+              </entry>
+              <entry>
+                <para> Number of messages currently being processed by LNET (The maximum number of messages ever processed by LNET concurrently)</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>E</literal></para>
+              </entry>
+              <entry>
+                <para> Number of LNET errors</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>S</literal></para>
+              </entry>
+              <entry>
+                <para> Total size (length) of messages sent in bytes/ Number of messages sent</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>R</literal></para>
+              </entry>
+              <entry>
+                <para> Total size (length) of messages received in bytes/ Number of messages received</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>F</literal></para>
+              </entry>
+              <entry>
+                <para> Total size (length) of messages routed in bytes/ Number of messages routed</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>D</literal></para>
+              </entry>
+              <entry>
+                <para> Total size (length) of messages dropped in bytes/ Number of messages dropped</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <para>When an <literal><replaceable>interval</replaceable></literal> is specified, additional lines of statistics are printed including the following fields:</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Output</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>M</literal></para>
+              </entry>
+              <entry>
+                <para> Number of messages currently being processed by LNET (The maximum number of messages ever processed by LNET concurrently)</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>E</literal></para>
+              </entry>
+              <entry>
+                <para> Number of LNET errors per second</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>S</literal></para>
+              </entry>
+              <entry>
+                <para> Rate of data sent in Mbytes per second/ Count of messages sent per second</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>R</literal></para>
+              </entry>
+              <entry>
+                <para> Rate of data received in Mbytes per second/ Count of messages received per second</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>F</literal></para>
+              </entry>
+              <entry>
+                <para> Rate of data routed in Mbytes per second/ Count of messages routed per second</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>D</literal></para>
+              </entry>
+              <entry>
+                <para> Rate of data dropped in Mbytes per second/ Count of messages dropped per second</para>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Example</title>
+      <screen># routerstat 1
+M 0(13) E 0 S 117379184/4250 R 878480/4356 F 0/0 D 0/0
+M   0( 13) E 0 S    7.00/     7 R    0.00/    14 F    0.00/     0 D 0.00/0
+M   0( 13) E 0 S    7.00/     7 R    0.00/    14 F    0.00/     0 D 0.00/0
+M   0( 13) E 0 S    8.00/     8 R    0.00/    16 F    0.00/     0 D 0.00/0
+M   0( 13) E 0 S    7.00/     7 R    0.00/    14 F    0.00/     0 D 0.00/0
+M   0( 13) E 0 S    7.00/     7 R    0.00/    14 F    0.00/     0 D 0.00/0
+M   0( 13) E 0 S    7.00/     7 R    0.00/    14 F    0.00/     0 D 0.00/0
+M   0( 13) E 0 S    7.00/     7 R    0.00/    14 F    0.00/     0 D 0.00/0
+M   0( 13) E 0 S    8.00/     8 R    0.00/    16 F    0.00/     0 D 0.00/0
+M   0( 13) E 0 S    7.00/     7 R    0.00/    14 F    0.00/     0 D 0.00/0
+...</screen>
+    </section>
+    <section remap="h5">
+      <title>Files</title>
+      <para>The routerstat utility extracts statistics data from:</para>
+      <screen>/proc/sys/lnet/stats</screen>
+    </section>
+  </section>
+  <section xml:id="dbdoclet.50438219_39574">
+    <title><indexterm><primary>tunefs.lustre</primary></indexterm>
+tunefs.lustre</title>
+    <para>The tunefs.lustre utility modifies configuration information on a Lustre target disk.</para>
+    <section remap="h5">
+      <title>Synopsis</title>
+      <screen>tunefs.lustre [options] <replaceable>/dev/device</replaceable></screen>
+    </section>
+    <section remap="h5">
+      <title>Description</title>
+      <para>tunefs.lustre is used to modify configuration information on a Lustre target disk. This does not reformat the disk or erase the target information, but modifying the configuration information can result in an unusable file system.</para>
+      <caution>
+        <para>Changes made here affect a file system only when the target is mounted the next time.</para>
+      </caution>
+      <para>With tunefs.lustre, parameters are &quot;additive&quot; -- new parameters are specified in addition to old parameters, they do not replace them. To erase all old tunefs.lustre parameters and just use newly-specified parameters, run:</para>
+      <screen>$ tunefs.lustre --erase-params --param=<replaceable>new_parameters</replaceable> </screen>
+      <para>The tunefs.lustre command can be used to set any parameter settable in a /proc/fs/lustre file and that has its own OBD device, so it can be specified as <replaceable>{obd|fsname}.obdtype.proc_file_name=value</replaceable>. For example:</para>
+      <screen>$ tunefs.lustre --param mdt.identity_upcall=NONE /dev/sda1</screen>
+    </section>
+    <section remap="h5">
+      <title>Options</title>
+      <para>The tunefs.lustre options are listed and explained below.</para>
+      <informaltable frame="all">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <thead>
+            <row>
+              <entry>
+                <para><emphasis role="bold">Option</emphasis></para>
+              </entry>
+              <entry>
+                <para><emphasis role="bold">Description</emphasis></para>
+              </entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>--comment=<replaceable>comment</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets a user comment about this disk, ignored by Lustre.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--dryrun</literal></para>
+              </entry>
+              <entry>
+                <para> Only prints what would be done; does not affect the disk.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--erase-params</literal></para>
+              </entry>
+              <entry>
+                <para> Removes all previous parameter information.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <literal>--servicenode=<replaceable>nid,...</replaceable></literal></entry>
+              <entry>Sets the NID(s) of all service nodes, including primary and failover partner
+                service nodes. The <literal>--servicenode</literal> option cannot be used with
+                  <literal>--failnode</literal> option. See <xref
+                  xmlns:xlink="http://www.w3.org/1999/xlink" linkend="dbdoclet.50438188_92688"/> for
+                more details.</entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--failnode=<replaceable>nid,...</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para>Sets the NID(s) of a failover service node for a primary server for a target.
+                  The <literal>--failnode</literal> option cannot be used with
+                    <literal>--servicenode</literal> option. See <xref
+                    xmlns:xlink="http://www.w3.org/1999/xlink" linkend="dbdoclet.50438188_92688"/>
+                  for more details.<note>
+                    <para>When the <literal>--failnode</literal> option is used, certain
+                      restrictions apply (see <xref xmlns:xlink="http://www.w3.org/1999/xlink"
+                        linkend="dbdoclet.50438188_92688"/>).</para>
+                  </note></para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--fsname=<replaceable>filesystem_name</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> The Lustre file system of which this service will be a part. The default file
+                  system name is <literal>lustre</literal>.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--index=<replaceable>index</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Forces a particular OST or MDT index.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--mountfsoptions=<replaceable>opts</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the mount options used when the backing file system is mounted.</para>
+                <warning><para> Unlike earlier versions of tunefs.lustre, this version completely replaces the existing mount options with those specified on the command line, and issues a warning on stderr if any default mount options are omitted.</para></warning>
+                <para>The defaults for ldiskfs are:</para>
+                <para>MGS/MDT: <literal>errors=remount-ro,iopen_nopriv,user_xattr</literal></para>
+                <para>OST: <literal>errors=remount-ro,extents,mballoc</literal></para>
+                <para condition='l25'>OST: <literal>errors=remount-ro</literal></para>
+                <para>Do not alter the default mount options unless you know what you are doing.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--network=<replaceable>net,...</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Network(s) to which to restrict this OST/MDT. This option can be repeated as necessary.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--mgs</literal></para>
+              </entry>
+              <entry>
+                <para> Adds a configuration management service to this target.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--msgnode=<replaceable>nid,...</replaceable></literal></para>
+              </entry>
+              <entry>
+                <para> Sets the NID(s) of the MGS node; required for all targets other than the MGS.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--nomgs</literal></para>
+              </entry>
+              <entry>
+                <para> Removes a configuration management service to this target.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--quiet</literal></para>
+              </entry>
+              <entry>
+                <para> Prints less information.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--verbose</literal></para>
+              </entry>
+              <entry>
+                <para> Prints more information.</para>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>--writeconf</literal></para>
+              </entry>
+              <entry>
+                <para> Erases all configuration logs for the file system to which this MDT belongs,
+                  and regenerates them. This is dangerous operation. All clients must be unmounted
+                  and servers for this file system should be stopped. All targets (OSTs/MDTs) must
+                  then be restarted to regenerate the logs. No clients should be started until all
+                  targets have restarted.</para>
+                <para>The correct order of operations is:</para>
+                <orderedlist>
+                  <listitem>
+                    <para>Unmount all clients on the file system</para>
+                  </listitem>
+                  <listitem>
+                    <para>Unmount the MDT and all OSTs on the file system</para>
+                  </listitem>
+                  <listitem>
+                    <para>Run <literal>tunefs.lustre --writeconf
+                        <replaceable>device</replaceable></literal> on every server</para>
+                  </listitem>
+                  <listitem>
+                    <para>Mount the MDT and OSTs</para>
+                  </listitem>
+                  <listitem>
+                    <para>Mount the clients</para>
+                  </listitem>
+                </orderedlist>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </section>
+    <section remap="h5">
+      <title>Examples</title>
+      <para>Change the MGS&apos;s NID address. (This should be done on each target disk, since they should all contact the same MGS.)</para>
+      <screen>tunefs.lustre --erase-param --mgsnode=<replaceable>new_nid</replaceable> --writeconf /dev/sda</screen>
+      <para>Add a failover NID location for this target.</para>
+      <screen>tunefs.lustre --param=&quot;failover.node=192.168.0.13@tcp0&quot; /dev/sda </screen>
+    </section>
+    <section remap="h5">
+      <title>See Also</title>
+      <itemizedlist>
+        <listitem>
+          <para><xref linkend="dbdoclet.50438219_75432"/></para>
         </listitem>
-        </itemizedlist>
-      </section>
+        <listitem>
+          <para><xref linkend="dbdoclet.50438219_12635"/></para>
+        </listitem>
+        <listitem>
+          <para><xref linkend="dbdoclet.50438219_38274"/></para>
+        </listitem>
+        <listitem>
+          <para><xref linkend="dbdoclet.50438206_94597"/></para>
+        </listitem>
+      </itemizedlist>
     </section>
-    <section xml:id="dbdoclet.50438219_99928">
-      <title>36.19 Additional System <anchor xml:id="dbdoclet.50438219_marker-1313048" xreflabel=""/>Configuration Utilities</title>
-      <para>This section describes additional system configuration utilities for Lustre.</para>
-      <section remap="h3">
-        <title>36.19.1 Application <anchor xml:id="dbdoclet.50438219_marker-1313051" xreflabel=""/>Profiling Utilities</title>
-        <para>The following utilities are located in /usr/bin.</para>
-        <para><emphasis role="bold">lustre_req_history.sh</emphasis></para>
-        <para>The lustre_req_history.sh utility (run from a client), assembles as much Lustre RPC request history as possible from the local node and from the servers that were contacted, providing a better picture of the coordinated network activity.</para>
-        <para><emphasis role="bold">llstat.sh</emphasis></para>
-        <para>The llstat.sh utility (improved in Lustre 1.6), handles a wider range of /proc files, and has command line switches to produce more graphable output.</para>
-        <para><emphasis role="bold">plot-llstat.sh</emphasis></para>
-        <para>The plot-llstat.sh utility plots the output from llstat.sh using gnuplot.</para>
-      </section>
-      <section remap="h3">
-        <title>36.19.2 More /proc Statistics for <anchor xml:id="dbdoclet.50438219_marker-1313052" xreflabel=""/>Application Profiling</title>
-        <para>The following utilities provide additional statistics.</para>
-        <para><emphasis role="bold">vfs_ops_stats</emphasis></para>
-        <para>The client vfs_ops_stats utility tracks Linux VFS operation calls into Lustre for a single PID, PPID, GID or everything.</para>
-        <screen>/proc/fs/lustre/llite/*/vfs_ops_stats
+  </section>
+  <section xml:id="dbdoclet.50438219_99928">
+      <title><indexterm><primary>utilities</primary><secondary>system config</secondary></indexterm>
+Additional System Configuration Utilities</title>
+    <para>This section describes additional system configuration utilities for Lustre.</para>
+    <section remap="h3">
+      <title><indexterm><primary>utilities</primary><secondary>application profiling</secondary></indexterm>
+Application Profiling Utilities</title>
+      <para>The following utilities are located in /usr/bin.</para>
+      <para><literal>lustre_req_history.sh</literal></para>
+      <para>The lustre_req_history.sh utility (run from a client), assembles as much Lustre RPC request history as possible from the local node and from the servers that were contacted, providing a better picture of the coordinated network activity.</para>
+    </section>
+    <section remap="h3">
+      <title>More /proc Statistics for Application Profiling</title>
+      <para>The following utilities provide additional statistics.</para>
+      <para><literal>vfs_ops_stats</literal></para>
+      <para>The client vfs_ops_stats utility tracks Linux VFS operation calls into Lustre for a single PID, PPID, GID or everything.</para>
+      <screen>/proc/fs/lustre/llite/*/vfs_ops_stats
 /proc/fs/lustre/llite/*/vfs_track_[pid|ppid|gid]
 </screen>
-        <para><emphasis role="bold">extents_stats</emphasis></para>
-        <para>The client extents_stats utility shows the size distribution of I/O calls from the client (cumulative and by process).</para>
-        <screen>/proc/fs/lustre/llite/*/extents_stats, extents_stats_per_process
+      <para><literal>extents_stats</literal></para>
+      <para>The client extents_stats utility shows the size distribution of I/O calls from the client (cumulative and by process).</para>
+      <screen>/proc/fs/lustre/llite/*/extents_stats, extents_stats_per_process
 </screen>
-        <para><emphasis role="bold">offset_stats</emphasis></para>
-        <para>The client offset_stats utility shows the read/write seek activity of a client by offsets and ranges.</para>
-        <screen>/proc/fs/lustre/llite/*/offset_stats
+      <para><literal>offset_stats</literal></para>
+      <para>The client offset_stats utility shows the read/write seek activity of a client by offsets and ranges.</para>
+      <screen>/proc/fs/lustre/llite/*/offset_stats
 </screen>
-        <para>Lustre 1.6 included per-client and improved MDT statistics:</para>
-        <itemizedlist><listitem>
-            <para> Per-client statistics tracked on the servers</para>
-          </listitem>
-
-</itemizedlist>
-        <para>Each MDT and OST now tracks LDLM and operations statistics for every connected client, for comparisons and simpler collection of distributed job statistics.</para>
-        <screen>/proc/fs/lustre/mds|obdfilter/*/exports/
+      <para>Lustre includes per-client and improved MDT statistics:</para>
+      <itemizedlist>
+        <listitem>
+          <para> Per-client statistics tracked on the servers</para>
+        </listitem>
+      </itemizedlist>
+      <para>Each MDT and OST now tracks LDLM and operations statistics for every connected client, for comparisons and simpler collection of distributed job statistics.</para>
+      <screen>/proc/fs/lustre/mds|obdfilter/*/exports/
 </screen>
-        <itemizedlist><listitem>
-            <para> Improved MDT statistics</para>
-          </listitem>
-
-</itemizedlist>
-        <para>More detailed MDT operations statistics are collected for better profiling.</para>
-        <screen>/proc/fs/lustre/mds/*/stats
+      <itemizedlist>
+        <listitem>
+          <para> Improved MDT statistics</para>
+        </listitem>
+      </itemizedlist>
+      <para>More detailed MDT operations statistics are collected for better profiling.</para>
+      <screen>/proc/fs/lustre/mds/*/stats
 </screen>
+    </section>
+    <section remap="h3">
+      <title><indexterm><primary>utilities</primary><secondary>debugging</secondary></indexterm><indexterm><primary>debug</primary><secondary>utilities</secondary></indexterm>
+
+Testing / Debugging Utilities</title>
+      <para>Lustre offers the following test and debugging utilities.</para>
+      <section remap="h5">
+        <title><indexterm><primary>loadgen</primary></indexterm>
+loadgen</title>
+        <para>The Load Generator (loadgen) is a test program designed to simulate large numbers of Lustre clients connecting and writing to an OST. The loadgen utility is located at lustre/utils/loadgen (in a build directory) or at /usr/sbin/loadgen (from an RPM).</para>
+        <para>Loadgen offers the ability to run this test:</para>
+        <orderedlist>
+          <listitem>
+            <para>Start an arbitrary number of (echo) clients.</para>
+          </listitem>
+          <listitem>
+            <para>Start and connect to an echo server, instead of a real OST.</para>
+          </listitem>
+          <listitem>
+            <para>Create/bulk_write/delete objects on any number of echo clients simultaneously.</para>
+          </listitem>
+        </orderedlist>
+        <para>Currently, the maximum number of clients is limited by MAX_OBD_DEVICES and the amount of memory available.</para>
       </section>
-      <section remap="h3">
-        <title>36.19.3 Testing / Debugging <anchor xml:id="dbdoclet.50438219_marker-1313053" xreflabel=""/>Utilities</title>
-        <para>Lustre offers the following test and debugging utilities.</para>
-        <section remap="h5">
-          <title>loadgen</title>
-          <para>The Load Generator (loadgen) is a test program designed to simulate large numbers of Lustre clients connecting and writing to an OST. The loadgen utility is located at lustre/utils/loadgen (in a build directory) or at /usr/sbin/loadgen (from an RPM).</para>
-          <para>Loadgen offers the ability to run this test:</para>
-          <para> 1. Start an arbitrary number of (echo) clients.</para>
-          <para> 2. Start and connect to an echo server, instead of a real OST.</para>
-          <para> 3. Create/bulk_write/delete objects on any number of echo clients simultaneously.</para>
-          <para>Currently, the maximum number of clients is limited by MAX_OBD_DEVICES and the amount of memory available.</para>
-        </section>
-        <section remap="h5">
-          <title>Usage</title>
-          <para>The loadgen utility can be run locally on the OST server machine or remotely from any LNET host. The device command can take an optional NID as a parameter; if unspecified, the first local NID found is used.</para>
-          <para>The obdecho module must be loaded by hand before running loadgen.</para>
-          <screen># cd lustre/utils/ 
+      <section remap="h5">
+        <title>Usage</title>
+        <para>The loadgen utility can be run locally on the OST server machine or remotely from any LNET host. The device command can take an optional NID as a parameter; if unspecified, the first local NID found is used.</para>
+        <para>The obdecho module must be loaded by hand before running loadgen.</para>
+        <screen># cd lustre/utils/ 
 # insmod ../obdecho/obdecho.ko 
 # ./loadgen 
 loadgen&gt; h 
@@ -1841,17 +2683,17 @@ Estimate 76 clients before we run out of grant space (155872K / 2097152)
 wrote 25MB in 1.419s (17.623 MB/s) 
 loadgen&gt; 
 </screen>
-          <para>The loadgen utility prints periodic status messages; message output can be controlled with the verbose command.</para>
-          <para>To insure that a file can be written to (a requirement of write cache), OSTs reserve (&quot;grants&quot;), chunks of space for each newly-created file. A grant may cause an OST to report that it is out of space, even though there is plenty of space on the disk, because the space is &quot;reserved&quot; by other files. The loadgen utility estimates the number of simultaneous open files as the disk size divided by the grant size and reports that number when the write tests are first started.</para>
-          <para><emphasis role="bold">Echo Server</emphasis></para>
-          <para>The loadgen utility can start an echo server. On another node, loadgen can specify the echo server as the device, thus creating a network-only test environment.</para>
-          <screen>loadgen&gt; echosrv 
+        <para>The loadgen utility prints periodic status messages; message output can be controlled with the verbose command.</para>
+        <para>To insure that a file can be written to (a requirement of write cache), OSTs reserve (&quot;grants&quot;), chunks of space for each newly-created file. A grant may cause an OST to report that it is out of space, even though there is plenty of space on the disk, because the space is &quot;reserved&quot; by other files. The loadgen utility estimates the number of simultaneous open files as the disk size divided by the grant size and reports that number when the write tests are first started.</para>
+        <para>Echo Server</para>
+        <para>The loadgen utility can start an echo server. On another node, loadgen can specify the echo server as the device, thus creating a network-only test environment.</para>
+        <screen>loadgen&gt; echosrv 
 loadgen&gt; dl 
    0 UP obdecho echosrv echosrv 3 
    1 UP ost OSS OSS 3 
 </screen>
-          <para>On another node:</para>
-          <screen>loadgen&gt; device echosrv cfs21@tcp 
+        <para>On another node:</para>
+        <screen>loadgen&gt; device echosrv cfs21@tcp 
 Added uuid OSS_UUID: 192.168.0.21@tcp 
 Target OST name is &apos;echosrv&apos; 
 loadgen&gt; st 1 
@@ -1866,9 +2708,9 @@ loadgen&gt;
 1: done (0) 
 wrote 1MB in 0.029s (34.023 MB/s)
 </screen>
-          <para>Scripting</para>
-          <para>The threads all perform their actions in non-blocking mode; use the wait command to block for the idle state. For example:</para>
-          <screen>#!/bin/bash 
+        <para>Scripting</para>
+        <para>The threads all perform their actions in non-blocking mode; use the wait command to block for the idle state. For example:</para>
+        <screen>#!/bin/bash 
 ./loadgen &lt;&lt; EOF 
 device lustre-OST0000 
 st 1 
@@ -1877,152 +2719,87 @@ wait
 quit 
 EOF 
 </screen>
-          <para><emphasis role="bold">Feature Requests</emphasis></para>
-          <para>The loadgen utility is intended to grow into a more comprehensive test tool; feature requests are encouraged. The current feature requests include:</para>
-          <itemizedlist><listitem>
-              <para> Locking simulation</para>
-            </listitem>
-<listitem>
-              <itemizedlist><listitem>
-                  <para> Many (echo) clients cache locks for the specified resource at the same time.</para>
-                </listitem>
-
-<listitem>
-                  <para> Many (echo) clients enqueue locks for the specified resource simultaneously.</para>
-                </listitem>
-
-</itemizedlist>
-            </listitem>
-<listitem>
-              <para> obdsurvey functionality</para>
-            </listitem>
-<listitem>
-              <itemizedlist><listitem>
-                  <para> Fold the Lustre I/O kit's obdsurvey script functionality into loadgen</para>
-                </listitem>
-
-</itemizedlist>
-            </listitem>
-</itemizedlist>
-        </section>
-        <section remap="h5">
-          <title>llog_reader</title>
-          <para>The llog_reader utility translates a Lustre configuration log into human-readable form.</para>
-        </section>
-        <section remap="h5">
-          <title>Synopsis</title>
-          <screen>llog_reader filename
-</screen>
-        </section>
-        <section remap="h5">
-          <title>Description</title>
-          <para>llog_reader parses the binary format of Lustre's on-disk configuration logs. It can only read the logs. Use tunefs.lustre to write to them.</para>
-          <para>To examine a log file on a stopped Lustre server, mount its backing file system as ldiskfs, then use llog_reader to dump the log file's contents. For example:</para>
-          <screen>mount -t ldiskfs /dev/sda /mnt/mgs 
-llog_reader /mnt/mgs/CONFIGS/tfs-client
-</screen>
-          <para>To examine the same log file on a running Lustre server, use the ldiskfs-enabled debugfs utility (called debug.ldiskfs on some distributions) to extract the file. For example:</para>
-          <screen>debugfs -c -R 'dump CONFIGS/tfs-client /tmp/tfs-client' /dev/sda 
-llog_reader /tmp/tfs-client
-</screen>
-          <informaltable frame="none">
-            <tgroup cols="2">
-              <colspec colname="c1" colwidth="5*"/>
-              <colspec colname="c2" colwidth="95*"/>
-              
-              
-              <tbody>
-                <row>
-                  <entry><para><inlinemediaobject><imageobject role="html">
-                          <imagedata fileref="./shared/caution.gif" scalefit="1"/>
-                        </imageobject>
-<imageobject role="fo">
-                          <imagedata contentdepth="100%" contentwidth="" depth="" fileref="./shared/caution.gif" scalefit="1" width="100%"/>
-                        </imageobject>
-</inlinemediaobject></para></entry>
-                  <entry><para><emphasis role="bold">Caution -</emphasis>Although they are stored in the CONFIGS directory, mountdata files do not use the config log format and will confuse llog_reader.</para></entry>
-                </row>
-              </tbody>
-            </tgroup>
-          </informaltable>
-           <para><emphasis role="bold">See Also</emphasis></para>
-           <para><xref linkend="dbdoclet.50438219_39574"/></para>
-        </section>
-        <section remap="h5">
-          <title>lr_reader</title>
-          <para>The lr_reader utility translates a last received (last_rcvd) file into human-readable form.</para>
-          <para>The following utilites are part of the Lustre I/O kit. For more information, see <xref linkend='benchmarkingtests'/>.</para>
-        </section>
-        <section remap="h5">
-          <title>sgpdd_survey</title>
-          <para>The sgpdd_survey utility tests &apos;bare metal&apos; performance, bypassing as much of the kernel as possible. The sgpdd_survey tool does not require Lustre, but it does require the sgp_dd package.</para>
-          <informaltable frame="none">
-            <tgroup cols="2">
-              <colspec colname="c1" colwidth="5*"/>
-              <colspec colname="c2" colwidth="95*"/>
-              
-              
-              <tbody>
-                <row>
-                  <entry><para><inlinemediaobject><imageobject role="html">
-                          <imagedata fileref="./shared/caution.gif" scalefit="1"/>
-                        </imageobject>
-<imageobject role="fo">
-                          <imagedata contentdepth="100%" contentwidth="" depth="" fileref="./shared/caution.gif" scalefit="1" width="100%"/>
-                        </imageobject>
-</inlinemediaobject></para></entry>
-                  <entry><para><emphasis role="bold">Caution -</emphasis>The sgpdd_survey utility erases all data on the device.</para></entry>
-                </row>
-              </tbody>
-            </tgroup>
-          </informaltable>
-        </section>
-        <section remap="h5">
-          <title>obdfilter_survey</title>
-          <para>The obdfilter_survey utility is a shell script that tests performance of isolated OSTS, the network via echo clients, and an end-to-end test.</para>
-        </section>
-        <section remap="h5">
-          <title>ior-survey</title>
-          <para>The ior-survey utility is a script used to run the IOR benchmark. Lustre includes IOR version 2.8.6.</para>
-        </section>
-        <section remap="h5">
-          <title>ost_survey</title>
-          <para>The ost_survey utility is an OST performance survey that tests client-to-disk performance of the individual OSTs in a Lustre file system.</para>
-        </section>
-        <section remap="h5">
-          <title>stats-collect</title>
-          <para>The stats-collect utility contains scripts used to collect application profiling information from Lustre clients and servers.</para>
-        </section>
       </section>
-      <section remap="h3">
-        <title>36.19.4 Flock <anchor xml:id="dbdoclet.50438219_marker-1295910" xreflabel=""/>Feature</title>
-        <para>Lustre now includes the flock feature, which provides file locking support. Flock describes classes of file locks known as 'flocks'. Flock can apply or remove a lock on an open file as specified by the user. However, a single file may not, simultaneously, have both shared and exclusive locks.</para>
-        <para>By default, the flock utility is disabled on Lustre. Two modes are available.</para>
-         <informaltable frame="none">
-          <tgroup cols="2">
-            <colspec colname="c1" colwidth="50*"/>
-            <colspec colname="c2" colwidth="50*"/>
-            <tbody>
-              <row>
-                <entry><para> <emphasis role="bold">local mode</emphasis></para></entry>
-                <entry><para>  In this mode, locks are coherent on one node (a single-node flock), but not across all clients. To enable it, use -o localflock. This is a client-mount option.</para><note><para>This mode does not impact performance and is appropriate for single-node databases.</para></note></entry>
-              </row>
-              <row>
-                <entry><para> <emphasis role="bold">consistent mode</emphasis></para></entry>
-                <entry><para> In this mode, locks are coherent across all clients.</para><para> To enable it, use the -o flock. This is a client-mount option.</para><para><emphasis role="bold">CAUTION</emphasis>: This mode affects the performance of the file being flocked and may affect stability, depending on the Lustre version used. Consider using a newer Lustre version which is more stable. If the consistent mode is enabled and no applications are using flock, then it has no effect.</para></entry>
-              </row>
-            </tbody>
-          </tgroup>
-        </informaltable>
-         <para>A call to use flock may be blocked if another process is holding an incompatible lock. Locks created using flock are applicable for an open file table entry. Therefore, a single process may hold only one type of lock (shared or exclusive) on a single file. Subsequent flock calls on a file that is already locked converts the existing lock to the new lock mode.</para>
-        <section remap="h4">
-          <title>36.19.4.1 Example</title>
-          <screen>$ mount -t lustre -o flock mds@tcp0:/lustre /mnt/client
-</screen>
-          <para>You can check it in /etc/mtab. It should look like,</para>
-          <screen>mds@tcp0:/lustre /mnt/client lustre rw,flock         0       0
-</screen>
-        </section>
+      <section remap="h5">
+        <title><indexterm><primary>lr_reader</primary></indexterm>
+lr_reader</title>
+        <para>The lr_reader utility translates a last received (last_rcvd) file into human-readable form.</para>
+        <para>The following utilities are part of the Lustre I/O kit. For more information, see <xref linkend="benchmarkingtests"/>.</para>
+      </section>
+      <section remap="h5">
+        <title><indexterm>
+            <primary>sgpdd-survey</primary>
+          </indexterm> sgpdd-survey</title>
+        <para>The <literal>sgpdd-survey</literal> utility tests &apos;bare metal&apos; performance,
+          bypassing as much of the kernel as possible. The <literal>sgpdd-survey</literal> tool does
+          not require Lustre, but it does require the sgp_dd package.</para>
+        <caution>
+          <para>The <literal>sgpdd-survey</literal> utility erases all data on the device.</para>
+        </caution>
+      </section>
+      <section remap="h5">
+        <title><indexterm>
+            <primary>obdfilter-survey</primary>
+          </indexterm>obdfilter-survey</title>
+        <para>The <literal>obdfilter-survey</literal> utility is a shell script that tests
+          performance of isolated OSTS, the network via echo clients, and an end-to-end test.</para>
+      </section>
+      <section remap="h5">
+        <title><indexterm><primary>ior-survey</primary></indexterm>ior-survey</title>
+        <para>The ior-survey utility is a script used to run the IOR benchmark. Lustre includes IOR version 2.8.6.</para>
+      </section>
+      <section remap="h5">
+        <title><indexterm>
+            <primary>ost-survey</primary>
+          </indexterm>ost-survey</title>
+        <para>The <literal>ost-survey</literal> utility is an OST performance survey that tests
+          client-to-disk performance of the individual OSTs in a Lustre file system.</para>
+      </section>
+      <section remap="h5">
+        <title><indexterm><primary>stats-collect</primary></indexterm>stats-collect</title>
+        <para>The stats-collect utility contains scripts used to collect application profiling information from Lustre clients and servers.</para>
+      </section>
+    </section>
+    <section remap="h3">
+      <title><indexterm><primary>flock</primary></indexterm>Flock Feature</title>
+      <para>Lustre now includes the flock feature, which provides file locking support. Flock describes classes of file locks known as &apos;flocks&apos;. Flock can apply or remove a lock on an open file as specified by the user. However, a single file may not, simultaneously, have both shared and exclusive locks.</para>
+      <para>By default, the flock utility is disabled on Lustre. Two modes are available.</para>
+      <informaltable frame="none">
+        <tgroup cols="2">
+          <colspec colname="c1" colwidth="50*"/>
+          <colspec colname="c2" colwidth="50*"/>
+          <tbody>
+            <row>
+              <entry>
+                <para> <literal>local mode</literal></para>
+              </entry>
+              <entry>
+                <para>  In this mode, locks are coherent on one node (a single-node flock), but not across all clients. To enable it, use -o localflock. This is a client-mount option.</para>
+                <note>
+                  <para>This mode does not impact performance and is appropriate for single-node databases.</para>
+                </note>
+              </entry>
+            </row>
+            <row>
+              <entry>
+                <para> <literal>consistent mode</literal></para>
+              </entry>
+              <entry>
+                <para> In this mode, locks are coherent across all clients.</para>
+                <para> To enable it, use the -o flock. This is a client-mount option.</para>
+                <warning><para>This mode affects the performance of the file being flocked and may affect stability, depending on the Lustre version used. Consider using a newer Lustre version which is more stable. If the consistent mode is enabled and no applications are using flock, then it has no effect.</para></warning>
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+      <para>A call to use flock may be blocked if another process is holding an incompatible lock. Locks created using flock are applicable for an open file table entry. Therefore, a single process may hold only one type of lock (shared or exclusive) on a single file. Subsequent flock calls on a file that is already locked converts the existing lock to the new lock mode.</para>
+      <section remap="h4">
+        <title>Example</title>
+        <screen>$ mount -t lustre -o flock mds@tcp0:/lustre /mnt/client</screen>
+        <para>You can check it in /etc/mtab. It should look like,</para>
+        <screen>mds@tcp0:/lustre /mnt/client lustre rw,flock         0       0</screen>
       </section>
     </section>
+  </section>
 </chapter>