| Previous | Next |
| VDS_E_INVALID_EXTENT_COUNT | VDS_E_VOLUME_DISK_COUNT_MAX_EXCEEDED |
VDS_E_SOURCE_IS_TARGET_PACK
IVdsPack::MigrateDisks changes membership by moving a disk set from one pack to another. Source and target therefore represent distinct pack objects. Supplying the current pack as the target does not describe a no-op import; it violates the migration model because there is no destination membership transition to perform.
Why this state matters
This is usually an object-selection or stale-ID problem. A UI may display two labels for the same pack, or code may reacquire the online target after enumeration and accidentally resolve it to the source pack. Compare VDS object IDs rather than names before calling the method. Pack names are presentation data, while object identity is carried by the VDS GUID.
Diagnostic focus
- Log the source pack object ID and
TargetPackGUID side by side before migration. - Validate identity after refresh or reenumeration instead of trusting cached display names.
- When importing foreign disks, select or create the actual online destination pack according to the documented workflow.
- Do not special-case this HRESULT as success; the requested membership change did not occur.
Technical references
IVdsPack::MigrateDisks · Adding Foreign Disks to a Pack · Pack Object · IVdsPack · MS-VDS error codes
Looking for a different code? Search another status or error code.
