Resize operation failure

Bug #94647 reported by Matt Zimmerman on 2007-03-22
Affects Status Importance Assigned to Milestone
partman-partitioning (Ubuntu)
Colin Watson

Bug Description

Binary package hint: partman

This sounds a bit like the race Colin mentioned to me earlier today (bug 94410),, which I think bug 87921 might also be a dupe of, but I'm unsure about both.

I tried a guided resize on the alternate CD, and it immediately failed with "An error occurred while writing the changes to the storage devices. The resize operation is aborted." (VMWare screenshot attached)

This was on build 20070322.1, which has partman-partitioning version 47ubuntu3, with the fix for bug 94410. partman and syslog logs are attached.

Matt Zimmerman (mdz) wrote :
Matt Zimmerman (mdz) wrote :
Matt Zimmerman (mdz) wrote :

Confirmed here in a vmware test install.

/var/log/syslog with set -x in /lib/partman/automatically_partition/10resize_use_free/do_option

/var/log/partman with set -x in /lib/partman/automatically_partition/10resize_use_free/do_option

Colin Watson (cjwatson) wrote :

Fabio's problem (I'm not certain whether it's identical to Matt's) is that the filesystem he's resizing has probably never been checked; at any rate resize2fs emits a message saying to run e2fsck -f. This suggests a workaround for the release notes.

Henrik Nilsen Omma (henrik) wrote :

I tried this on an 8gb ext3 VirtualBox disk where I had just installed Kubuntu desktop and I got the same error as Matt.

I then booted a Live CD, reformated the whole drive as ntfs. The alternate install then proceeded without complaint.

Colin Watson (cjwatson) on 2007-03-22
Changed in partman-partitioning:
assignee: nobody → kamion
importance: Undecided → High
status: Unconfirmed → In Progress
Colin Watson (cjwatson) wrote :

I have a patch in hand, but I think it's too risky for beta. I've added text to the release notes, and will fix this after beta (unless overruled).

Colin Watson (cjwatson) wrote :

partman-partitioning (47ubuntu4) feisty; urgency=low

  * Run e2fsck before resizing ext2/ext3 partitions (LP: #94647).
  * Add progress bar (albeit trivial) for NTFS resizing.

 -- Colin Watson <email address hidden> Sat, 24 Mar 2007 18:10:29 +0000

Changed in partman-partitioning:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers