I'm reopening this one based on bug <a href="http://bugs.centos.org/view.php?id=4618">0004618</a><br />
<br />
I happen to have a (mdadm) software raid-1 array, and my '/'<br />
is within it (technically in LVM logical volume within).<br />
<br />
That array has format 1.2. 'init' within initrd.img<br />
does call the 'raidautorun' command of 'nash' and that fails to activate<br />
the md-device. As result, root is not found and boot fails.<br />
<br />
The default format used by mdadm is still 0.90, so this issue<br />
does not show without explicit user action.<br />
<br />
Workaround:<br />
Insert /sbin/mdadm.static into initrd.img and add a call to it<br />
that activates the array in question:<br />
<-cut-init><br />
echo Scanning and configuring dmraid supported devices<br />
raidautorun /dev/md2 #fails<br />
mdadm --assemble /dev/md2 --name=localhost.localdomain:2 #could use UUID too<br />
<-/cut-><br />
<br />
Versions:<br />
mdadm-2.6.9-3.el5.x86_64<br />
mkinitrd-5.1.19.6-61.el5_5.2.x86_64<br />
nash-5.1.19.6-61.el5_5.2.x86_64<br />
<br />
Technically this would be a feature request for nash, but<br />
(a) there is no 'nash' category in this tracker and<br />
(b) next major release from upstream vendor is likely to solve the matter.
↧