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 10:03 PM, Joe Landman <joe.landman@xxxxxxxxx> wrote:
> 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

Update 2: It appears that the issue is a buggy mkinitrd.  v5.1.19.6-28
does not put the mdadm.conf into the initrd, and may rely upon
something being built into the kernel that our kernel did not have
built in.

Replacing this mkinitrd with 6.0.19-4 (by doing lots of rpmbuild 's
against FC8/9 packages and installing), we did in fact see the
mdadm.conf get explicitly added in during the mkinitrd.

/sbin/mdadm -> /tmp/initrd.Jz3686/sbin/mdadm
/etc/mdadm.conf -> /tmp/initrd.Jz3686/etc/mdadm.conf

Upon reboot, it works.

[root@jackrabbitm ~]# uname -r
2.6.23.14
[root@jackrabbitm ~]# mount
/dev/md0 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

[root@jackrabbitm ~]# rpm -qa | grep -i mkinitrd
mkinitrd-devel-6.0.19-4
mkinitrd-6.0.19-4

While this works, this is not a solution I want to hand to our
users/customers.  Could someone toss me a pointer as to who owns
mkinitrd at RHEL/Centos so I can report this?  Basically this is not a
linux-raid bug, but a bug in the mkinitrd assumptions (or possibly
something that needs to be built into the kernel which is not
explicitly indicated in mkinitrd).

Thanks for all the pointers/suggestions.
--
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