Vmware snapshots not consolidating

The Power CLI command in listing 2 will consolidate the disks of a virtual machine called My VM.

The command will not wait untill the consolidation is finished but will return immediately. Power CLI command to consolidate the disks of a virtual machine called My VM.

You can perform VM templating manually through ssh. VMware has product, Linked Clone, which is same thing you are trying to do.

And they say it has potential performance problems.

I do not have another Esxi Host to try migrating too.

I do not have access to the former backup software the company used. Unable to recreate the VM as it has Windows Server 2003 with customized software and limited support.

After consolidation, redundant disks are removed, which improves virtual machine performance and saves storage space. This might happen, for example, if you delete a snapshot but its associated disk does not commit back to the base disk.

In v Sphere 5 a virtual machine can have a “Virtual machine disks consolidation is needed” Configuration Issue warning in the Summary tab.

Getting error: Failed - Unable to access file since it is locked Errors: An error occurred while consolidating disks: One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot.

& Remove all the snapshots associated with this virtual machine Failed - A general system error occurred: vim.fault.

When you want to consolidate the disks of all virtual machines that need disks consolidation then you can use the script from listing 4. Power CLI script to consolidate the disks of all virtual machines that need disks consolidation.

The script will wait untill the consolidation of the disks of a virtual machine is finished before continuing with the next virtual machine.

Search for vmware snapshots not consolidating:

vmware snapshots not consolidating-38vmware snapshots not consolidating-74

In practice you'll be remastering VMs after a while.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “vmware snapshots not consolidating”