当在 RHEL 中启用巨型帧时,在 iscsi 设备上出现错误:"connectionX:0: detected conn error"
Issue
- 在 iscsi 设备上运行
mkfs
时会出现以下错误:
daemon warning: 2015-04-14T21:13:39.949363+00:00 hostname multipathd: mpathd: sdd - directio checker reports path is down
daemon notice: 2015-04-14T21:13:39.949422+00:00 hostname multipathd: checker failed path 8:48 in map mpathd
daemon notice: 2015-04-14T21:13:39.949428+00:00 hostname multipathd: mpathd: remaining active paths: 3
kern warning: 2015-04-14T21:13:39.950285+00:00 hostname kernel: device-mapper: multipath: Failing path 8:48.
kern info: 2015-04-14T21:13:39.997200+00:00 hostname kernel: connection2:0: detected conn error (1020)
kern info: 2015-04-14T21:13:39.997222+00:00 hostname kernel: connection3:0: detected conn error (1020)
daemon warning: 2015-04-14T21:13:40.362350+00:00 hostname iscsid: Kernel reported iSCSI connection 2:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (3)
daemon warning: 2015-04-14T21:13:40.362391+00:00 hostname iscsid: Kernel reported iSCSI connection 3:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (3)
daemon warning: 2015-04-14T21:13:43.363023+00:00 hostname iscsid: connection2:0 is operational after recovery (1 attempts)
- 当启用巨型帧时,会在日志中看到
detected conn error
信息,但在没有启用时不会看到这些信息。
Environment
- Red Hat Enterprise Linux (RHEL) 5-7
iscsi-initiator-utils
- 在进行 iSCSI 连接的网络接口上启用巨型帧。 也就是说,此接口上的 MTU 被设置为大于 1500。
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.