::Find WWN Number of HBA Card in Redhat & CentOS::
# systool -c fc_host -v |grep "port_name"
port_name = "0x2100001b321fb7f6"
port_name = "0x2100001b321fb7f6"
Alternate method to get
#cat /sys/class/scsi_host/hostN/device/fc_host/hostN/port_name
Check Port State using below command
#cat /sys/class/scsi_host/hostN/device/fc_host/hostN/port_state
Where “N” is the number of device for your fiber HBAs.
No comments:
Post a Comment