Comment 11 for bug 955272

Revision history for this message
Neil Wilson (neil-aldur) wrote :

The workaround is to create a 128M journal via

mkfs.ext4 -J size=128

which is the size of journal generally created on a 20G disk anyway.

This costs 24k blocks (96M) on a 1G partition - which is about 10% of the free blocks available.

When you do this Oneiric's resize2fs now appears to complete correctly (with a 1310720M partition).

ubuntu@srv-xqubo:~$ resize2fs xxl
resize2fs 1.41.14 (22-Dec-2010)
Resizing the filesystem on xxl to 335544320 (4k) blocks.
The filesystem on xxl is now 335544320 blocks long.

But if you run e2fsck across that filesystem it is heavily corrupted.