[LU-13672] tune2fs leaves MMP block in inconsistent state on error Created: 12/Jun/20 Updated: 08/Feb/21 Resolved: 17/Jun/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Andreas Dilger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | e2fsprogs | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Running "tune2fs -O project" on the MGS fails because it may be formatted with 128-byte inode size if smaller than 512MB in size. This prevents the "project" feature from being used because there is no extended inode space to hold the project ID. As a result, tune2fs exits without resetting the MMP block to an "unused" state, and this prevents the filesystem from being mounted, with an error: LDISKFS-fs warning (device dm-9): ldiskfs_multi_mount_protect:311: fsck is running on the filesystem
LDISKFS-fs warning (device dm-9): ldiskfs_multi_mount_protect:311: MMP failure
info: last update time: 1591374065, last update node: mds-9-0,
last update device: /dev/mapper/vg_mgs-mgs
|
| Comments |
| Comment by Gerrit Updater [ 12/Jun/20 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38926 |
| Comment by Gerrit Updater [ 17/Jun/20 ] |
|
Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/38926/ |
| Comment by Andreas Dilger [ 17/Jun/20 ] |
|
Patch also submitted upstream to the linux-ext4 mailing list: |
| Comment by Andreas Dilger [ 17/Jun/20 ] |
|
Patch is landed, and will be included in the next e2fsprogs release (1.45.6-wc2 or later). |