Skip to contentSkip to conversation

resize_reiserfs 3.6.8 doesn't shrink bitmap correctly

DISCUSSION John Dalbec 2 participants 2 messages Jun 23, 2003 – Jun 24, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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, but resize_reiserfs reported 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_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.

Thank you for the report, I see the problem and I am fixing it.

Signature · 2 lines
Thanks,
Vitaly Fertman