Whamcloud - gitweb
LU-16232 scripts: changelog/updatelog emergency cleanup 38/48838/4
authorMikhail Pershin <mpershin@whamcloud.com>
Wed, 12 Oct 2022 09:22:14 +0000 (12:22 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 2 Nov 2022 07:11:37 +0000 (07:11 +0000)
commitb533700add91fe4220f50d057a470e0b6f4893c9
treef55f6aa0319ba874c6311a70a9f838a5d989f27f
parentb4e06ff1e4856ce087f713393a2c277e2eebb156
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

Test-Parameters: trivial
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I3b197179bc54f451e3c5d7db36b6f1c56c076856
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48838
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@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]