What does HRESULT 0x80042464 (VDS_E_ONLINE_PACK_EXISTS) mean?

 
Previous Next
VDS_E_RETRY VDS_E_EXTEND_FILE_SYSTEM_FAILED

VDS_E_ONLINE_PACK_EXISTS

VDS_E_ONLINE_PACK_EXISTS The VDS dynamic-disk model uses an online primary pack/disk group for active configuration. Microsoft’s foreign-disk import procedure says to select the online pack as the target; if no online pack exists, create a new empty pack. VDS_E_ONLINE_PACK_EXISTS is the inverse guard: creation fails because an online pack already exists.

What the VDS state means

This is not an “object name already exists” condition. Pack identity and status are explicit in VDS_PACK_PROP. The application should enumerate packs and use the existing online pack where the operation permits it, rather than repeatedly trying to create another primary container.

Diagnostic focus

  • Call QueryPacks and inspect VDS_PACK_PROP.status to identify the existing online pack.
  • For foreign-disk import, follow the documented workflow and migrate the disks into the selected online pack instead of creating a second online pack.
  • Keep this error separate from VDS_E_DUP_EMPTY_PACK_GUID; one is about an existing online pack, the other about an empty-pack GUID conflict.
  • If the application expected no online pack, refresh the VDS view and investigate stale provider state or another storage-management process that created the pack.

Technical references

VDS common return codes · MS-VDS error codes · Adding foreign disks to a pack · IVdsSwProvider::QueryPacks · VDS_PACK_PROP


Looking for a different code? Search another status or error code.