VMpros.nl
new1234.jpg
Home > VMware > VMware: Cannot delete virtual machine from disk with more then 100 active snapshots

VMware: Cannot delete virtual machine from disk with more then 100 active snapshots

Today I tried to delete a virtual machine with more then 100 (damn Backup Exec) snapshots, in the vSphere Client I selected in the inventory:  “Delete from disk”  , few seconds later I received this error message:

Cannot complete the operation due to an incorrect request to the server

image

Events directly at the vSphere 5.0 host:

Warning message from ESXHOST: This virtual machine has more than 100 redo logs in a single branch of its snapshot tree. Deleting some of the snapshots or consolidating the redo logs will improve performance. The maximum number of redo logs supported is 255.

Virtual machine disks consolidation failed.


Solution:

With this simple PowerCLI command I was able to remove the virtual machine include all active snapshots

Remove-VM "VM" -DeletePermanently -Confirm:$false

image

avatar

sanderdaems

Sander Daems is founder and author of this blog and working as a Infrastructure Consultant by IT-Value. Sander has over 9 years experience in IT, primary focus: virtualization, storage and SBC

More Posts - Website

Follow Me:
TwitterLinkedIn

  1. avatar
    Paul
    March 20th, 2013  (Quote) at 02:35  (Quote) | #1

    I ran into this same issue from another backup solution left unattended. This is good info if you want to delete the vm. Otherwise you’ll likely need to cold clone the disk using vmkfstools -i

  1. No trackbacks yet.