Re: [seems to be SOLVED] Re: md device files missing at boot time

From: Jan Engelhardt
Date: Sat Jul 07 2007 - 13:59:01 EST



On Jul 5 2007 15:15, Ingo Freund wrote:
>On 05.07.2007 11:16, Ingo Freund wrote (please find the answer below the original text):
>> Hi folks,
>>
>> I could temporarily only read your answers in archives.
>> Thank you for your reaction.
>> Hopefully this answer doesn't break the thread.
>> If it does:
>> sorry for it, there were some mail mail problems
>> which stopped our server receiving mails from this list
>> and the list auto-unsubscribed me and stopped sending mails :-(
>> But it is all fixed now.
>>
>> @Kay
>> How did you build the initramfs image? /sbin/mkinitrd?
>>
>> Did you add md support to the image?
>>
>> Both "Yes".
>> included modules are (in opensuses /etc/sysconfig/kernel:
>> INITRD_MODULES="raid1 md reiserfs sym53c8xx pata_serverworks edd"
>>
>>
>
>@Kay
>there was a hidden hint in your text.
>"mkinitrd -f md" made it at least for boot with initramfs

That's rather a hack.

I suppose your problem is that mdadm is not inside the initrd.
(gzip -cd /boot/initrd | cpio -t)
Make sure /etc/fstab lists an md device, then mdadm should be added
automatically.


Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/