Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Consolidation

Direct 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.

When to use this

Use it when snapshot removal is incomplete, orphaned delta layers remain, or the platform reports that snapshot state and virtual-disk dependencies need reconciliation.

First 30 seconds

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.

Operational verification

failed removal → orphan delta → consolidate

Evidence · next step

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
Common mistakes
Common traps

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.

Platform / version applicability
virtualization-image
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-image
Key commandGet-VM | Where { $_.ExtensionData.Runtime.ConsolidationNeeded } | Select Name
Scope / prerequisiteUse it when snapshot removal is incomplete, orphaned delta layers remain, or the platform reports that snapshot state a…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key 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
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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-image current

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%
Terminology layer

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.

Aliases that resolve here
snapshot consolidationvm consolidationconsolidation neededorphaned snapshot delta
Embedded reference data

Quick lookup tables

Snapshots & Checkpoints → Consolidation reference map

Fast snapshot/checkpoint boundaries for Snapshots & Checkpoints → Consolidation.

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

Confirm action

Continue?