Bug 139244 - Raid partition editing is broken
Summary: Raid partition editing is broken
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
(Show other bugs)
Version: 3
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-14 12:30 UTC by Alan Cox
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-01 21:57:03 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Alan Cox 2004-11-14 12:30:11 UTC
Description of problem:

Trying to reinstall a box I wanted to keep just the partitioning and
mirroring. The automatic partitioner suggested some garbage LVM
arrangement so I told it to hand edit the existing partitions.

Set these up, no problem except it kept telling me about hda5. I have
no hda5, but it seems anaconda invented an hda5 raid volume < 1Mb in
size that it didnt even show itself on the partitions.

Set up raid volumes, excluded the bogus hda5, and carried on to try
and install.
It then blew up trying to set up the partitions. ALT-F2 shows the last
thing it logged was

"reading raid sb failed for hda5"

No suprise there, its a drive that was invented by Anaconda!

Comment 1 Jeremy Katz 2004-11-15 15:19:46 UTC
How did it keep telling you about hda5?

What is the output of printing the partition table from within parted?

Comment 2 Alan Cox 2004-11-15 15:33:10 UTC
It never showed hda5 in the options you could pick but it claimed the
real hda5 was hda6 (no hda5 shown) and it kept offering it as a volume
when I did "create raid"

The earlier partitions were fc2 created (all but lba area)

0.031 95.976 primary ext3 boot
95.977 8287.945 primary ext3 raid
8287.945 38543.882 primary swap raid
8543.882 38166.679 extended lba
8543.914 8544.867 logical raid
8544.898 38166.679 logical raid

It also reports
"Unable to satisfy all constraints" and "Can't have end before start"

Comment 3 Jeremy Katz 2004-11-15 16:05:33 UTC
8543.914 8544.867 logical raid

is the problem -- parted at least is seeing a partition there.  There
are some reports that one of the ramifications of bug 138419 is some
duplicate partition listing.  Can you try the updates.img there which
has a newer libparted and see if that acts a little bit better?

Comment 4 Jeremy Katz 2005-02-01 21:57:03 UTC
Closing due to inactivity.  Please reopen if you have further information to add
to this report.

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