Pcornel
Virtualization · Snapshots & Checkpoints

Consolidation

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

Back to the Topic

Answer

Consolidation is the cleanup/reconciliation process used when snapshot data or delta layers remain even though the management inventory says they should be merged or when a platform explicitly reports consolidation is required.

Remember

  • Consolidation is a storage-chain repair/cleanup action, not a synonym for backup.
  • A VM can appear to have no snapshots in the UI while dependent delta files still exist.
  • Manual deletion of suspected orphan files is unsafe until the active chain is proven.
  • Consolidation requires capacity and healthy storage I/O just like merge operations.

First checks

  • Get-VM | ? {(Get-VMSnapshot $_) -or $_.Status -match merge} — Hyper-V merge status
  • vim-cmd vmsvc/getallvms — ESXi VMs; consolidation needed flag in vCenter
  • qemu-img info --backing-chain <disk> — verify chain

Verify in this order

failed removal → orphan delta → consolidate

Where it usually breaks

First mismatch in guest/app quiescence → hypervisor snapshot/template task → metadata/backing chain → storage durability → restore/clone read-back; preserve identity/native error/pre-state before mutation.

Snapshots & Checkpoints → Consolidation reference map

BoundaryMeaningEvidence limit
InventoryWhat manager displaysMay be incomplete
Disk chainActual dependenciesMust be authoritative
ConsolidateReconcile/merge leftoversNeeds I/O/capacity
Post-checkRescan + workloadConfirms outcome

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

Confirmation

Confirm action

Continue?