From 5ef52930e6d413ebf4c066a15ab9d4ba2a045d25 Mon Sep 17 00:00:00 2001 From: Joseph Gmitter Date: Thu, 11 May 2017 12:33:31 -0400 Subject: [PATCH] LUDOC-285 dne: use rm_entry for remote dir on unavailable MDT Correct the instruction to remove a remote directory from an unavailable MDT by using 'lfs rm_entry'. Signed-off-by: Joseph Gmitter Change-Id: Ifdb3595c3373a3788bda2dab1180c80b34ff39d6 Reviewed-on: https://review.whamcloud.com/27074 Tested-by: Jenkins Reviewed-by: Andreas Dilger --- LustreMaintenance.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/LustreMaintenance.xml b/LustreMaintenance.xml index 3ccd54b..b9600c3 100644 --- a/LustreMaintenance.xml +++ b/LustreMaintenance.xml @@ -381,7 +381,14 @@ Removing and Restoring OSTs
<indexterm><primary>maintenance</primary><secondary>removing a MDT</secondary></indexterm>Removing a MDT from the File System - If the MDT is permanently inaccessible, lfs rmdir {directory} can be used to delete the directory entry. A normal rmdir 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: + If the MDT is permanently inaccessible, + lfs rm_entry {directory} can be used to delete the + directory entry on the unavailable MDT. A normal rmdir + will report an IO error due to the remote MDT being inactive. Please note + that if the MDT is available, a standard rm -r 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: lctl conf_param {MDT name}.mdc.active=0 A user can identify which MDT holds a remote sub-directory using -- 1.8.3.1