Delete all snapshots
Filed under: VMware
Today I encountered an old misunderstood principle again. A customer had created several snapshots on a virtual machine. Several… well to be exact 15. All snapshots were larger than 20GB. When the VMFS volume, on which this VM was located, ran out of diskspace he decided to use the button “Delete All”, but within a couple of minutes the VMFS volume ran out of diskspace again. What happened?
Situation:
Snapshot 1 - 20GB
Snapshot 2 - 10GB
Snapshot 3 - 30GB
When you choose “delete all” the following will happen:
- Snapshot 2 will grow to 40GB at most
- Snapshot 1 will grow to 60GB at most
- Snapshot 1 will be committed to the original VMDK
- All snapshot files are deleted
In other words: Snapshot 3 is merged into Snapshot 2, Snapshot 2 is merged into Snapshot 1, Snapshot 1 is merged into the original flat.vmdk and afterwards all snapshot files are deleted. This means that if you want to delete all snapshots at once you will need around 130GB of free diskspace. So think twice when you press the “delete all” button.




January 7th, 2008 at 14:24
Goede TIP!
January 21st, 2008 at 20:57
[...] Delete all snapshots: For those end users that don’t work with snapshots, this article is a must read. [...]
June 23rd, 2008 at 22:36
[...] Another thing that people don’t know is the way “delete all” works, but I’ve already outlined that a while ago in a blog. [...]
June 28th, 2008 at 21:06
[...] Yellow Bricks has a good little write about problems you could run into if you use a lot of snaps then delete all snapshots. Make sure you have a lot of extra disk space when you do it. [...]