# Fixing the “Virtual Machine Disk Consolidation Is Needed” Alert

Title: Fixing the “Virtual Machine Disk Consolidation Is Needed” Alert
Canonical URL: https://backup.mrplanb.com/what-does-the-virtual-machine-disk-consolidation-is-needed-alert-mean-and-how-can-it-be-resolved
Published: 2026-03-03
Last modified: 2026-09-17
Author: Mr.PlanB
Language: en

The "virtual machine disk consolidation is needed" alert usually shows up when snapshot delta files are left behind after a snapshot operation that never finished or was never deleted properly. The manager may show no active snapshots while leftover redo logs or delta disks still sit in the datastore, and that is what triggers the warning.

![VMware disk consolidation workflow: check backups, jobs, capacity and writes, run Snapshots > Consolidate, then verify the task and warning or investigate space and locks.](https://backup.mrplanb.com/images/backup/vmware-consolidation-check-run-verify.svg "Check capacity and backup activity before consolidation, then verify the result and investigate remaining warnings.")

It happens most often after backup jobs that use temporary snapshots, when the datastore runs short of space during a snapshot deletion, when snapshot files are locked, when the management server loses connectivity to the host, or when there are simply too many snapshots. Left alone, those delta files keep growing and drag down both VM performance and your storage capacity.

Start with the built-in consolidation option. In the management client, right-click the affected VM, go to Snapshots and choose Consolidate. That merges the redundant delta files back into the base disk.

If Consolidate is missing or greyed out, create a new temporary snapshot and then choose "Delete All" in the snapshot manager, which forces the system to merge the existing delta disks. Trickier cases with invisible or orphaned snapshots can need deeper work, such as editing the configuration file and reloading the VM.

Back the VM up before you consolidate, so a mistake does not cost you data. Managing snapshots properly and leaving enough datastore space is what keeps the alert from coming back.

## How to consolidate VMware snapshots in the vSphere Client

As of November 2026, [Broadcom documents consolidation](https://knowledge.broadcom.com/external/article/316575) for residual snapshot files even when Snapshot Manager is empty. Check a usable independent backup, finish active backup jobs, review datastore capacity and reduce VM write activity before starting.

1. Select the affected VM in the vSphere Client inventory.
2. Right-click it and choose Snapshots > Consolidate.
3. [Confirm the dialog with OK](https://knowledge.broadcom.com/external/article/414589).
4. Monitor the consolidation task to completion. Recheck Summary and Snapshots for the warning, then check disk paths in Edit Settings. An empty Snapshot Manager alone does not prove success.

Online consolidation is supported, but heavy writes and storage latency can cause slowdown or a VM pause. Schedule quiet hours and never interrupt a running consolidation. See [Broadcom's performance explanation](https://knowledge.broadcom.com/external/article/323397).

## How much datastore space and time does consolidation need?

[Estimate snapshot size](https://knowledge.broadcom.com/external/article/316414) by locating each disk through Edit Settings and summing its chain's delta or sesparse data file sizes across the relevant datastores. Exclude base disks and descriptor files. Estimate time as total delta bytes divided by observed merge throughput, then revise using actual progress. Large chains, thin disk growth, storage contention and ongoing writes extend the work.

Reserve space for thin base disk growth, metadata and the helper snapshot receiving live writes. Budget additional write growth as observed write bytes per second multiplied by estimated duration, with headroom. This is a planning estimate, not a guaranteed requirement. Storage format and ESXi version matter. [KB 398339](https://knowledge.broadcom.com/external/article/398339) specifies 1.5 times total snapshot size for its ESXi 8.x/9.x insufficient-space scenario, as of November 2026; do not treat that as universal sizing.

## Why VMware disk consolidation fails or remains needed

| Symptom | Next action |
| --- | --- |
| Not enough space | Extend datastore capacity or migrate other VMs away. If online recovery fails, consider a powered-off migration or clone to another datastore, following KB 398339. |
| Task completes, warning remains | Check task events, VM disk paths, vmware.log and hostd.log. [Broadcom documents misleading success](https://knowledge.broadcom.com/external/article/423621) when the underlying merge fails. |

Escalate persistent failures or damaged chains to VMware support. Configuration edits need a case-specific procedure. [KB 316575](https://knowledge.broadcom.com/external/article/316575) documents powered-off cloning with vmkfstools -i from the active snapshot descriptor. [KB 404424](https://knowledge.broadcom.com/external/article/404424) reserves host reboot for persistent VMFS locks after maintenance mode, evacuation and management-agent recovery.

## Prevent repeat consolidation alerts

Check backup job cleanup and snapshot removal after every run. Configure vCenter snapshot alarms or a scheduled snapshot age report and investigate leftovers promptly. Broadcom recommends [retaining snapshots for no more than 72 hours](https://knowledge.broadcom.com/external/article/318825). Review [snapshot management](https://backup.mrplanb.com/how-can-administrators-create-delete-and-properly-manage-snapshots-in-vcenter-without-impacting-vm-performance) and [snapshots versus backups](https://backup.mrplanb.com/what-are-the-key-differences-between-snapshots-and-backups-in-virtual-machine-data-protection).

## FAQs

### 1. Does disk consolidation require VM shutdown?

No. Consolidation normally runs with the VM powered on.

### 2. Why do invisible snapshots appear?

They can be left over from a failed backup job or a snapshot deletion that did not finish.

### 3. Can low storage space cause consolidation failure?

Yes. Without enough datastore capacity, the snapshots cannot merge properly.

### How do I fix consolidation failed to lock the file?

On VMFS, run `vmfsfilelockinfo -p <locked-file-path>`, then use lsof and esxcli vm process list on the identified host to map the lock to a proxy VM, following [KB 314365](https://knowledge.broadcom.com/external/article/314365). After confirming jobs have stopped, open that proxy's Edit Settings and detach only the affected VM's stale disk; never select Delete files from datastore. Retry consolidation, following [KB 321365](https://knowledge.broadcom.com/external/article/321365). Inspect vmkernel.log for lock errors; NFS and vSAN require their documented storage-specific procedures.

### Does deleting snapshots differ from consolidating disks?

[Deleting a snapshot](https://knowledge.broadcom.com/external/article/371714) removes its rollback point while preserving current guest data; consolidation completes outstanding disk merges. Neither creates an independent recoverable backup.

Source: https://backup.mrplanb.com/what-does-the-virtual-machine-disk-consolidation-is-needed-alert-mean-and-how-can-it-be-resolved
