EMS报告由于存储端SFP出现故障、在FC端口上检测到链路中断
适用场景
- ONTAP 9
- 小型可插拔(SFP)
- Cisco交换机
问题描述
EMS
日志报告光纤通道目标适配器上的链路轮盖事件:
Thu May 25 01:23:26 AEST [Netapp: fct_tpd_work_thread_0: scsitarget.ispfct.linkBreak:error]: Link break detected on Fibre Channel target adapter 0e. Firmware status code status1 0x2, status2 0x7, and status4 0x0.
Thu May 25 01:30:08 AEST [Netapp: fct_tpd_work_thread_0: scsitarget.hwpfct.linkUp:notice]: Link up on Fibre Channel target adapter 0e.
- FC目标端口状态在
sysconfig -a
下显示为联机:
slot 0: Fibre Channel Target Host Adapter 0e
(QLogic 8324 (8362) rev. 2, <ONLINE>)
Firmware rev: 8.7.0
Flash rev: 7.0.3
Host Port Addr: ae0700
FC Nodename: 50:0a:09:80:80:84:xy:xx (500axxxxxxxxxxxx)
FC Portname: 50:0a:09:81:80:84:yx:yy (500axxxxxxxxxxxx)
Connection: PTP, Fabric
Switch Port: sw:1/8
SFP Vendor Name: AVAGO
SFP Vendor P/N: AFBR-57F5MZ-NA3
SFP Vendor Rev: 01
SFP Serial No.: AC1804Jxxxx
SFP Connector: LC
SFP Capabilities: 4, 8, 16 Gbit/S
- FC目标端口在下显示
link disconnected
sysconfig -a
slot 0: Fibre Channel Target Host Adapter 0d
(QLogic 8324 (8362) rev. 2, <LINK DISCONNECTED>)
Firmware rev: 8.9.0
Flash rev: 7.0.3
Host Port Addr: 000000
FC Nodename: 50:0a:09:80:80:84:xy:xx (500axxxxxxxxxxxx)
FC Portname: 50:0a:09:80:80:84:xy:xx (500axxxxxxxxxxxx)
Connection: No link
Switch Port: Unknown
SFP Vendor Name: FINISAR CORP.
SFP Vendor P/N: FTLF8529P4BCVAN1
SFP Vendor Rev: A
SFP Serial No.: P17BX7G
SFP Connector: LC
SFP Capabilities: 4, 8, 16 Gbit/Sec
- 根据
fcp-adapter.xml
日志、Rx和Tx功率处于最佳范围。 - 在连接到受影响端口的Cisco交换机上、交换机端口 Tx电源显示为不适用。
[2023-05-31 17:09:33] Tx Power N/A -- 1.70 dBm -13.00 dBm -1.30 dBm -9.00 dBm
[2023-05-31 17:09:33] Rx Power -2.19 dBm 3.00 dBm -15.90 dBm 0.00 dBm -11.90 dBm
- 根据
show int brief
日志以及 在show interface counters
下为交换机端口生成的ITW
错误,交换机端口处于error disabled
状态:
show int brief-
fc1/8 is down (Error disabled - bit error rate too high)
show interface counters-
[2023-05-31 17:09:32] System Errorcode : 0x4042001e MAC Bit error exceeded threshold
[2023-05-31 17:09:32] Error Type : Warning
[2023-05-31 17:09:32] PhyPortLayer : Fibre Channel
[2023-05-31 17:09:32] Port(s) Affected : fc1/8
[2023-05-31 17:09:32] Error Description : MAC Bit error exceeded threshold [ITW]
- 我们可以在
show logging log
下看到交换机端口上的端口轻拍条目:
[2023-05-31 17:09:40] 2023 May 22 09:42:24 sw %PORT-5-IF_DOWN_ADMIN_DOWN: %$VSAN 10%$ Interface fc1/8 is down (Administratively down) CS1A-naclu01-02_e0e
[2023-05-31 17:09:40] 2023 May 22 09:42:27 sw %PORT-5-IF_UP: %$VSAN 10%$ Interface fc1/8 is up in mode F CS1A-naclu01-02_e0e
023 May 25 01:29:55 sw %PORT-5-IF_DOWN_ADMIN_DOWN: %$VSAN 10%$ Interface fc1/8 is down (Administratively down) xxxx
[2023-05-31 17:09:40] 2023 May 25 01:30:08 sw %PORT-5-IF_UP: %$VSAN 10%$ Interface fc1/8 is up in mode F xxxx
可以执行以下步骤进一步隔离问题描述:
重新拔插 存储和交换机端口上的电缆/SFP。
执行端到端电缆测试(包括配线板),如果电缆有故障,请更换电缆。
如果缆线没有故障、请先更换交换机端的SFP、因为Tx电源为NA。
注:要隔离交换机端口不是问题描述电缆、可将其移至交换机端的未使用/空闲端口、并查看链路是否正常工作。
如果问题描述仍然存在,则在这种情况下将更换存储端SFP。