Pcornel
Storage · Snapshots

Snapshot Consolidation

Cheat sheet · https://pcornel.dk/topic.php?topic=4226

Back to the Topic

Answer

Consolidation verifies the authoritative active chain, commits required changes into the correct backing object, then safely removes obsolete snapshot layers or metadata references.

Remember

  • Consolidation ≠ revert.
  • Consolidation needed ≠ data corruption automatically.
  • Deleting delta files manually ≠ consolidation.
  • Consolidation success ≠ application-level validation.

First checks

  • Get-VM | ? {$_.ExtensionData.Runtime.ConsolidationNeeded} — VMware consolidation needed
  • Get-VMSnapshot -VMName * — Hyper-V leftovers
  • qemu-img info --backing-chain — qcow2 leftovers

Verify in this order

orphan delta → consolidate → single disk

Where it usually breaks

First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.

Snapshots → Snapshot Consolidation proof map

Storage boundaryWhat to verifyProof limit
Identity / stateCorrect object, source/target or snapshot point and same-window timestampsInventory alone does not prove data correctness
Dependency pathSnapshot mapping/chain, active write target, capacity and backing storageA healthy adjacent component is not end-to-end proof
Failure boundarySuccessful consolidation proves the platform no longer requires the removed snapshot dependencies for the active object; it does not prove application data correctness.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Snapshot Consolidation: the expected point-in-time mapping and dependency chain are intact, required backing data is readable, and the intended snapshot lifecycle action completes with correct current-data read-back.Close only after original read-back/recovery test and protection-state verification

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4226

Confirmation

Confirm action

Continue?