HP 3PAR X9000 File Serving Software (IBRIX) Implementation Guide (QL226-96987, June 2013)

NOTE: The ramdisk image needs to be rebuilt for any changes made to /etc/
modprobe.conf to be effective. The system will pick up the ramdisk changes on bootup.
3. Rebuild the ramdisk image using the mkinitrd command. As the mkinitrd command
requires the initrd file, check the contents of /etc/grub.conf to give the same initrd
file name that the boot loader boots.
# mkinitrd -f -v /boot/initrd-<uname -r>.img <uname -r>
The following example shows a ramdisk build:
# mkinitrd -f -v /boot/initrd-2.6.18-128.el5.img `uname -r`
Creating initramfs
Looking for deps of module scsi_mod
Looking for deps of module sd_mod scsi_mod
Looking for deps of module scsi_transport_spi: scsi_mod
. . .
copy from `/lib/modules/2.6.18-128.el5/kernel/drivers/scsi/sd_mod.ko'
[elf64-x86-64] to `/tmp/initrd.TL2030/lib/sd_mod.ko' [elf64-x86-64]
copy from `/lib/modules/2.6.18-128.el5/kernel/drivers/block/cciss.ko'
[elf64-x86-64] to `/tmp/initrd.TL2030/lib/cciss.ko' [elf64-x86-64]
copy from `/lib/modules/2.6.18-128.el5/kernel/drivers/scsi/scsi_transport_fc.ko'
[elf64-x86-64] to `/tmp/initrd.TL2030/lib/scsi_transport_fc.ko' [elf64-x86-64]
copy from `/lib/modules/2.6.18-128.el5/kernel/drivers/scsi/lpfc/lpfc.ko'
[elf64-x86-64] to `/tmp/initrd.TL2030/lib/lpfc.ko' [elf64-x86-64]
...
Loading module jbd
Loading module ext3
Loading module scsi_mod
Loading module sd_mod
Loading module scsi_transport_fc
Loading module lpfc with options lpfc_topology=0x00 lpfc_devloss_tmo=1
4. Check the contents of the /etc/grub.conf file with grub as the bootloader so that the
initrd maps to the correct ramdisk image.
# vi /etc/grub.conf
default=<label number>
timeout=5
hiddenmenu
title RedHat Enterprise Linux Server (kernel name)
root (hd0,0)
kernel /<kernel name> ro root=LABEL=/ rhgb quiet
initrd /<RamDisImage>
5. Reboot the server after the changes are made and verify the following output to see the changes
are effective on each of the Fibre Channel port instances.
# cd /sys/class/scsi_host
# cat ./hostX/lpfc_topology
0
# cat ./hostX/lpfc_nodev_tmo
1
Installing the Emulex HBA 15