Red Hat Bugzilla – Bug 80424
mkinitrd should not need /etc/raidtab to determine if raid modules are needed
Last modified: 2007-04-18 12:49:17 EDT
Description of problem:
mkinitrd has an unnecessary requirement that /etc/raidtab exist and be up-to-
date in order for it to include necessary raid modules.
Many including myself no longer create or use /etc/raidtab files with the
advent of the "mdadm" utility.
Version-Release number of selected component (if applicable):
Created attachment 88912 [details]
Proposed fix for the problem
This patch makes mkinitrd parse /proc/mdstat in addition to /etc/raidtab to
find out which raid modules are being used and thus needed.
This also makes the raid detection more like the other types of detection in
that it checks what's actually being used in the currently running kernel, and
not merely what a file claims is needed.
mkinitrd and grubby now use /proc/mdstat instead of /etc/raidtab -- good call
you'll see this in the version > 3.4.43