resize_reiserfs 3.6.8 doesn't shrink bitmap correctly
I ran resize_reiserfs -s -1024M on a ReiserFS partition for testing. The partition resized OK, mounted OK, umounted OK. Then I tried to restore the original filesystem size, but resize_reiserfs reported that it couldn't read the on-disk bitmap. I ran reiserfsck and it reported:
Zero bit found in on-disk bitmap after the last valid bit.
and said I could fix it with --fix-fixable. I ran reiserfsck --fix-fixable and it fixed the problem. I then ran resize_reiserfs on the same partition to restore the original size with no problems. I repeated this exercise to make sure it wasn't a fluke, with the same results. Thanks,
John Dalbec
Quoted 5 lines · John Dalbec
I ran
resize_reiserfs-s -1024M on a ReiserFS partition for testing. The partition resized OK, mounted OK, umounted OK. Then I tried to restore the original filesystem size, butresize_reiserfsreported that it couldn't read the on-disk bitmap. I ran reiserfsck and it reported:
Quoted 7 lines
Zero bit found in on-disk bitmap after the last valid bit.
and said I could fix it with --fix-fixable. I ran reiserfsck --fix-fixable and it fixed the problem. I then ran
resize_reiserfson the same partition to restore the original size with no problems. I repeated this exercise to make sure it wasn't a fluke, with the same results.
Thank you for the report, I see the problem and I am fixing it.
Signature · 2 lines
Thanks, Vitaly Fertman