From: Andreas Dilger Date: Tue, 9 Feb 2021 16:04:45 +0000 (-0700) Subject: LU-7668 admin: reference the del_ost command X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F41454%2F8;p=doc%2Fmanual.git LU-7668 admin: reference the del_ost command Reference the new "lctl del_ost" command to remove the OST config records from the config llogs on the MGS. Signed-off-by: Andreas Dilger Change-Id: Ic6281b92c22f7a4537b7e802ebadf9a2303ebbe5 Reviewed-on: https://review.whamcloud.com/41454 Tested-by: jenkins Reviewed-by: Andreas Dilger --- diff --git a/LustreMaintenance.xml b/LustreMaintenance.xml index ac0a3bf..01ed082 100644 --- a/LustreMaintenance.xml +++ b/LustreMaintenance.xml @@ -634,7 +634,18 @@ client$ lfs getstripe --mdt-index /mnt/lustre/local_dir0 mkfs.lustre --replace option, see . - To totally remove the OST from the filesystem configuration, + + In Lustre 2.16 and later, it is possible to run the command + "lctl del_ost --target fsname-OSTxxxx" + on the MGS to totally remove an OST from the MGS configuration + logs. This will cancel the configuration logs for that OST in + the client and MDT configuration logs for the named filesystem. + This permanently removes the configuration records for that OST + from the filesystem, so that it will not be visible on later + client and MDT mounts, and should only be run after earlier + steps to migrate files off the OST. + + If the del_ost command is not available, the OST configuration records should be found in the startup logs by running the command "lctl --device MGS llog_print fsname-client" @@ -647,9 +658,9 @@ client$ lfs getstripe --mdt-index /mnt/lustre/local_dir0 known for each configuration record, the command "lctl --device MGS llog_cancel llog_name -i index " will drop that record from the configuration log - llog_name for each of the - fsname-client and - fsname-MDTxxxx + llog_name. This is needed for each + of fsname-client + and fsname-MDTxxxx configuration logs so that new mounts will no longer process it. If a whole OSS is being removed, theadd_uuid records for the OSS should similarly be canceled.