What does HRESULT 0x00042802 (VDS_S_ISCSI_LOGIN_ALREAD_EXISTS) mean?

 
Previous Next
VDS_S_ISCSI_PERSISTENT_LOGIN_MAY_NOT_BE_REMOVED VDS_S_DISK_MOUNT_FAILED

VDS_S_ISCSI_LOGIN_ALREAD_EXISTS

This informational status means the requested login would duplicate an existing target session under the selected login conditions. VDS login is parameterized by target, target portal, initiator portal, login type, digest choices, authentication type, and login flags. The fact that a target is already reachable can therefore be the expected state rather than a transport failure.

Why this state matters

Multipath is the important exception. The VDS login flag documentation says that VDS_ILF_MULTIPATH_ENABLED allows a new login session even when a session to the target already exists, and warns that multipathing software must be present. Do not blindly retry without understanding whether the application intended one session or another MPIO path.

Diagnostic focus

  • Enumerate the existing target sessions and record the target name and portal endpoints before issuing another login.
  • Compare the requested initiator and target portal IDs with the path that is already established.
  • If multiple paths are intended, verify MPIO support and use the explicit multipath login semantics rather than repeated ordinary logins.
  • If only one session is intended, treat the status as idempotent state and continue with the existing target connection.

Technical references

MS-VDS error codes · IVdsIscsiInitiatorAdapter::LoginToTarget · VDS_ISCSI_LOGIN_FLAG · IVdsLunMpio · RFC 7143: iSCSI


Looking for a different code? Search another status or error code.