Loading...

Recreating initrd Image

By default qla2xxx driver is part of the initrd that is created when Linux RedHat is installed on the SAN data server. To use the Qlogic HBA as an initiator on the SAN data server which is attached to the SAN attached disk array, you must recreate a new initrd image.

Recreation of the initrd image is required as the new initrd image does not contain the qla2xxx driver but contains qla2xxx_scst driver which has the capability to support Qlogic target mode driver qla2x00tgt.

Before You Begin

Install the MediaAgent and SAN Storage Server on the data server. Ensure that you select the MediaAgent and SAN Storage Server when selecting the packages during install.

For more information, see MediaAgent Installation.

Procedure

  1. Navigate to the /etc/modprobe.d and edit the blacklist.conf file and add the qla2xxx driver as a black listed driver.
  2. Recreate the initrd image.
  3. Navigate to /etc/ and edit the grub.conf file and edit the .conf file to point to the new initrd image.

kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/vg_santest1-lv_root rd_LVM_LV=vg_santest1/lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M rd_LVM_LV=vg_santest1/lv_swap KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet console=tty0 console=ttyS1,115200n8
initrd /initramfs-noqla2xxx-2.6.32-358.el6.x86_64.img