Bug 189287

Summary: Mkinitrd support for dmraid initialization
Product: Red Hat Enterprise Linux 4 Reporter: Hovhannes Tumanyan <hovhannes_tumanyan>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-16 21:30:44 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 to mkinitrd which enables dmraid support none

Description Hovhannes Tumanyan 2006-04-18 20:28:43 UTC
Description of problem:

mkinitrd generated images do not support dmraid based software RAID. That 
complicates boot-up on dmraid based partitions and requires manula modification 
of initrd image. It also complicates auto-mounting of dmraid based partitions.

Solution:

Here is a patch to mkinitrd that enables dmraid
initialization during init.

I developed it to enable proper initialization of LVM
partitions hosted on dmraid based software RAID.

Modified mkinird allows to optionally turn off
dmraid support in genereated image by passing 
--omit-dmraid command line key.

My changes are tested on CentOS 4.1 2.6.9-11.EL
kernel.

Hopefully this may be useful to people with similar
software/hardware configurations.

Is anything else that I could/should do to make this patch helpful to as
many people as possible and ideally make it part of
Red Hat distribution?

Thank you,
Hovhannes Tumanyan, CISSP

Comment 1 Hovhannes Tumanyan 2006-04-18 20:28:43 UTC
Created attachment 127945 [details]
Patch to mkinitrd which enables dmraid support

Comment 2 Peter Jones 2006-08-16 21:30:44 UTC
This feature (though with a different implementation) is included in current
Fedora Core trees, and will be in RHEL 5.