Whamcloud - gitweb
LU-16232 scripts: changelog/updatelog emergency cleanup
authorMikhail Pershin <mpershin@whamcloud.com>
Wed, 12 Oct 2022 09:22:14 +0000 (12:22 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 4 Nov 2022 04:11:46 +0000 (04:11 +0000)
commit24c237105949f86d2bbdab26b8e242ea962afaa8
treed24fc77212756cb295bcffc00cfea448e0a1f304
parent129f824ec2777c36787b25fef5ae2c08a6104c5a
LU-16232 scripts: changelog/updatelog emergency cleanup

Emergency cleanup scripts for situations when llogs are
corrupted and can't be cleaned up in a normal way. In such
cases the recommendation is to remove/truncate those llogs.

Scripts make all needed steps and have debugging option to
collect llogs for further analysis.

Scripts possible actions are:
 - dry-run mode to check all actions and files affected
 - create archive with all llogs for analysis
 - remove llogs including all plain llogs

Lustre-change: https://review.whamcloud.com/48838
Lustre-commit: b533700add91fe4220f50d057a470e0b6f4893c9

Test-Parameters: trivial
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I3b197179bc54f451e3c5d7db36b6f1c56c076856
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49023
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre.spec.in
lustre/scripts/Makefile.am
lustre/scripts/remove_changelog [new file with mode: 0755]
lustre/scripts/remove_updatelog [new file with mode: 0755]