To check what is the HBA (firmware) version.
root@server:/root# for host in `ls /sys/class/scsi_host/`; do cat /sys/class/scsi_host/${host}/fw_version 2>/dev/null; done
5.06.03 (90d5)
5.06.03 (90d5)
For WWN.
root@server:/root# for host in `ls /sys/class/scsi_host/`; do cat /sys/class/scsi_host/${host}/device/fc_host\:${host}/port_name 2>/dev/null; done
0x2100001b32898bbd
0x2100001b3289b3bf
To rescan looking for new disks
# for host in `ls /sys/class/scsi_host/`;do echo "- - -" Read more...