Insufficient disk space on datastore '<datastore name>'. Consolidation failed for disk node 'scsi#:#': There is not enough space on the file system for the selected operation. An error occurred while consolidating disks: There is not enough space on the file system for the selected operation.
/var/run/log/hostd.log confirms that the snapshot consolidation task failed with below error:YYYY-MM-DDTHH:MM.SSSZ Db(##) Hostd[#####]: [Originator@### sub=###.####.vm:/vmfs/volumes/########-########-####-###########/######/#####.vmx opID=#####-####-####-####-###:######-##-##-#### sid=###### user=#######:#####.####\#########] Consolidate Disks message: An error occurred while consolidating disks: There is not enough space on the file system for the selected operation.VMware vSphere ESXi (All Versions)
In order to consolidate a snapshot chain, the ESXi host must have sufficient free disk space on the virtual machine's assigned datastore. This space is used to ensure the consolidation properly written to the base disk. For more details refer to Consolidating/Committing snapshots in VMware ESXi
IMPORTANT: Before proceeding, verify that the storage environment has at least 1.5x the total size of the snapshot available as insufficient capacity will result in repeated operation failure and potential data loss.
To resolve the issue, increase the datastore free space by referring to below methods:
Workaround:
Clone the virtual machine to a new VM on a new datastore. This will consolidate the snapshots during the operation. Delete the original VM once the new VM is deemed up and operational.
Additional information on errors when consolidating snapshots can be found below: