Multiple ESXi hosts are configured to access the same iSCSI targets from a NAS device.
Several datastores are hosted on the NAS, and all are accessible.
After upgrading one of the ESXi hosts, it lost access to a specific iSCSI target.
The remaining ESXi host continues to have access to all iSCSI targets without any issues.
On the impacted ESXi host, the LUN corresponding to the missing datastore is not visible under storage devices. However, other LUNs from the same NAS device is accessible
No changes have been done on the storage array and the LUNs are mapped to all the hosts
The issue is caused by a misconfiguration in the authentication method for the iSCSI target on the upgraded ESXi host. While the working host was configured with bidirectional CHAP authentication, the impacted host had no authentication method set, leading to a failure in establishing a session with the iSCSI target.
Upon reviewing the /var/log/vobd.log file on the impacted ESXi host, it is observed that the iSCSI initiator failed to authenticate with the target, returning login status 0201, which indicates authentication failure:
2025-04-09T04:21:44.941Z: [iscsiCorrelator] 112832219083us: [vob.iscsi.target.login.error] vmhba65 failed to login to iqn.2004-04.com.xxxxxxxxxxxxxx because the target returned a login status of 0201
2025-04-09T04:21:44.941Z: [iscsiCorrelator] 112832219538us: [esx.problem.storage.iscsi.target.login.error] Login to iscsI target i
qn.2004-04.com.xxxxxxxxxxxxxx
on vmhba65 failed. Target returned login error of: 0201.
The error code 0201 indicates that the initiator could not be successfully authenticated. The CHAP and mutual CHAP credentials configured on the ESXi initiator and on the iSCSI array do not match. Error 0201 indicates that the iSCSI initiator could not be successfully authenticated due to mismatched or missing CHAP/mutual CHAP credentials.
Further validation of the static target settings on the impacted ESXi host revealed that authentication was set to “None” on the non working ESXi host
In contrast, the working ESXi host iscsi target was configured with bidirectional CHAP authentication.
To validate the authentication settings follow the below steps:
To resolve the issue, the CHAP authentication settings on the impacted ESXi host must be updated to match those configured on the storage target and the working ESXi host.
For detailed guidance on updating the CHAP credentials, refer to the Broadcom documentation Set Up CHAP for Target