also sprach martin f krafft <madduck@debian.org> [2007.07.10.0834 +0200]:
> Can I please see your mdadm.conf file and the generated initramfs?
> Please put them somewhere where I can download them instead of
> attaching them to an email. If it turns out to be what I think it
> is, it should be a trivial bug to fix.
Try the following patch agaist
/usr/share/initramfs-tools/hooks/mdadm. It ensures that RAID levels
include the word 'raid'. I think your mdadm.conf may say stuff like
level=5, when it should say level=raid5 or not specify level= at
all.
Index: hook
===================================================================
--- hook (revision 351)
+++ hook (working copy)
@@ -198,7 +198,7 @@
[ -n "${dev:-}" ] || continue
echo -n "${dev}:"
if [ -n "${level:-}" ]; then
- echo -n "$level"
+ echo -n "raid${level#raid}"
else
echo -n "$($MDADM --detail $dev | sed -rne 's,[[:space:]]+Raid Level : ,,p')"
fi
--
Please do not send copies of list mail to me; I read the list!
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
... and don't get caught in the .NET!
Attachment:
signature.asc
Description: Digital signature (GPG/PGP)