Vmware esxi 5, cant create snapshots and consolidate fails, how to delete old or consolidate redo logs

snapshotvmware-esxivmware-vcenter

I have a VM that seems to be working ok, but when VMWare DR (or I) tries to create a snap shot, it fails, and when I view the summary page of the VM it has a warning at the top showing that the disks need to be consolidated.

So I go to snapshot manager for the VM and choose consolidate (in snapshot manager, there are no snapshots actually listed by the way). If fails with this error:

This virtual machine has 255 or more redo logs in a single branch of
its snapshot tree. The maximum supported limit has been reached,
creating new snapshots will not be allowed. To create new snapshots,
please delete old snapshots or consolidate the redo logs.

If I browse the data store (which has plenty of free space, 2 TB and this vm is under 40gb), in the vm folder, I do in fact see a bunch of files, numbered all the way to 0255:

  • myvm-000255-ctk.vmdk
  • myvm-000255-delta.vmdk
  • myvm-000255.vmdk

How can I clean all this up?
Is there an SSH command line command or can I delete some of the files safely?
Thanks!

Best Answer

Here is KB about fixing this problem. I did not move staff around but just committed few snapshots in the middle to get to more manageable count and then used "Consolidate"...

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004545