| Previous | Next |
| VDS_E_DISK_NOT_ONLINE | VDS_E_ASYNC_OBJECT_FAILURE |
VDS_E_DISK_IN_USE_BY_VOLUME
VDS_E_DISK_IN_USE_BY_VOLUME has an extent-specific meaning in the VDS return-code table: one or more extents of the specified disk are already used by the volume. It is not a generic “file is open” or process-lock error.
Inspect extent membership before changing the layout
VDS volume operations work with disks, members, plexes, and extents. For example, IVdsVolume::Extend adds disk extents to each member of each plex, and the VDS_INPUT_DISK contract restricts how a disk can contribute to a volume. A disk already represented in the relevant layout can therefore violate the requested topology.
What to verify
- Enumerate the volume type, plexes, and contributing disks rather than looking only at drive letters.
- Compare the disk IDs submitted to the operation with the disks already represented by the volume extents.
- Do not delete existing partitions or extents merely to satisfy the call; first verify the intended member and plex layout.
References
- Microsoft: VDS_E_DISK_IN_USE_BY_VOLUME
- Microsoft: IVdsVolume::Extend
- Microsoft: VDS_INPUT_DISK rules
Looking for a different code? Search another status or error code.
