What does HRESULT 0x80042930 (VDS_E_VD_DISK_ALREADY_OPEN) mean?

 
Previous Next
VDS_E_VD_IS_ATTACHED VDS_E_VD_DISK_ALREADY_EXPANDING

VDS_E_VD_DISK_ALREADY_OPEN

This HRESULT is an ownership/lifecycle conflict around IVdsVDisk::Open. VDS represents an opened virtual disk with an IVdsOpenVDisk object. The published error text specifically directs callers to close clients that may have opened the disk before retrying, so repeated Open calls are not an idempotent way to obtain the same handle state.

Why this state matters

The failure can be caused by the same process retaining an interface, another management client, or a workflow that starts an operation and loses track of the opened object. The right diagnostic is to identify the owner of the outstanding open lifecycle. Changing the backing file path or repeatedly refreshing VDS does not close an existing open handle.

Diagnostic focus

  • Audit every successful IVdsVDisk::Open in the application and pair it with the release of the returned interface.
  • Check for concurrent management components or threads that can open the same virtual disk object.
  • Wait for operations using the current IVdsOpenVDisk to finish before releasing it and opening the disk again.
  • Preserve object ID and backing path in logs so two wrappers around the same virtual disk are not mistaken for different disks.

Technical references

IVdsVDisk::Open · IVdsOpenVDisk · VDS_VDISK_STATE · VDS_VDISK_PROPERTIES · MS-VDS error codes


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