| Previous | Next |
| ERROR_VOLMGR_BAD_BOOT_DISK | ERROR_VOLMGR_PACK_CONFIG_ONLINE |
ERROR_VOLMGR_PACK_CONFIG_OFFLINE
Why this is narrower than a generic disk error: volmgr pack config offline
ERROR_VOLMGR_PACK_CONFIG_OFFLINE has unsigned value 0xC0380050. In the volmgr layer, the operation is rejected because the pack configuration is deliberately offline, so online-only metadata operations are blocked. Diagnosis of this result should follow dynamic-disk pack identity, quorum and replicated configuration log through one controlled state transition.
Keep the first result attached to its request parameters and object instance. Cleanup failures or a later drive-letter change are secondary evidence, not replacements for the original failure.
Storage facts that change the diagnosis
| Storage diagnostic field | Value |
|---|---|
| Rejected invariant | the pack configuration is deliberately offline, so online-only metadata operations are blocked |
| Identity and generation | pack GUID and name, online state, primary flag, disk inventory, configuration-log sequence numbers, quorum view and failing transaction ID |
| Narrow experiment | query the pack configuration state, perform one controlled online/offline transition, and repeat the identical metadata operation |
| Closest comparison | ERROR_VOLMGR_PACK_CONFIG_ONLINE |
| Owning object | dynamic-disk pack identity, quorum and replicated configuration log |
A/B test
- Create a nonproduction case that preserves the same geometry and ownership model.
- Collect pack GUID and name, online state, primary flag, disk inventory, configuration-log sequence numbers, quorum view and failing transaction ID before invoking the first mutating API.
- Change one condition only: query the pack configuration state, perform one controlled online/offline transition, and repeat the identical metadata operation.
- Re-enumerate after the transition and confirm it is not reproduced by a stale handle from the old generation.
Use ERROR_VOLMGR_PACK_CONFIG_ONLINE as the nearest comparison. It is specific to the pack configuration is deliberately offline, so online-only metadata operations are blocked; the neighboring result belongs to another validation or lifecycle branch. Keeping both names prevents a generic storage label from hiding the actual owner.
Mechanism-specific note
Pack configuration state controls which metadata transitions are legal; it is not the same as one disk being offline in Disk Management. Capture the pack state and the state of each disk separately, then perform one explicit state transition and refresh the pack object before retrying.
Corrective action and regression check
Repair the pack configuration through supported dynamic-disk management, preserving GUIDs and the newest valid log sequence; avoid sector-level edits to replicated metadata. After correcting it, reopen the pack, volume, tier, snapshot or virtual disk so no cached generation participates in the validation run.
- The original request now reaches success or a documented later status with the intended layout and access mode.
- A new enumeration reports internally consistent IDs, counts, geometry and ownership for the corrected object.
- The application still distinguishes it from
ERROR_VOLMGR_PACK_CONFIG_ONLINEand has no unbounded retry loop.
Technical references
- Microsoft: COM error codes for VOLMGR, VHD and SDIAG — documents the supported management path relevant to this HRESULT.
- Microsoft: Virtual Disk Service object model — defines the volmgr objects used to interpret it.
- Microsoft: Pack object — primary API or object-model reference.
- Microsoft: Virtual Disk Service common return codes — use this source to verify volmgr state and parameters.
Looking for a different code? Search another status or error code.