Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Correct. how do I set other values in structures? Both e2fsck and resize2fs being part of e2fsprogs, I doubt it would work. Yes, the resize_inode feature is enabled. Commented Apr 2, 2020 at 17:00
  • Did you actually test my suggestion? I tested it with "debugfs -w -R 'ssv blocks_count <new_count>' <device>" and then ran "e2fsck -fy -b0 <device>" and despite some expected errors (superblock corrupt, group descriptors corrupt, inode count bad), by e2fsck it appears to work. This was a test filesystem resizing from 1GB to 2GB, so YMMV. I would suggest doing this on a filesystem image to verify that it is working properly, and so that you don't lose your data. Commented Apr 3, 2020 at 20:56
  • Yes, but looks like it changes things too much for my device (loop reboot even after restoring the original size that same way). Commented Apr 4, 2020 at 0:03