To do this from the command line:
#echo "scsi-qlascan" > /proc/scsi// (qlogic
driver will re-scan)
Where can be either one : qla2100/qla2200/qla2300
~ is the instance number of the HBA.
Once that has been done , user then can force the scsi mid layer to do
its own scan
and build the device table entry for the new device:
# echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
(scsi mid layer will re-scan) with "0 1 2 3"
replaced by your "Host Channel Id Lun". The scanning has to be done in
the above mentioned order.
First the driver (qla2300/qla2200 driver etc) and then the Linux scsi
mid layer.
---schnipp---
You take a look into "dmesg | less" and search for the information about
"Host Channel Id Lun", the Lun you have to know, from the Storage
Administrator.
echo "scsi-qlascan" > /proc/scsi/qla2200/1
echo "scsi-qlascan" > /proc/scsi/qla2200/2
echo "scsi add-single-device 1 0 0 6" >/proc/scsi/scsi


