Tuesday, July 8, 2014

How check the HBA Port status in Linux

Use the below commands to check the HBA Port status in Linux

[root@localhost ~]# ls /sys/class/fc_host/
host5  host6
[root@localhost ~]# cat /sys/class/fc_host/host*/port_state 
Online
Online
[root@localhost ~]# 

Reset the HBA using the below procedure. If not fixed check the hardware. 

http://shyjug.blogspot.com/2013/11/reset-hba-card-using-hbacmd-in-rhelinux.html