Use it when snapshot removal is incomplete, orphaned delta layers remain, or the platform reports that snapshot state and virtual-disk dependencies need reconciliation.
Consolidation
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.
1. Consolidation fixes leftover deltas after failed snapshot removal (often from backups).
2. vSphere shows "consolidation needed".
3. Requires space and I/O.
4. Find why backups leave snapshots.
5. Verify chain after.
failed removal → orphan delta → consolidate
Review the event/error cause, monitor for recurrence and validate representative guest I/O.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show the underlying cause of the earlier mismatch is eliminated or all application data is correct.
Next check: Review the event/error cause, monitor for recurrence and validate representative guest I/O.
Operational reference
Fast context before you go deeper.
Get-VM | Where { $_.ExtensionData.Runtime.ConsolidationNeeded } | Select NameVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
alert/state mismatch → chain mapping → capacity check → consolidate → rescan metadata → guest I/O
Step 2 Checks Verify boundary
Get-VM | Where { $_.ExtensionData.Runtime.ConsolidationNeeded } | Select Name
Then run consolidation and check that no delta files remain.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
Get-VM | ? {(Get-VMSnapshot $_) -or $_.Status -match merge}— Hyper-V merge statusvim-cmd vmsvc/getallvms— ESXi VMs; consolidation needed flag in vCenterqemu-img info --backing-chain <disk>— verify chain
ReferenceImportant terms & boundaries2 sections · depth on demand
When consolidation is needed
vSphere shows Virtual machine disks consolidation is needed when snapshot deletion left delta files behind (often after backup failures). Run Snapshots → Consolidate. If it fails due to locks, find the owner (vmkfstools -D, backup proxy with hot-added disks).
In depth
Consolidation fixes disks still running on delta files after a snapshot was supposedly deleted — typically after a backup job failed or timed out. vSphere shows "Virtual machine disks consolidation is needed".
# PowerCLI
Get-VM | Where-Object { $_.ExtensionData.Runtime.ConsolidationNeeded } | ForEach-Object { $_.ExtensionData.ConsolidateVMDisks() }
vmkfstools -D /vmfs/volumes/ds1/vm1/vm1-000001.vmdk # who holds the lock
If consolidation fails with a lock, a backup proxy may still have the disk hot-added — remove it from the proxy VM first.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Snapshots & Checkpoints → Consolidation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Snapshots & Checkpoints → Consolidation reference map
Fast snapshot/checkpoint boundaries for Snapshots & Checkpoints → Consolidation.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Inventory | What manager displays | May be incomplete |
| Disk chain | Actual dependencies | Must be authoritative |
| Consolidate | Reconcile/merge leftovers | Needs I/O/capacity |
| Post-check | Rescan + workload | Confirms outcome |