由于交换机侧 SFP 故障,FCP 目标适配器显示链路断开
适用于
- ONTAP 9
- FCP
- Brocade and Cisco SAN switches
问题
- 事件日志条目指示 FC 链路已断开连接:
5/23/2020 21:11:31 cluster-node1 ERROR scsitarget.ispfct.linkBreak: Link break detected on Fibre Channel target adapter 1b. Firmware status code status1 0x2, status2 0x7, and status4 0x0.
sysconfg -a将端口状态报告为“Link Disconnected”
slot 1: Fibre Channel Target Host Adapter 1b
(QLogic 8324 (8362) rev. 2, <LINK DISCONNECTED>)
Board Name: QLE2672
Serial Number: RFE2005W04482
Firmware rev: 8.9.0
Flash rev: 1.1.2
Host Port Addr: 000000
FC Nodename: xx:0a:09:80:80:xx:xy:xx (500a098080b3a125)
FC Portname: xx:0a:09:82:80:xy:yy:xx (500a098280b3a125)
Connection: No link
Switch Port: Unknown
SFP Vendor Name: FINISAR CORP.
SFP Vendor P/N: FTLF8529P4BCV-QM
SFP Vendor Rev: B
SFP Serial No.: P2SABCS
SFP Connector: LC
- Rx 和 Tx 功率显示为
0.0 (uWatts)(对于光纤通道目标适配器,在 ASUP 的FCP-Adapter.xml日志下):
Rx : 0.0 (uWatts)
Tx : 0.0 (uWatts)
- Rx 和 Tx 功率在两端(存储和交换机端)均为最佳。
port 9a
Rx : 623.0 (uWatts)
Tx : 1020.9 (uWatts)
Slot 9/Port 2:
RX Power: -0.5 dBm (883.9uW)
TX Power: -1.6 dBm (697.3 uW)
- 在 CLI 上执行的
Network fcp adapter show命令将运行状态报告为“链路已断开”
cluster::> network fcp adapter show
Connection Port Admin Operational
Node Adapter Established Address Status Status
------------ ------- ----------- --------- ------- -----------------------
cluster-node1
0c false 0 up link not connected
cluster-node1
0d false 0 up link not connected
cluster-node1
1a true f0500 up online
cluster-node1
1b true 0 up link disconnected
cluster-node2
0c false 0 up link not connected
cluster-node2
0d false 0 up link not connected
cluster-node2
1a true f0600 up online
cluster-node2
1b true f0600 up online
- 存储 HBA 端口仍然物理连接
- 可以验证以下故障排除步骤以隔离问题:
- 验证 远程 SFP 运行状况并重启 端口,使用以下命令:
Cisco 示例:
switch# config terminal
switch(config)# interface fc <slot>/<port#>
switch(config)# show int fc <slot>/<port#> transceiver detail
switch(config-if)# shutdown
switch(config-if)# no shutdown
Brocade 示例:
switch:admin> sfpshow <index # OR slot/port #>
switch:admin> portdisable <index # OR slot/port #>
switch:admin> portenable <index # OR slot/port #>
- 执行 物理检查并重新插拔链路和 配线架组件。
- 重新插拔后重复端口重启过程。
- 更换/交换两端的组件,包括线缆和 SFP。