Description of problem:
From time to time, my sil RAID1 array gets out of sync and I need to rebuild the
array. When this happens, an new name gets generated for it: name sil_xxxxxxxxx
changes to sil_yyyyyyyyyy. Since the init script still has reference to the old
name, block devices get created with the old name at boot time.
'dmsetup table' returns "sil_xxxxxxxxxx". But dmraid returns "sil_yyyyyyyyyyyy".
In that situation, mkinitrd will fail to add the necessary 'dm create' lines in
the init script: it looks up for entries from the "dmestup table" that match
entries from the "dmraid -s" output and finds none.
Workaround: run a 'dmsetup rename sil_xxxxxxxxxx sil_yyyyyyyyyyyy' before
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Break and rebuild raid array (new name gets generated)
2. Run mkinitrd
mkinitrd does not "see" the new array and do not add the 'dm create' lines in
the init script
mkinitrd should not rely on the name returned by dmsetup table, or should not
try to find a match in the output of dmraid -s
Got fixed somewhen between fc6 and fc8