vSphere 无法通过 iSCSI 进行连接
适用于
- ESXi
- iSCSI
- ONTAP 9
问题
- ESXi 主机无法连接到存储:
2020-09-24T17:35:47Z iscsid: discovery_sendtargets::Completed discovery on IFACE iscsi_vmk@vmk0(iscsi_vmk) target addr=10.xxx.xxx.213:3260 transport=iscsi_vmk UniqueTgt=0 DuplicateTgt=0
2020-09-24T17:35:47Z iscsid: discovery_sendtargets::Running discovery on IFACE default(iscsi_vmk) target addr=10.xxx.xxx.xxx:3260 (drec.transport=iscsi_vmk)
2020-09-24T17:35:52Z iscsid: connection failed for discovery (err = Interrupted system call)!
2020-09-24T17:35:52Z iscsid: connection to discovery address 10.xxx.xxx.xxx failed
2020-09-24T17:35:52Z iscsid: connection login retries (reopen_max) 5 exceeded
- 管理网络中的 vmknic 分配给 iSCSI 网络门户:
# esxcfg-vmknic -l
Interface Port Group/DVPort/Opaque Network
vmk0 Management Network
vmk0 Management Network
vmk1 iSCSI
vmk1 iSCSI
# esxcli iscsi logicalnetworkportal list
Adapter Vmknic MAC Address MAC Address Valid Compliant
----------------------------------------------------------------
vmhba64 vmk0 64:f6:9d:37:25:f6 true true
vmhba64 vmk1 00:50:56:65:f5:c7 true false
# esxcli iscsi networkportal list
vmhba64:
Adapter: vmhba64
Vmknic: vmk0
Vswitch: vSwitch0