Bug 471979 - mkinitrd partitionable (mdp) raid support
Summary: mkinitrd partitionable (mdp) raid support
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-18 00:41 UTC by Tomáš Trnka
Modified: 2009-05-06 15:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-06 15:55:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch solving the problem (1.39 KB, patch)
2008-11-18 00:41 UTC, Tomáš Trnka
no flags Details | Diff

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)


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