Bug#984472: e2fsprogs: resize2fs on inconsistent filesystem (in a way that e2fsck doesn't detect) completely corrupts MMP data (in a way e2fsck can't recover from)

2021-03-09 Thread наб
On Sat, Mar 06, 2021 at 11:07:53PM -0500, Theodore Ts'o wrote: > 1. e2image -r rbd13.e2i.qcow2 /tmp/rbd13 > 2. truncate -s 10T /tmp/rbd13 > 3. e2fsck -fy /tmp/rbd13 > 4. resize2fs /tmp/rbd13 > 5. e2fsck -fy /tmp/rbd13 > (FTR: the report specified these instructions almost exactly

Bug#984472: e2fsprogs: resize2fs on inconsistent filesystem (in a way that e2fsck doesn't detect) completely corrupts MMP data (in a way e2fsck can't recover from)

2021-03-06 Thread Theodore Ts'o
On Fri, Mar 05, 2021 at 09:48:50PM -0500, Theodore Ts'o wrote: > I can't reproduce the problem given your file system image. Given > your description, this is almost certainly operator error. OK, I was finally able to reproduce the problem, but not using your reproduction instructions. I

Bug#984472: e2fsprogs: resize2fs on inconsistent filesystem (in a way that e2fsck doesn't detect) completely corrupts MMP data (in a way e2fsck can't recover from)

2021-03-05 Thread Theodore Ts'o
I can't reproduce the problem given your file system image. Given your description, this is almost certainly operator error. > $ 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