Hi there,

We have a RHEL5.5 server (fully patched, most recent kernel) upon which we've just moved to multipathing with Emulex FC cards. All the multipathing is set up and working (multipath service running, /etc/multipath.conf configured correctly). However, on boot we see lots of these:

 sdb:end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 1
Buffer I/O error on device sdb, logical block 2
Buffer I/O error on device sdb, logical block 3
Buffer I/O error on device sdb, logical block 4
Buffer I/O error on device sdb, logical block 5
Buffer I/O error on device sdb, logical block 6
Buffer I/O error on device sdb, logical block 7

when booting as the scsi_dh_rdac module isn't loaded until later in the boot process. A bit of digging has turned up the instructions to rebuild the initrd with scsi_dh_rdac preloaded:

mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r) --allow-missing 
--preload scsi_dh_rdac
or
mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r) --preload=scsi_dh_rdac
or even
mkinitrd -v --preload=scsi_dh_rdac --with=dm-rdac -f /boot/initrd-$(uname 
-r)-multipath.img $(uname -r)

to ensure that this kind of thing stops happening.


My question is therefore twofold:

1) Which one of these mkinitrd commands is 'most correct', and
2) Will I have to do this after every kernel update or can I put something
   into /etc/sysconfig/mkinitrd/ which will be picked up when the kernel RPM
   is installed and rebuild the initrd for me automagically?

Thank you,

Ben
--
Unix Support, MISD, University of Cambridge, England
Plugger of wire, typer of keyboard, imparter of Clue
        Life Is Short.          It's All Good.

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to