--- Begin Message ---
Package: e2fsprogs
Version: 1.44.5-1+deb10u3
Version: 1.46.2-1
Severity: normal
Dear Maintainer,
Please consider this image (21M compressed, 1.2G data over 1T volume),
generated from e2image -Q of a snapshot generated with the proxmox UI,
which presumably didn't freeze it:
https://lfs.nabijaczleweli.xyz/0006-proxmox-vs-e2fsprogs/rbd13.e2i.qcow2.zst
The image is then applied to a larger device
(I just tested with 10T, but 4T should also work;
I'd expect any enlargement to work, but we hit it with 4T originally).
Doing e2fsck -f on the original-size blockdev results in a functioning
filesystem (with some files missing).
However, resizing first, then doing:
1. nothing/e2fsck/e2fsck -f
2. resize2fs
destroys the filesystem seemingly permanently.
resize2fs (and then other programs from the suite then suggest):
3. e2fsck -f
4. tune2fs -f -E clear_mmp
5. e2fsck -f
This doesn't fix it either, and subsequent resize2fs runs bail out
immediately on invalid MMP blocks (e2fsprogs from Buster fail slightly
differently, in that they raze all superblocks, but the end effect
is the same). I've looped e2fsck -f for over 260 runs and never got
the same block bitmap twice (attached, may be useful?).
Transcripts follow, all with sid e2fsprogs (1.46.2-1)
on a 10T blockdev. The resize2fs steps take inordinately long times
to fail, and they manage to fallocate(2)/fsync(2) most of the blockdev
beforehand, but they do fail.
Best,
наб
1=nothing:
-- >8 --
$ resize2fs /dev/zvol/filling/store/nabijaczleweli/e2test
resize2fs 1.46.2 (28-Feb-2021)
Please run 'e2fsck -f /dev/zvol/filling/store/nabijaczleweli/e2test' first.
$ e2fsck -f /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
e2fsck: MMP: e2fsck being run while checking MMP block
MMP check failed: If you are sure the filesystem is not in use on any node, run:
'tune2fs -f -E clear_mmp /dev/zvol/filling/store/nabijaczleweli/e2test'
MMP_block:
mmp_magic: 0x4d4d50
mmp_check_interval: 10
mmp_sequence: e24d4d50
mmp_update_date: Wed Mar 3 14:51:38 2021
mmp_update_time: 1614779498
mmp_node_name: tarta
mmp_device_name: /dev/zvol/filling/store/nabijacz
/dev/zvol/filling/store/nabijaczleweli/e2test: ********** WARNING: Filesystem
still has errors **********
$ tune2fs -f -E clear_mmp /dev/zvol/filling/store/nabijaczleweli/e2test
tune2fs 1.46.2 (28-Feb-2021)
$ e2fsck -fy /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
ext2fs_open2: Superblock checksum does not match superblock
e2fsck: Superblock invalid, trying backup blocks...
Superblock has invalid MMP magic. Fix? yes
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -9927 +(196608--196611) +196613 +196615 +196617
+(196620--196621) +196623 +196625 +(196628--196629) +(196631--196643) +196645
+196647 +196649 +(196652--196653) +196655 +196657 +(196660--196661)
+(196663--196664) +(196666--196668) +196672 +196674 +196676 +196678
+(196680--196683) +196686 +(196694--196700) +(196703--196737) +196739 +196743
+(196745--196748) +(196751--196752) +(196754--196755) +(196759--196761) +196763
+196767 +(196769--196772) +(196775--197247) +197252 +(197254--197257)
+(197259--197260) +197263 +197265 +(197267--197268) +(197271--197272) +197275
+197279 +197284 +(197286--197288) +197290 +(197295--197296) +197299 +197303
+197308 +(197311--197313) +197316 +197319 +197324 +(197326--197328)
+(197331--197332) +197335 +(197337--197338) +197340 +(197343--197345) +197348
+(197351--197353) +197356 +197359 +(197361--197362) +197364 +(197367--197368)
+197372 +197375 +(197379--197380) +197383 +197388 +(197390--197391)
+(197394--197395) +(197399--197401) +197403 +197407 +197412 +(197415--197416)
+(197418--197419) +197423 +197425 +(197427--197428) +197431 +197436
+(197438--197440) +197444 +197447 +(197449--197452) +(197455--197456)
+(197458--197460) +197463 +(197465--197466) +197468 +(197471--197472) +197474
+197476 +197479 +(197481--197484) +197487 +(197490--197492) +(197495--197496)
+197498 +197503 +197505 +(197507--204767) +204771 +204774 +204776
+(204779--204780) +204783 +204785 +204787 +204791 +204794 +(204797--204798)
-(16398336--16402431)
Fix? yes
Free blocks count wrong for group #0 (22201, counted=22202).
Fix? yes
Free blocks count wrong (2460488124, counted=2460488125).
Fix? yes
Padding at end of inode bitmap is not set. Fix? yes
/dev/zvol/filling/store/nabijaczleweli/e2test: ***** FILE SYSTEM WAS MODIFIED
*****
/dev/zvol/filling/store/nabijaczleweli/e2test: 225913/671088640 files (8.6%
non-contiguous), 223866435/2684354560 blocks
$ resize2fs /dev/zvol/filling/store/nabijaczleweli/e2test
resize2fs 1.46.2 (28-Feb-2021)
resize2fs: MMP: invalid magic number while trying to open
/dev/zvol/filling/store/nabijaczleweli/e2test
Couldn't find valid filesystem superblock.
$ e2fsck -fy /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
Superblock has invalid MMP magic. Fix? yes
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: +(196608--196611) +196613 +196615 +196617
+(196620--196621) +196623 +196625 +(196628--196629) +(196631--196643) +196645
+196647 +196649 +(196652--196653) +196655 +196657 +(196660--196661)
+(196663--196664) +(196666--196668) +196674 +196677 +196679 +196681 +196683
+196686 +(196694--196700) +(196703--196737) +196739 +196743 +(196745--196748)
+(196751--196752) +(196754--196755) +(196759--196761) +196763 +196767
+(196769--196772) +(196775--197247) +197252 +(197254--197257) +(197259--197260)
+197263 +197265 +(197267--197268) +(197271--197272) +197275 +197279 +197284
+(197286--197288) +197290 +(197295--197296) +197299 +197303 +197308
+(197311--197313) +197316 +197319 +197324 +(197326--197328) +(197331--197332)
+197335 +(197337--197338) +197340 +(197343--197345) +197348 +(197351--197353)
+197356 +197359 +(197361--197362) +197364 +(197367--197368) +197372 +197375
+(197379--197380) +197383 +197388 +(197390--197391) +(197394--197395)
+(197399--197401) +197403 +197407 +197412 +(197415--197416) +(197418--197419)
+197423 +197425 +(197427--197428) +197431 +197436 +(197438--197440) +197444
+197447 +(197449--197452) +(197455--197456) +(197458--197460) +197463
+(197465--197466) +197468 +(197471--197472) +197474 +197476 +197479
+(197481--197484) +197487 +(197490--197492) +(197495--197496) +197498 +197503
+197505 +(197507--204769) +(204776--204777) +(204779--204780) +204782 +204788
+(204791--204792) +204795 +(204798--204799)
Fix? yes
/dev/zvol/filling/store/nabijaczleweli/e2test: ***** FILE SYSTEM WAS MODIFIED
*****
/dev/zvol/filling/store/nabijaczleweli/e2test: 225913/671088640 files (8.6%
non-contiguous), 223866435/2684354560 blocks
$ resize2fs /dev/zvol/filling/store/nabijaczleweli/e2test
resize2fs 1.46.2 (28-Feb-2021)
resize2fs: MMP: invalid magic number while trying to open
/dev/zvol/filling/store/nabijaczleweli/e2test
Couldn't find valid filesystem superblock.
-- >8 --
1=e2fsck:
-- >8 --
$ e2fsck /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
MMP interval is 10 seconds and total wait time is 42 seconds. Please wait...
Clearing orphaned inode 45617124 (uid=107, gid=115, mode=0100600, size=16777216)
Clearing orphaned inode 15073744 (uid=0, gid=0, mode=0100644, size=593696)
Clearing orphaned inode 15073743 (uid=0, gid=0, mode=0100644, size=3031904)
Clearing orphaned inode 50331709 (uid=0, gid=0, mode=0100644, size=149704)
Clearing orphaned inode 50332495 (uid=0, gid=0, mode=0100755, size=231560)
Clearing orphaned inode 50332319 (uid=0, gid=0, mode=0100644, size=2670992)
Clearing orphaned inode 50332271 (uid=0, gid=0, mode=0100644, size=651472)
Clearing orphaned inode 50332251 (uid=0, gid=0, mode=0100644, size=282752)
Clearing orphaned inode 13 (uid=0, gid=0, mode=0100600, size=0)
/dev/zvol/filling/store/nabijaczleweli/e2test: clean, 225913/67108864 files,
185961409/268435456 blocks
$ resize2fs /dev/zvol/filling/store/nabijaczleweli/e2test
resize2fs 1.46.2 (28-Feb-2021)
Please run 'e2fsck -f /dev/zvol/filling/store/nabijaczleweli/e2test' first.
$ e2fsck -f /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
e2fsck: MMP: e2fsck being run while checking MMP block
MMP check failed: If you are sure the filesystem is not in use on any node, run:
'tune2fs -f -E clear_mmp /dev/zvol/filling/store/nabijaczleweli/e2test'
MMP_block:
mmp_magic: 0x4d4d50
mmp_check_interval: 10
mmp_sequence: e24d4d50
mmp_update_date: Wed Mar 3 17:20:25 2021
mmp_update_time: 1614788425
mmp_node_name: tarta
mmp_device_name: /dev/zvol/filling/store/nabijacz
/dev/zvol/filling/store/nabijaczleweli/e2test: ********** WARNING: Filesystem
still has errors **********
$ tune2fs -f -E clear_mmp /dev/zvol/filling/store/nabijaczleweli/e2test
tune2fs 1.46.2 (28-Feb-2021)
$ e2fsck -f /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
Pass 1: Checking inodes, blocks, and sizes
Inode 46530577 extent tree (at level 1) could be shorter. Optimize<y>? yes
Inode 46530714 extent tree (at level 1) could be shorter. Optimize<y>? yes
Pass 1E: Optimizing extent trees
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/zvol/filling/store/nabijaczleweli/e2test: ***** FILE SYSTEM WAS MODIFIED
*****
/dev/zvol/filling/store/nabijaczleweli/e2test: 225913/67108864 files (8.6%
non-contiguous), 185961407/268435456 blocks
$ resize2fs /dev/zvol/filling/store/nabijaczleweli/e2test
resize2fs 1.46.2 (28-Feb-2021)
Resizing the filesystem on /dev/zvol/filling/store/nabijaczleweli/e2test to
2684354560 (4k) blocks.
resize2fs: MMP: invalid magic number while trying to resize
/dev/zvol/filling/store/nabijaczleweli/e2test
Please run 'e2fsck -fy /dev/zvol/filling/store/nabijaczleweli/e2test' to fix
the filesystem
after the aborted resize operation.
$ e2fsck -fy /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
ext2fs_open2: Superblock checksum does not match superblock
e2fsck: Superblock invalid, trying backup blocks...
Superblock has invalid MMP magic. Fix? yes
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -9927 +(196608--196611) +196613 +196615 +196617
+(196620--196621) +196623 +196625 +(196628--196629) +(196631--196643) +196645
+196647 +196649 +(196652--196653) +196655 +196657 +(196660--196661)
+(196663--196664) +(196666--196668) +(196673--196678) +(196680--196681)
+(196684--196685) +(196694--196700) +(196703--196737) +196739 +196743
+(196745--196748) +(196751--196752) +(196754--196755) +(196759--196761) +196763
+196767 +(196769--196772) +(196775--197247) +197252 +(197254--197257)
+(197259--197260) +197263 +197265 +(197267--197268) +(197271--197272) +197275
+197279 +197284 +(197286--197288) +197290 +(197295--197296) +197299 +197303
+197308 +(197311--197313) +197316 +197319 +197324 +(197326--197328)
+(197331--197332) +197335 +(197337--197338) +197340 +(197343--197345) +197348
+(197351--197353) +197356 +197359 +(197361--197362) +197364 +(197367--197368)
+197372 +197375 +(197379--197380) +197383 +197388 +(197390--197391)
+(197394--197395) +(197399--197401) +197403 +197407 +197412 +(197415--197416)
+(197418--197419) +197423 +197425 +(197427--197428) +197431 +197436
+(197438--197440) +197444 +197447 +(197449--197452) +(197455--197456)
+(197458--197460) +197463 +(197465--197466) +197468 +(197471--197472) +197474
+197476 +197479 +(197481--197484) +197487 +(197490--197492) +(197495--197496)
+197498 +197503 +197505 +(197507--204768) +(204770--204771) +204779 +204781
+(204783--204784) +(204791--204792) +(204794--204799)
Fix? yes
Free blocks count wrong for group #0 (22201, counted=22202).
Fix? yes
Free blocks count wrong (2460488124, counted=2460488125).
Fix? yes
Padding at end of inode bitmap is not set. Fix? yes
/dev/zvol/filling/store/nabijaczleweli/e2test: ***** FILE SYSTEM WAS MODIFIED
*****
/dev/zvol/filling/store/nabijaczleweli/e2test: 225913/671088640 files (8.6%
non-contiguous), 223866435/2684354560 blocks
-- >8 --
1=e2fsck -f:
-- >8 --
$ e2fsck -fy /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
MMP interval is 10 seconds and total wait time is 42 seconds. Please wait...
Clearing orphaned inode 45617124 (uid=107, gid=115, mode=0100600, size=16777216)
Clearing orphaned inode 15073744 (uid=0, gid=0, mode=0100644, size=593696)
Clearing orphaned inode 15073743 (uid=0, gid=0, mode=0100644, size=3031904)
Clearing orphaned inode 50331709 (uid=0, gid=0, mode=0100644, size=149704)
Clearing orphaned inode 50332495 (uid=0, gid=0, mode=0100755, size=231560)
Clearing orphaned inode 50332319 (uid=0, gid=0, mode=0100644, size=2670992)
Clearing orphaned inode 50332271 (uid=0, gid=0, mode=0100644, size=651472)
Clearing orphaned inode 50332251 (uid=0, gid=0, mode=0100644, size=282752)
Clearing orphaned inode 13 (uid=0, gid=0, mode=0100600, size=0)
Pass 1: Checking inodes, blocks, and sizes
Inode 46530577 extent tree (at level 1) could be shorter. Optimize? yes
Inode 46530714 extent tree (at level 1) could be shorter. Optimize? yes
Pass 1E: Optimizing extent trees
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/zvol/filling/store/nabijaczleweli/e2test: ***** FILE SYSTEM WAS MODIFIED
*****
/dev/zvol/filling/store/nabijaczleweli/e2test: 225913/67108864 files (8.6%
non-contiguous), 185961407/268435456 blocks
$ resize2fs /dev/zvol/filling/store/nabijaczleweli/e2test
resize2fs 1.46.2 (28-Feb-2021)
Resizing the filesystem on /dev/zvol/filling/store/nabijaczleweli/e2test to
2684354560 (4k) blocks.
resize2fs: MMP: invalid magic number while trying to resize
/dev/zvol/filling/store/nabijaczleweli/e2test
Please run 'e2fsck -fy /dev/zvol/filling/store/nabijaczleweli/e2test' to fix
the filesystem
after the aborted resize operation.
$ e2fsck -fy /dev/zvol/filling/store/nabijaczleweli/e2test
e2fsck 1.46.2 (28-Feb-2021)
ext2fs_open2: Superblock checksum does not match superblock
e2fsck: Superblock invalid, trying backup blocks...
Superblock has invalid MMP magic. Fix? yes
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -9927 +(196608--196611) +196613 +196615 +196617
+(196620--196621) +196623 +196625 +(196628--196629) +(196631--196643) +196645
+196647 +196649 +(196652--196653) +196655 +196657 +(196660--196661)
+(196663--196664) +(196666--196668) +196672 +196674 +(196677--196679)
+(196682--196684) +(196694--196700) +(196703--196737) +196739 +196743
+(196745--196748) +(196751--196752) +(196754--196755) +(196759--196761) +196763
+196767 +(196769--196772) +(196775--197247) +197252 +(197254--197257)
+(197259--197260) +197263 +197265 +(197267--197268) +(197271--197272) +197275
+197279 +197284 +(197286--197288) +197290 +(197295--197296) +197299 +197303
+197308 +(197311--197313) +197316 +197319 +197324 +(197326--197328)
+(197331--197332) +197335 +(197337--197338) +197340 +(197343--197345) +197348
+(197351--197353) +197356 +197359 +(197361--197362) +197364 +(197367--197368)
+197372 +197375 +(197379--197380) +197383 +197388 +(197390--197391)
+(197394--197395) +(197399--197401) +197403 +197407 +197412 +(197415--197416)
+(197418--197419) +197423 +197425 +(197427--197428) +197431 +197436
+(197438--197440) +197444 +197447 +(197449--197452) +(197455--197456)
+(197458--197460) +197463 +(197465--197466) +197468 +(197471--197472) +197474
+197476 +197479 +(197481--197484) +197487 +(197490--197492) +(197495--197496)
+197498 +197503 +197505 +(197507--204767) +(204769--204771) +(204775--204776)
+204778 +204781 +204783 +(204785--204789) +204791 +204794 +(204797--204798)
-(16398336--16402431)
Fix? yes
Free blocks count wrong for group #0 (22201, counted=22202).
Fix? yes
Free blocks count wrong (2460488124, counted=2460488125).
Fix? yes
Padding at end of inode bitmap is not set. Fix? yes
/dev/zvol/filling/store/nabijaczleweli/e2test: ***** FILE SYSTEM WAS MODIFIED
*****
/dev/zvol/filling/store/nabijaczleweli/e2test: 225913/671088640 files (8.6%
non-contiguous), 223866435/2684354560 blocks
-- >8 --
-- System Information:
Debian Release: 10.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-14-amd64 (SMP w/24 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN,
TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages e2fsprogs depends on:
ii libblkid1 2.33.1-0.1
ii libc6 2.28-10
ii libcom-err2 1.44.5-1+deb10u3
ii libext2fs2 1.44.5-1+deb10u3
ii libss2 1.44.5-1+deb10u3
ii libuuid1 2.33.1-0.1
Versions of packages e2fsprogs recommends:
pn e2fsprogs-l10n <none>
Versions of packages e2fsprogs suggests:
pn e2fsck-static <none>
pn fuse2fs <none>
pn gpart <none>
ii parted 3.2-25
-- Configuration Files:
/etc/e2scrub.conf changed [not included]
-- no debconf information
e2fsck-f-loop.zst
Description: Binary data
signature.asc
Description: PGP signature
--- End Message ---