Tuesday, July 2, 2013

How to check HBA card cable status

How to check HBA card cable status


In certain situation we need to check if the SAN cable is connected to the HBA card on the Linux servers. To view the status of SAN cable, use the following command on Linux.
[tester@server5 ~]$ sudo systool -c scsi_host -v | grep state
    state               = "running"
    fw_state            = "0x3 0x4 0x0 0x0 0x0"
    state               = "Link Up - F_Port"
    fw_state            = "0x3 0x4 0x0 0x0 0x0"
    state               = "Link Up - F_Port"
    state               = "running"
    state               = "running"
    state               = "running"
    state               = "running"


No comments: