Installing and Configuring the Linux Host with the QLogic Driver

where N is the sequential value of QLogic adapter installed in the system, beginning with the number after the last host adapter number entry in the file. (The first host adapter entry begins with zero.).

Example:

alias scsi_hostadapter1 qla4xxx

2.Whenever /etc/modprobe.conf/ is modified, a new ramdisk should be created to reflect the changes made. Create a new ramdisk image to include the newly added references to the QLogic adapters:

cd /boot

mkinitrd -v initrd-$1.img $1

where $1 is the v2.6.x kernel version currently running. Example:

mkinitrd -v initrd- 2.6.18-8.el5.img 2.6.18-8.el5

3.Reboot the host.

Enabling the QLogic driver in SLES 9

In order for the driver to be loaded at boot time, the driver must be listed in the /etc/sysconfig/kernel and the ramdisk must be updated to reflect the changes. To enable the driver:

1. Edit /etc/sysconfig/kernel:

vi /etc/sysconfig/kernel

a.Add a reference to the QLogic driver in the INITRD_MODULES line:

INITRD_MODULES="reiserfs qla4xxx"

b.Save the changes and quit from vi.

2.Create a new ramdisk to reflect the changes made:

cd /boot

mkinitrd -k vmlinuz-$1-i initrd-$1

where $1 is the v2.6.x kernel version currently running. Example:

cd /boot

mkinitrd -k vmlinuz- 2.6.5-7.244-smp -i initrd- 2.6.5-7.244-smp

iSCSI in kernel driver versions

93

Page 93
Image 93
EMC P/N 300-002-803 manual Vi /etc/sysconfig/kernel