What does HRESULT 0x8004292C (VDS_E_VD_DISK_IS_EXPANDING) mean?

 
Previous Next
VDS_E_VD_DISK_NOT_OPEN VDS_E_VD_DISK_IS_COMPACTING

VDS_E_VD_DISK_IS_EXPANDING

This HRESULT describes a current transition state, not a duplicate expand request. The VDS state machine places the object in VDS_VST_EXPANDING while an expand operation is running. During that interval, another operation that is incompatible with expansion is rejected until the asynchronous size change completes and the state returns to OPEN.

Why this state matters

IVdsOpenVDisk::Expand is asynchronous and returns IVdsAsync. The method increases a detached virtual disk to a requested size and requires metadata-operation access. A caller that fires the request and immediately starts attach, merge, or another metadata operation can observe this state even though the original expand is progressing normally.

Diagnostic focus

  • Locate the original expand request and wait for its IVdsAsync final HRESULT instead of polling by issuing unrelated operations.
  • Read the current VDS virtual-disk state and record the target size associated with the in-progress expansion.
  • Do not attach or merge the virtual disk until the expand transition has finished and properties have been refreshed.
  • After completion, query virtual size again because a failed asynchronous expand must not be assumed to have changed capacity.

Technical references

IVdsOpenVDisk::Expand · VDS_VDISK_STATE · MS-VDS virtual disk state transitions · IVdsOpenVDisk · VDS_VDISK_PROPERTIES


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