| Previous | Next |
| VDS_E_PACK_OFFLINE | VDS_E_NO_EXTENTS_FOR_VOLUME |
VDS_E_VOLUME_NOT_A_MIRROR
VDS_E_VOLUME_NOT_A_MIRROR This HRESULT is a topology/type precondition. VDS volume objects have an explicit volume type, and fault-tolerant operations can depend on plex structure. A mirror is not inferred from having two disks or two extents; it is a VDS volume topology represented by volume and plex types.
What the VDS state means
The error commonly matters around mirror-specific operations such as plex management or recovery. Before attempting a repair or break operation, callers should query the volume and its plexes. VDS_VOLUME_PLEX_PROP reports plex type, status, health, transition state, size, stripe size, and member count, providing the evidence needed to distinguish a mirror from simple, spanned, striped, or parity layouts.
Diagnostic focus
- Query the volume type and enumerate plexes before issuing a mirror-specific method; do not infer topology from Disk Management labels cached by the application.
- Log each plex type and member count so the failed precondition can be reproduced from object state.
- Keep this code separate from
VDS_E_REPAIR_VOLUMESTATE: the target is not a mirror here, while repair-state errors concern health/accessibility conditions for a repairable plex. - If the topology changed after a prior operation, reacquire the volume object and process VDS notifications before retrying.
Technical references
MS-VDS error codes · IVdsVolume · IVdsVolumePlex · VDS_VOLUME_PLEX_PROP · VDS_VOLUME_PLEX_STATUS
Looking for a different code? Search another status or error code.