resize_inode
Hello All,
I'm trying to create a small SD card image that I can quickly dd to card and then do an online resize as a post process step to take advantage of the entire space of the card. Similar to how the raspbian image works. Unfortunately genext2fs doesn't seem to set this flag (and reserve the required resources), so the online resize fails. I tried using tune2fs, as it looked like there was some interest in adding support, but it looks like it never happened. Has anyone else run into this issue? Is there a solution?
resize2fs 1.42.1 (17-Feb-2012)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required old_desc_blocks = 1, new_desc_blocks = 15
resize2fs: Filesystem does not support online resizing
| Setting filesystem feature 'resize_inode' not supported. | tune2fs 1.42.1 (17-Feb-2012)
Thanks,
Seth
Quoted 9 lines · On Saturday 04 May 2013 15:36:41 seth bollinger wrote:
I'm trying to create a small SD card image that I can quickly dd to card and then do an online resize as a post process step to take advantage of the entire space of the card. Similar to how the raspbian image works. Unfortunately genext2fs doesn't seem to set this flag (and reserve the required resources), so the online resize fails. I tried using tune2fs, as it looked like there was some interest in adding support, but it looks like it never happened. Has anyone else run into this issue? Is there a solution?
Quoted 7 lines
resize2fs 1.42.1 (17-Feb-2012)
Filesystem at/dev/mmcblk0p2is mounted on /; on-line resizing requiredold_desc_blocks= 1,new_desc_blocks= 15
resize2fs: Filesystem does not support online resizing| Setting filesystem feature '
resize_inode' not supported. | tune2fs 1.42.1 (17-Feb-2012)
genext2fs is a bit limited, this is just one example of how.
Could you not just do an offline resize of the filesystem though? Why does it need to be mounted?
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre