You are on page 1of 2

6/8/2016 Document1504774.

HowtochecktheFCcablestatus(DocID1504774.1)

InthisDocument

Goal
Fix

APPLIESTO:

LinuxOSVersionOracleLinux5.7withUnbreakableEnterpriseKernel[2.6.32]andlater
Linuxx8664
Linuxx86

GOAL

ChecktheFCcablelinkstatus

FIX

Runthesystoolcommandtocheckthisinfo:

#systoolcscsi_hostv|grepE"link_state|ClassDevice="

Forexample:

#systoolcscsi_hostv|grepE"link_state|ClassDevice="
ClassDevice="host0"

link_state="LinkUpF_Port"
ClassDevice="host1"

link_state="LinkDown"
ClassDevice="host2"

link_state="LinkUpF_Port"
ClassDevice="host3"

link_state="LinkDown"
ClassDevice="host4"

link_state="LinkUpReady
ClassDevice="host5"

link_state="LinkDown"

Statuscodestakenfromthesourcecode:

enumhba_statelink_state

enumhba_state{

LPFC_LINK_UNKNOWN=0,/*HBAstateisunknown*/

LPFC_WARM_START=1,/*HBAstateafterselectivereset*/
LPFC_INIT_START=2,/*Initialstateafterboardreset*/

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=awks4gm4s_493&id=1504774.1 1/2
6/8/2016 Document1504774.1

LPFC_INIT_MBX_CMDS=3,/*InitializeHBAwithmboxcommands*/
LPFC_LINK_DOWN=4,/*HBAinitialized,linkisdown*/
LPFC_LINK_UP=5,/*LinkisupissueREAD_LA*/
LPFC_CLEAR_LA=6,/*authenticationcmpltissue
*CLEAR_LA*/

LPFC_HBA_READY=32,
LPFC_HBA_ERROR=1
}

enumdiscovery_stateport_state

enumdiscovery_state{

LPFC_VPORT_UNKNOWN=0,/*vportstateisunknown*/
LPFC_VPORT_FAILED=1,/*vporthasfailed*/

LPFC_LOCAL_CFG_LINK=6,/*localNPORTIdconfigured*/
LPFC_FLOGI=7,/*FLOGIsenttoFabric*/
LPFC_FDISC=8,/*FDISCsentforvport*/

LPFC_FABRIC_CFG_LINK=9,/*FabricassignedNPORTId
*configured*/

LPFC_NS_REG=10,/*RegisterwithNameServer*/

LPFC_NS_QRY=11,/*QueryNameServerforNPortIDlist*/

LPFC_BUILD_DISC_LIST=12,/*BuildADISCandPLOGIlistsfor
*deviceauthentication/discovery*/

LPFC_DISC_AUTH=13,/*ProcessingADISClist*/
LPFC_VPORT_READY=32,
}

Didn'tfindwhatyouarelookingfor?

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=awks4gm4s_493&id=1504774.1 2/2

You might also like