Bug 471979

Summary: mkinitrd partitionable (mdp) raid support
Product: [Fedora] Fedora Reporter: Tomáš Trnka <tomastrnka>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: dcantrell, hdegoede, katzj, pjones, tomastrnka, wtogami
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: 2009-05-06 15:55:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch solving the problem none

Description Tomáš Trnka 2008-11-18 00:41:26 UTC
Created attachment 323820 [details]
Patch solving the problem

Description of problem:
mkinitrd doesn't support partitionable raid arrays (/dev/md/dXXpYY). If the root device is on such partition, it isn't recognized as RAID at all.

How reproducible:
Simply - create a partitionable raid array and set it as the / device.

Expected results:
The partition should be recognized as a RAID array, the /dev/md/dXX array should be assembled&started on boot

Additional info:
Attached is a patch fixing this problem (against 6.0.68, but I'm using it with v6.0.52 from F9 without any problems).
Additionally, the patch adds support for the structured naming of old-style non-partitionable arrays (i.e. /dev/md/0 instead of /dev/md0).

There's only a minor problem left: nash isn't able to resolve mdp partitions based on UUID/LABEL, so you have to specify the device name directly in fstab.

Comment 1 Jeremy Katz 2009-05-06 15:55:36 UTC
At this point, we're not going to support this in current mkinitrd.  Support for this type of raid is planned with the new initramfs generator planned for Fedora 12 (dracut)