Comment 0 for bug 373409

Revision history for this message
misiu_mp (misiu-mp) wrote :

Binary package hint: gparted

Running from a live cd image of ubuntu 9.04 through virtual box.
When trying to shrink a partition (on a virtual box HDD) I got a message saying the e2fsck should be run on the affected partition. It was run and finished without errors:

   check file system on /dev/sda5 for errors and (if possible) fix them 00:04:02 ( SUCCESS )

   e2fsck -f -y -v /dev/sda5
      ....

   shrink file system 00:00:01 ( ERROR )

   resize2fs /dev/sda5 15791863K
   resize2fs 1.41.4 (27-Jan-2009)
   Please run 'e2fsck -f /dev/sda5' first.
(full output attached)

Manually running e2fsck followed by resize2fs ends in the same result.
Performing the operation on another partition (/dev/sda6) also fails.

Note: resizing partitions inside a virtual box disk (VDI) using a gparted from a livecd is the recommended way (http://forums.virtualbox.org/viewtopic.php?p=29276#29276).