Scan For Newly Provisioned LUN(s) on a RHEL Host
10:06 PM
This documents how to scan for new LUN's on a RHEL host using qlogic HBA's
As of RHEL4 U3 the 'scsi-qlascan' no longer works with the qla2xxx driver. The new method (applies to Emulex HBAs as well) is:
Alternative method for Qlogic HBAs.
As of RHEL4 U3 the 'scsi-qlascan' no longer works with the qla2xxx driver. The new method (applies to Emulex HBAs as well) is:
echo 1 > /sys/class/fc_host/host<ID>/issue_lipecho "- - -" > /sys/class/scsi_host/host<ID>/scan/sbin/multipath -v 3/sbin/multipath -ll - confirm your new lun(s) are in place |
Once your new LUN has been provisioned by storage you can scan for new LUN's using the following commands.Force a scan of the SCSI bus echo "scsi-qlascan" > /proc/scsi/qla2xxx/[0/1] - perform for each target there is 0/1/2/3, etc... rescan-scsi-bus.sh -l -w (you should have sg3_utils installed, it can be installed using yum) /sbin/multipath -ll - confirm your new lun(s) are in place
0 comments