Whamcloud - gitweb
LUDOC-285 dne: use rm_entry for remote dir on unavailable MDT 74/27074/3
authorJoseph Gmitter <joseph.gmitter@intel.com>
Thu, 11 May 2017 16:33:31 +0000 (12:33 -0400)
committerAndreas Dilger <andreas.dilger@intel.com>
Thu, 18 May 2017 12:47:34 +0000 (12:47 +0000)
Correct the instruction to remove a remote directory from an
unavailable MDT by using 'lfs rm_entry'.

Signed-off-by: Joseph Gmitter <joseph.gmitter@intel.com>
Change-Id: Ifdb3595c3373a3788bda2dab1180c80b34ff39d6
Reviewed-on: https://review.whamcloud.com/27074
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
LustreMaintenance.xml

index 3ccd54b..b9600c3 100644 (file)
@@ -381,7 +381,14 @@ Removing and Restoring OSTs</title>
       </itemizedlist>
       <section condition="l24" xml:id="dbdoclet.rmremotedir">
       <title><indexterm><primary>maintenance</primary><secondary>removing a MDT</secondary></indexterm>Removing a MDT from the File System</title>
-       <para>If the MDT is permanently inaccessible, <literal>lfs rmdir {directory}</literal> can be used to delete the directory entry. A normal <literal>rmdir</literal> will report an IO error due to the remote MDT being inactive. After the remote directory has been removed, the administrator should mark the MDT as permanently inactive with:</para>
+       <para>If the MDT is permanently inaccessible,
+    <literal>lfs rm_entry {directory}</literal> can be used to delete the
+    directory entry on the unavailable MDT. A normal <literal>rmdir</literal>
+    will report an IO error due to the remote MDT being inactive. Please note
+    that if the MDT is available, a standard <literal>rm -r</literal> should
+    be used to delete the remote directory.  After the remote directory has been
+    removed, the administrator should mark the MDT as permanently inactive
+    with:</para>
 <screen>lctl conf_param {MDT name}.mdc.active=0
 </screen>
 <para>A user can identify which MDT holds a remote sub-directory using