When you have a VM with multiple snapshots, some of them several days old, what is the most efficient way to delete them: do you start at the bottom, with the latest snapshot, or do you start at the top with the earliest snap? Or should I put my faith into the "Delete All" button?
Here's an example of what I'm talking about:
Yes, I'm away that I can just shut down the VM and do a clone, and the clone will be clean of snapshot. I don't want to do that. I very specifically want to delete the snaps. I'm just wondering what's easier for VMware - start at the top or start at the bottom?
Version 4.1. Yep, the snapshots are large. All together the snaps take up more than 10 GB.
Not short on disk space now, but I have had that situation. I have had my backup snapshot turn in "Consolidated Helper" snaps before.
My suspition is that if I start deleting from the bottom, VMware will need to grow the old snapshot files, meaning it will need extra space to delete snaps. But if I start deleting at the top it will just replay the snap files into the vmdk and relink the snap chain, and thus no extra space will be needed during the snapshot deletion process.
Is that correct... or am I dreaming?
If this is a common occurance and the delete all option leaves behind the consolidate helper, you may want to consider scripting the removal with powercli. You can take a look at a sample here: http://tech.mikeal.com/blog1.php/2011/01/21/vmware-powercli-scripts-delete-all-snapshots-create-new-...
I would agree the delete should be sufficient. If you are nervous about all in one then I would start at the last one and work backwards.
I'd recommend using the delete all option.
The reason for this is that on the backend of things it employs a different logic. If you happen to run into any consolidate helpers, or have a snapshot that has gotten out of sync this will consolidate the VM back to one VMDK.
It may take some time, and you may notice the progress bar sticks at 95% while removing. Just be patient, theres a lot of data to incorperate and verify.
Hope this helps!
I will be out of the office until Monday, July 25th. If this is an urgent issue please contact Peter Redhead at Peter.Redhead@newschool.edu.
The New School
>>> communities-emailer 07/14/11 16:30 >>>
"Silly question: most efficient way to delete snaps?"
To view the discussion, visit: http://communities.vmware.com/message/1791278#1791278