[LU-17117] debugfs should be able to disable MMP directly Created: 15/Sep/23  Updated: 27/Sep/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-14958 configurable hash table size for jbd2 Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In trying to recover a filesystem hitting LU-14958 with very slow journal recovery, we were unable to run "tune2fs -f -E clear_mmp" to clear the superblock, because this was going to take about 30 hours to finish processing the journal revoke blocks. I wanted to use something like "debugfs -f -w -R 'set_mmp_value seq 1234' /dev/MDT" or "... 'feature ^mmp' ..." to reset the e2fsck sequence number, but it was not possible to open the filesystem as it continually returned an error when trying to open it in write mode:

# debugfs -f -w -r "set_mmp_value seq 1234" /dev/sdc
MMP: e2fsck being run while trying to open /dev/sdc


 Comments   
Comment by Gerrit Updater [ 15/Sep/23 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/tools/e2fsprogs/+/52380
Subject: LU-17117 debugfs: allow debugfs to disable MMP directly
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: 8fe38612f2aa8c02beed94a39760084187e96221

Comment by Gerrit Updater [ 15/Sep/23 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/tools/e2fsprogs/+/52385
Subject: LU-17117 misc: deduplicate log2/log10 functions
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: be32326d57faafe4296f1aa0e56e14d97904eac7

Comment by Gerrit Updater [ 15/Sep/23 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/tools/e2fsprogs/+/52386
Subject: LU-17117 journal: increase revoke block hash size
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: 2b8ccc76a34cc725d6c797c3f8096a9ad61b1cce

Comment by Gerrit Updater [ 15/Sep/23 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/tools/e2fsprogs/+/52387
Subject: LU-17117 journal: make journal.c more consistent
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: f9d434a3f396ee1e616e076e872cade3f29da629

Comment by Gerrit Updater [ 22/Sep/23 ]

"Andreas Dilger <adilger@whamcloud.com>" merged in patch https://review.whamcloud.com/c/tools/e2fsprogs/+/52380/
Subject: LU-17117 debugfs: allow debugfs to disable MMP directly
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set:
Commit: 37440af03220e88cfcac5cdcee22c904bab87930

Comment by Gerrit Updater [ 27/Sep/23 ]

"Andreas Dilger <adilger@whamcloud.com>" merged in patch https://review.whamcloud.com/c/tools/e2fsprogs/+/52385/
Subject: LU-17117 misc: deduplicate log2/log10 functions
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set:
Commit: 3ff538c1dba816bdeeddd60ad4ce98e66cd70a86

Comment by Gerrit Updater [ 27/Sep/23 ]

"Andreas Dilger <adilger@whamcloud.com>" merged in patch https://review.whamcloud.com/c/tools/e2fsprogs/+/52386/
Subject: LU-17117 journal: increase revoke block hash size
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set:
Commit: b67310af4a9cf270def588d6f97229e8f6cce30e

Generated at Sat Feb 10 03:32:47 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.