Whamcloud - gitweb
LU-7668 utils: add lctl del_ost 49/41449/12
authorStephane Thiell <sthiell@stanford.edu>
Tue, 9 Feb 2021 06:47:31 +0000 (22:47 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jul 2022 06:50:02 +0000 (06:50 +0000)
commit1121816c4a4e1bb2ef097c4a9802362181c43800
tree9ee7834f50a0bf57f1607655f2d0a687c906928c
parentec79791a7cda5b66649200b16a70167d86059e65
LU-7668 utils: add lctl del_ost

Add helper command:

   lctl del_ost [--dryrun] --target fsname-OSTxxxx

Permanently disable an OST by altering the client and MDT llog
catalogs on MGS. The command finds all catalog records related to the
specified OST and cancel them. A --dryrun option is provided so that
the system administrator can see which records would have been
cancelled, but without actually cancelling them.

Signed-off-by: Stephane Thiell <sthiell@stanford.edu>
Change-Id: I58c4f10fa0f7164a40231e807698eb224cccf062
Reviewed-on: https://review.whamcloud.com/41449
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/Makefile.am
lustre/doc/lctl-del_ost.8 [new file with mode: 0644]
lustre/tests/conf-sanity.sh
lustre/utils/lctl.c
lustre/utils/obd.c
lustre/utils/obdctl.h