FCP 适配器脱机,扩展状态适配器因系统而关闭
适用场景
- ONTAP 9
- SAN
- 光纤通道目标主机适配器
问题描述
- 运行命令
fcp adapter show -node xxxx -adapter xx
时,会观察到以下情况: Operational Status: offline
Extended Status: ADAPTER DOWN DUE TO SYSTEM
Error: show failed: Timeout while getting fabric information"
- EMS / event log show 存在与适配器端口相关的错误和警报
- 适配器重新初始化失败(示例):
[NODE-02: fct_tpd_thread_0: scsitarget.hwpfct.errorReset:notice]: An error was encountered in the FC target driver on Fibre Channel target adapter 5a. The adapter will be automatically reset to clear the Depletion of Driver MQ condition.
[NODE-02: fct_tpd_thread_0: fcp.io.status:debug]: STIO Adapter 5a resetting with 0 ITN and 0 commands to drain.
[NODE-02: nvmf_master_0: nvmf.spdk.err:debug]: fc_adm_api.c:1448 Hw port 0 already offline. err = 2
[NODE-02: fct_tpd_thread_0: scsitarget.hwpfct.initFailed:alert]: Initialization of adapter failed on Fibre Channel target adapter 5a.
[NODE-02: fct_tpd_thread_0: scsitarget.fct.port.offline:error]: Fibre Channel Target port 5a was taken operationally offline due to too many errors received by the FCT driver.
[NODE-02: fct_tpd_thread_0: fcp.io.status:debug]: STIO Adapter 5a reinitialization failed, saving RAS trace data.
- IO wqe 故障(示例):
[NODE-02: fct_tpd_work_thread_0: fcp.io.status:debug]: STIO Adapter:5a IO WQE failure, Handle 0x0, Type 8, S_ID: 610601, VPI: 3, OX_ID: 18D, Status 0x3 Ext_Status 0x16
按照以下步骤缩小问题描述的范围
- 使用 S_ID (源ID)与交换机日志或EMS日志(通过
event log show
或 ActiveIQ AutoSupport)中的相应条目关联,以确定启动程序 - 查找相应的启动程序登录 或交换机日志条目: [
NODE-02: fct_tpd_work_thread_0: scsitarget.fct.portLogin:notice]: Login at target FC port: '5a' by initiator port: 'WWPN' address 0xS_ID. The target virtual port is: 'NetApp FC Target Port (LPe32000) svm-NAME:NODE-02_fc_lif_1'.
- 验证连接端到端的所有物理组件是否运行正常、 确定导致中止/重置并显示
fcp.io.status:debug
消息的原因和补救因素。