Bug 688609

Summary: impossible edit (format/define mountpoint) last RAID1 degraded md device
Product: [Fedora] Fedora Reporter: Frantisek Hanzlik <franta>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-17 13:53:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Frantisek Hanzlik 2011-03-17 13:46:48 UTC
Description of problem:
I want install F14 i386 system with custom partition layout on two SATA disks:
- md0 (sda1+sdb1) mounted to /boot
- sda2 and sdb2 are normal swap partitions, no RAID
- md1 (sda3+sdb3) mounted to /
- md2 (sda4+sdb4) mounted to /mnt/os2
- md3 (sda5+sdb5) mounted to /home

I have just only one disk and want install system on degraded array, second disk will be added later.
Then I immediately (after anaconda start and start shell on tty2) run gdisk (from nfs volume, it was askmethod->nfs installation) and make required sdaX partition, then run mdadm and create relevant mdX RAID1 devices (as degraded).

Then switch back to anaconda GUI, select simple storage devices, and volumes custom layout. Anaconda rightly found and display mdX devices and allow me select them, click "Edit", then check off "Format as ..." and select mountpoint. This functionate fine - except for last md device:
When selecting them and clicking "Edit", error window appears saying
"For creating RAID device are needed at least two unused partition of type software RAID. First create at least two partitions of type 'software RAID', then select 'RAID' option again." (sorry for free translation, I install it in my native language)

As in my case last md disc isn't system disc, I was still able install F14, leaving md2 device unused, thus this problem isn't fatal.

Comment 1 Chris Lumens 2011-03-17 13:53:08 UTC
anaconda does not and will not ever support installation to a degraded RAID.

Comment 2 Frantisek Hanzlik 2011-04-13 20:41:36 UTC
OK, i agree there probably isn't need for FULL support for installation to a degraded RAID. But (as real life shows) this attempt may be useful or necessary. Then current anaconda status, when this is tolerably possible and anaconda doesn't make too strict checking, is sufficient. Thanks.