Whamcloud - gitweb
LU-16232 scripts: changelog/updatelog emergency cleanup 11/58011/2
authorMikhail Pershin <mpershin@whamcloud.com>
Wed, 12 Oct 2022 09:22:14 +0000 (12:22 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 9 May 2025 01:46:09 +0000 (01:46 +0000)
commit470d06cf5ca7a1eceb30e04d30b350465ffd336c
treecd7e31b8bbb7c5966f97649382067a90de43e36e
parent971bf36247ce11f18d7b68dfcc364f74d3603b37
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-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58011
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@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]