Bug 144748 - disk druid should add partitions to a drive in the order I create them
Summary: disk druid should add partitions to a drive in the order I create them
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: anaconda
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
URL:
Whiteboard:
: 144750 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-11 03:52 UTC by Myk Melez
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-11 20:13:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Myk Melez 2005-01-11 03:52:23 UTC
When I create partitions with Disk Druid, it doesn't add them to the
drive in the order I create them.  For example, if I create a 100MB
/boot partition and then a 4000MB swap partition on a drive, it places
the swap partition before the /boot partition, even though I created
the /boot partition first and the /boot partition should be the first
partition on the drive.

Disk Druid should add partitions to a drive in the order I create them.

Comment 1 Myk Melez 2005-01-11 04:04:41 UTC
Note bug 144750, which combined with this bug makes Disk Druid
completely unusable for manual partitioning when the order of
partitions is important.

Comment 2 Jeremy Katz 2005-01-11 20:13:53 UTC
/boot will be first because it's special cased.  Others won't be
because we have to put down the _largest_ partitions first to allow
for growing to occur.

If you want finer-grained then you have to lose the ability of growing
either by running parted manually or by editing free spaces which will
give you cylinder based partitioning.

Comment 3 Jeremy Katz 2005-01-11 20:14:27 UTC
*** Bug 144750 has been marked as a duplicate of this bug. ***

Comment 4 Myk Melez 2005-01-11 21:33:11 UTC
I'm happy to lose the ability to grow physical partitions, since I use
LVM for most partition management.  I create only /boot, a swap
partition equal to twice the maximum memory the machine can ever hold,
and one large LVM partition that takes up the rest of the space on
disk.  Thus I never need to grow a physical partition.

Nevertheless, even if that's insufficient cause to allow users to
control partition order, it's still the case that contrary to
expectation /boot is *not* first and special-cased in my situation. 
If I first create a /boot partition and then create a swap partition,
Disk Druid adds the swap partition *before* the /boot partition.

So if /boot is supposed to be first (as I reckon it should be), then
that's a bug, even if you don't intend to fix the larger issue of
control over partition ordering.



Note You need to log in before you can comment on or make changes to this bug.