Download Emulex Drivers for Linux
Transcript
Creating a New Ramdisk Image The lpfc-install script creates a ramdisk containing the LPFC driver for the currently running kernel. Note: You must perform this step whenever the LPFC options in /etc/modprobe.conf are changed and you want the change to take effect on the next reboot. For Installed LPFC Driver Kits To create a new initial ramdisk image: 1. su to ‘root’. 2. Type: cd /usr/src/lpfc 3. Execute the lpfc-install script using the '--createramdisk' option. Type: ./lpfc-install --createramdisk For Distribution In-Box LPFC Drivers To create a new initial ramdisk image: • For SLES11 PPC64 architecture distributions type: # mkinitrd -k vmlinux -i initrd • For SLES11 non-PPC64 architecture distributions type: # mkinitrd -k vmlinuz -i initrd • For RHEL5 PPC64 and non-PPC64 architecture distributions type: # mkinitrd -f /boot/initrd-<kernel-version>.img <kernel-version> Dynamically Adding LUNs and Targets The LPFC driver enables you to dynamically add LUNs and targets without unloading or reloading the lpfc module and without resetting the adapter. To rescan an adapter's targets with sysfs given the adapter's host number (in this example 3), type: echo "- - -" > /sys/class/scsi_host/host3/scan To limit the rescan to a particular target, given the adapter's host number (in this example 3) and the target number (in this example 2), type: echo "- 2 -" > /sys/class/scsi_host/host3/scan You can also use the Emulex lun_scan script in /usr/sbin/lpfc. Drivers for Linux - Configuration Section Page 10