What does Windows error code 345 (ERROR_STORAGE_TOPOLOGY_ID_MISMATCH) mean?

 
Could be also:
ConstantTypeOS
HAL_ILLEGAL_IOMMU_PAGE_FAULTBugCheck CodeWindows
Previous Next
ERROR_COMPRESSION_NOT_BENEFICIAL ERROR_BLOCKED_BY_PARENTAL_CONTROLS

ERROR_STORAGE_TOPOLOGY_ID_MISMATCH

The storage layout changed during the operation

ERROR_STORAGE_TOPOLOGY_ID_MISMATCH is a Win32 system result. Storage management requests can bind to a particular disk, pool, virtual disk, enclosure, or path topology. This result indicates that the saved identity no longer describes the current arrangement, commonly after failover, re-enumeration, replacement, or topology refresh.

What the result means

The storage topology identifier no longer matches the topology expected by the request.

What to check

  • Refresh disk, volume, pool, and path enumeration before retrying.
  • Check for recent device removal, multipath failover, enclosure changes, or virtual-disk reconfiguration.
  • Do not use drive letters or ordinal disk numbers as stable identities.
  • Correlate the failure with storage service and system event logs.

Recommended handling

Discard stale topology state and rebuild the request using current stable identifiers. If the topology changed during a destructive operation, require a fresh safety check before proceeding.

Developer notes

Bind long-running operations to immutable identifiers where available and validate them again immediately before commit. A blind retry can target a different device after re-enumeration.

References


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