resizing rootfs to fit the disk

James Cameron quozl at
Fri Mar 5 01:59:14 EST 2010

On Fri, Mar 05, 2010 at 01:39:23AM -0500, Paul Fox wrote:
> resize drags performance way down.  but "nice -19 resize2fs
> /dev/mmcblk0p2" only adds about 25% to the runtime (~50sec vs. 
> ~40sec),

Consider ionice for reducing the I/O priority of the task.
e.g.  ionice -c3 resize2fs ...

Also, did you get far with the kernel resize code?  Doing it in the
kernel seems tidier, and the code seems to be there.  One remounts with
resize option.

James Cameron

More information about the Devel mailing list