| Previous | Next |
| VDS_E_PLEX_REGENERATING | VDS_E_INVALID_VOLUME_LENGTH |
VDS_E_UNEXPECTED_DISK_LAYOUT_CHANGE
This status explicitly marks an external layout change. VDS clients and providers work with disk objects, partition arrays, and extent maps that can become stale when another disk-management path rewrites the partition table or changes extents. The failure is therefore a concurrency/state problem before it is a media problem.
Why this state matters
Preserve the operation that was active and compare the pre-operation layout with a fresh QueryPartitions and QueryExtents result. Disk notifications can report changes to disk properties or extents, but a caller can still hold an obsolete object reference or cached offset. Do not continue using previously calculated free ranges after this HRESULT.
Diagnostic focus
- Requery all partition offsets and disk extents immediately after the failure.
- Identify concurrent Disk Management, DiskPart, imaging, setup, cluster, or vendor-provider activity.
- Invalidate cached free-space calculations and stale partition offsets.
- Rebuild the requested operation against the current layout instead of replaying the old geometry.
Technical references
IVdsAdvancedDisk::QueryPartitions · IVdsDisk::QueryExtents · VDS Disk Object · VDS_PARTITION_PROP · MS-VDS error codes
Looking for a different code? Search another status or error code.