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
Created attachment 127945 [details] Patch to mkinitrd which enables dmraid support
This feature (though with a different implementation) is included in current Fedora Core trees, and will be in RHEL 5.