Ext3 resize
From FrugalWiki
How to resize an ext3 filesystem using parted. Tested on Frugalware 0.9rc2.
First you need to disable some ext3 features:
tune2fs -O ^resize_inode /dev/hda5 tune2fs -O ^dir_index /dev/hda5
Run fsck:
e2fsck -p /dev/hda5
Now resize with parted
parted
Use 'p' to see the current situation and 'help resize' to see the resize syntax.
Then run fsck again:
e2fsck -f -p /dev/hda5
Finally enable again the dir_index feature:
tune2fs -O dir_index /dev/hda5
NOTE: the resize_inode feature can't be enabled once it is disabled, but - unless you are on lvm - probably won't need it anyway.