Re: question on how to (correctly) build an initrd for a root disk on a RAID1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 28, 2008 at 9:42 PM, Joe Landman <joe.landman@xxxxxxxxx> wrote:
> Update:

capture is at http://pastebin.com/f57b6ba19  .  I think I see part of
the problem

>From the trace:

Scanning and configuring dmraid supported devices
raidautorun: RAID_AUTORUN failed: No such device
raidautorun: RAID_AUTORUN failed: No such device

Seeing some of the other notes from here
[http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15305]
someone noted that to make this work correctly, they had to rebuild
with the raid drivers built in.  I am ok with this if we have to do
it, but it seems strange ...  is RAID built as a module or as a built
in for the default distro kernel?

It is also interesting to note that in Fedora, the mkinitrd was
patched to use mdadm
(http://cvs.fedoraproject.org/viewvc/rpms/mkinitrd/F-7/mkinitrd.spec}.
 This is for mkinitrd-6.x.  This machine (Centos 5.2) uses
mkinitrd-5.1.19.6-28

[root@jackrabbitm ~]# rpm -qf /sbin/mkinitrd
mkinitrd-5.1.19.6-28
mkinitrd-5.1.19.6-28

It is starting to look like we need to switch to a later model
mkinitrd.  I'll try this, but are there any patches running around for
this for this mkinitrd?  Conversely, does anyone else with MD raid on
their root/boot drive see mdadm or mdadm.conf in their initrd with a
similar mkinitrd on their system?

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux