07-19-2010 02:22 PM
lun-scan I installed an 8Gb FC HBA , drivers and utility as suggested in Brocade documentation but I did not find any utilityto rescan the scsi bus to find dynamically added LUNs at the server. For example QLogic provides "ql-dynamic-tgt-lun-disc.sh" and Emulex provides "lun-scan" . Do you know if Brocade has any such utility?
09-21-2010 01:21 AM
In the Linux you can dynamically discover the Luns using "rescan-scsi-bus.sh" this script & that normally comes with RHEL OS. I think Brocade doesn’t provide such rescan script.
Thanks & Regards
02-10-2012 06:21 AM
Not a utility, but you can also force a rescan by doing the following (tested in CentOS6 with Brocade CNA 4GFC cards)
$ sudo su - # for n in 2 4; do echo "- - -" > /sys/class/scsi_host/host$n/scan; done # exit
You should see the new LUNs
02-10-2012 06:25 AM
haha, well, I just noticed the attached script "bfa_lun_scan" and that's essentially what it does except that it looks in /sys/bus/pci/drivers/bfa/*/host* for the host ids.
Anyhow, it's much nicer in that it does all of the steps for all bfa adapters :-)