[Bug 1796788] [NEW] resize2fs: Illegal indirect block found while trying to resize
Jeffy.Chen
1796788 at bugs.launchpad.net
Tue Oct 9 04:32:35 UTC 2018
Public bug reported:
The new resize2fs(1.43+) failed to resize attached image file, and e2fsck didn't report any error before the resizing.
Test steps:
1/ truncate -s 220M userdata.img
2/ e2fsck -fy userdata.img
3/ resize2fs userdata.img
Result:
When using resize2fs from e2fsprogs 1.43+(tested 1.43.4/1.43.5/1.44.4), it would abort with:
Resizing the filesystem on userdata.img to 225280 (1k) blocks.
resize2fs: Illegal indirect block found while trying to resize userdata.img
Please run 'e2fsck -fy userdata.img' to fix the filesystem
after the aborted resize operation.
More information:
1/ The image is generated on xenial with genext2fs
2/ It works well on xenial with e2fsprogs 1.42.13-1ubuntu1
3/ It works well when resizing with a size less than 220M, for example "resize2fs userdata.img 219M"
** Affects: e2fsprogs (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "test image"
https://bugs.launchpad.net/bugs/1796788/+attachment/5198956/+files/userdata.img
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1796788
Title:
resize2fs: Illegal indirect block found while trying to resize
Status in e2fsprogs package in Ubuntu:
New
Bug description:
The new resize2fs(1.43+) failed to resize attached image file, and e2fsck didn't report any error before the resizing.
Test steps:
1/ truncate -s 220M userdata.img
2/ e2fsck -fy userdata.img
3/ resize2fs userdata.img
Result:
When using resize2fs from e2fsprogs 1.43+(tested 1.43.4/1.43.5/1.44.4), it would abort with:
Resizing the filesystem on userdata.img to 225280 (1k) blocks.
resize2fs: Illegal indirect block found while trying to resize userdata.img
Please run 'e2fsck -fy userdata.img' to fix the filesystem
after the aborted resize operation.
More information:
1/ The image is generated on xenial with genext2fs
2/ It works well on xenial with e2fsprogs 1.42.13-1ubuntu1
3/ It works well when resizing with a size less than 220M, for example "resize2fs userdata.img 219M"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1796788/+subscriptions
More information about the foundations-bugs
mailing list