Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionKonstantin Olchanski
2011-11-08 23:52:02 UTC
Cannot install RHEL6.1 on second-hand disks - RHEL6.1 installer proceeds normally until disk partitioning using "custom layout", where both disks are listed as "type - software raid" and the "create partition" dialogs show both disks as "unavailable".
As a work around one can use the "use all available space" mode, where it correctly overwrites both disks with nonsense LVM partitions which I have to manually delete, then recreate normal partitions (I have 2 identical disks, RHEL should be smart enough to DWIM that I want everything mirrored across the 2 disks - instead of having these silly LVM partitions concatenating both disks together into one effective RAID0 array).
Note that the RHEL installer does correctly recognize that in their previous lives, both disks were part of a raid array.
But at the point of installing RHEL, there should be an option to override this finding.
K.O.
As a rule, we do not attempt to use degraded RAID arrays, or ones that look to otherwise be incomplete - like what I think is going on here. Could you please be more specific as to exactly what you are doing, though?
If you want anaconda to create new disklabels on your disks, choose "Use all space" or "Use entire drive" and also activate the "Review and modify partitions" checkbox. That will get you a default layout which you can then edit to your heart's content.
Comment 4Konstantin Olchanski
2011-11-12 06:32:53 UTC
(In reply to comment #3)
> If you want anaconda to create new disklabels on your disks, choose "Use all
> space" or "Use entire drive" and also activate the "Review and modify
> partitions" checkbox. That will get you a default layout which you can then
> edit to your heart's content.
Yes, thanks. It took me 6 months to figure out this workaround.
My previous solution was to "dd if=/dev/zero of=/dev/new_disk" to make RHEL installer recognize my disk as an empty disk. Requires connecting the disk to a spare computer and twiddling thumbs for a few hours while dd grinds away. On the bright side, this also does a disk surface scan and clears out all bad sectors...
K.O.
Comment 5Konstantin Olchanski
2011-11-12 06:40:56 UTC
(In reply to comment #2)
> Could you please be more specific as to exactly what you are doing, though?
I am trying to install RHEL on second hand disks. Those second hand disks used to be part of a raid array, so the installer flags them as "type - software raid" and refuses to use them. And there is no button to say "please use these disks anyway".
The workaround using the "use all space" mode is not obvious, it is scary and I think it will erase every disk connected to the machine (well, at least repartition them).
Another workaround is to erase those disks before running the linux installer.
K.O.
We're not going to include a UI element to allow you to use the disks anyway. This is bound to result in people selecting it who shouldn't, and ending up with their degraded RAID array getting wiped instead of being used like they think should happen.