Whamcloud - gitweb
LUDOC-430 nodemap: doc for 'default' nodemap 89/34089/2
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 22 Jan 2019 13:20:27 +0000 (14:20 +0100)
committerJoseph Gmitter <jgmitter@whamcloud.com>
Fri, 8 Feb 2019 18:55:58 +0000 (18:55 +0000)
This patch adds documentation about the 'default' nodemap.
This doc is added under the Mapping UIDs and GIDs with Nodemap
chapter.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I9ae21cc4ae321f804f950a9a05e48f1df91c9dc0
Reviewed-on: https://review.whamcloud.com/34089
Tested-by: Jenkins
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Joseph Gmitter <jgmitter@whamcloud.com>
LustreNodemap.xml

index 0efd877..313ab95 100644 (file)
     </listitem>
 
     <listitem>
+      <para><xref linkend="defaultNodemap"/></para>
+    </listitem>
+
+    <listitem>
       <para><xref linkend="verifyingsettings"/></para>
     </listitem>
 
@@ -363,6 +367,45 @@ oss# lctl set_param nodemap.add_nodemap_idmap='<replaceable>SiteName</replaceabl
     ten seconds in normal circumstances.</para>
   </section>
 
+  <section xml:id="defaultNodemap">
+    <title><literal>default</literal> Nodemap</title>
+
+    <para>There is a special nodemap called <literal>default</literal>. As the
+      name suggests, it is created by default and cannot be removed. It is like
+      a fallback nodemap, setting the behaviour for Lustre clients that do not
+      match any other nodemap.</para>
+    <para>Because of its special role, only some parameters can be set on the
+      <literal>default</literal> nodemap:</para>
+    <itemizedlist>
+      <listitem>
+        <para><literal>admin</literal></para>
+      </listitem>
+      <listitem>
+        <para><literal>trusted</literal></para>
+      </listitem>
+      <listitem>
+        <para><literal>squash_uid</literal></para>
+      </listitem>
+      <listitem>
+        <para><literal>squash_gid</literal></para>
+      </listitem>
+      <listitem>
+        <para><literal>fileset</literal></para>
+      </listitem>
+      <listitem>
+        <para><literal>audit_mode</literal></para>
+      </listitem>
+    </itemizedlist>
+    <para>In particular, no UID/GID mapping can be defined on the
+      <literal>default</literal> nodemap.</para>
+    <note>
+      <para>Be careful when altering the <literal>admin</literal> and
+        <literal>trusted</literal> properties of the <literal>default</literal>
+        nodemap, especially if your Lustre servers fall into this nodemap.
+      </para>
+    </note>
+  </section>
+
   <section xml:id="verifyingsettings">
     <title>Verifying Settings</title>