Regression: Unable to add a partition to a disk that has another partition in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Parted |
Fix Released
|
Unknown
|
|||
OEM Priority Project |
Fix Released
|
Critical
|
Unassigned | ||
parted (Ubuntu) |
Fix Released
|
High
|
Phillip Susi | ||
Lucid |
Fix Released
|
High
|
Phillip Susi |
Bug Description
Binary package hint: parted
If there is free space on a disk but one or more partitions on the disk are in use and you try to add a new partition using that free space, parted fails to update the kernel partition table with the new partition in Lucid Beta 1. This works fine in Karmic. We switched from 1.8.8 in Karmic to 2.x in lucid, so this regression is likely from upstream.
Parted ships with the diskprobe utility that seems to be responsible for rescanning the partition table and updating the kernel. It appears that in Karmic it makes use of the new partition manipulation ioctls that partx uses rather than the old BLKPRT ioctl that fdisk uses, which does not work if any partitions on the disk are in use. For some reason it appears that in lucid it has gone back to using BLKPRT.
Related branches
Changed in parted: | |
status: | Unknown → New |
tags: | added: patch |
Changed in parted: | |
status: | New → Fix Released |
Confirmed from inspecting the sources that the BLKPG code was removed upstream. There is a ChangeLog entry explaining the change. Will take the issue upstream.