HP 3PAR RedHat and Oracle Linux Implementation Guide

The following example shows a ramdisk build:
# /sbin/dracut -v -f /boot/initrd-2.6.18-53.el5.img 2.6.18-53.el5
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-8.el5/kernel/drivers/scsi/scsi_transport_fc.ko'
[elf64-x86-64] to `/tmp/initrd.l13681/lib/scsi_transport_fc.ko' [elf64-x86-64]
copy from `/lib/modules/2.6.18-8.el5/kernel/drivers/scsi/lpfc/lpfc.ko' [elf64-
x86-64] to `/tmp/initrd.l13681/lib/lpfc.ko' [elf64-x86-64]
. . .
Loading module jbd
Loading module ext3
Loading module scsi_mod
Loading module scsi_mod with options max_luns=256
Loading module sd_mod
Loading module mptbase
Loading module mptscsih
Loading module scsi_transport_fc
Loading module lpfc with options lpfc_topology=0x02 lpfc_devloss_tmo=14
lpfc_lun_queue_depth=16 lpfc_discovery_threads=32
5. Reboot the host:
# reboot
6. When the host comes back up after a reboot, verify that the Emulex HBA driver parameter
changes have taken effect. Use one of the following commands for lpfc. Be sure to check both
locations, because some parameters are in both locations, but some are in only one. For
example:
# cat /sys/module/lpfc/parameters/lpfc_devloss_tmo
14
# cat /sys/class/scsi_host/host4/lpfc_devloss_tmo
14
# cat /sys/module/lpfc/parameters/lpfc_discovery_threads
32
7. Check the contents of the /etc/grub.conf or /boot/grub/grub.conf with grub as the
bootloader so that the initrd maps to the correct ramdisk image.
# vi /etc/grub.conf
default=<label number>
timeout=5
hiddenmenuf
title RedHat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,2)
kernel /boot/vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-8.el5.img
36 Configuring a Host with Fibre Channel