Solved

Merge snapshot on esxi 4.0 with low diskspace

Posted on 2011-03-21
13
934 Views
Last Modified: 2012-07-21
I have a virtual machine with 3 large snapshots. I only have 10 GB free on the hard disk. There are three snapshots presence  152 GB / 134 GB and 53 GB. How can I merge these snapshots.

Paul
0
Comment
Question by:VDN_Bizzcom
13 Comments
 
LVL 40

Accepted Solution

by:
coolsport00 earned 250 total points
ID: 35183318
Do you have another datastore or storage to use Converter or Clone the VM? That will 'merge'/commit the snaps into the parent disk for you.
http://kb.vmware.com/kb/1007849

~coolsport00
0
 
LVL 16

Assisted Solution

by:danm66
danm66 earned 250 total points
ID: 35183751
If you shutdown the VM while deleting the snapshot(s), it won't require more space but it may take quite a bit of time to consolidate them.  You could shutdown and delete the smaller snapshot, then bring it up and consolidate the larger ones, but it will extend the amount of time needed to consolidate the data if the VM is running and it may impact performance if the VM is doing a lot of IO work while it's up.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 35183779
"danm66"...do you have any references as the % amt of datastore free space is required to merge snaps? I was looking for it the other day and couldn't find it. I thought it was in 1 of 2 KBs, but didn't see it listed (thought it was 10% of the VMDK size).

~coolsport00
0
 
LVL 8

Expert Comment

by:markzz
ID: 35190035
coolsport00.
I can't show you documented evidence but can talk about the disasters we have had.
I have seen a snapshot consolidation utilise the equivalent disk space as the snapshot size.
danm66 is correct, shutting down the guest before consolidating will ensure the consolidation process does not require significant additional disk space to complete.
VDN_Bizzcom
It is best that you follow this advise. If you run out of disk space while consolidating the snapshots things get very ugly often requireing a restore from backup..
Shut it down, start the consolidation, be very patient. 152 GB / 134 GB and 53 GB in snapshot is terrible and indicates more management is required.
Look at SnapHunter..
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 35190065
That has been my experience as well. The Consolidation KB I posted states to shut down the VM and says it takes "minimal space" to commit when doing so, but doesn't provide a referenceable percentage. I thought I read it somewhere...maybe in a legacy VM Adm Guide (3.5 or 4.0 maybe?), but can't recall.

~coolsport00
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 16

Expert Comment

by:danm66
ID: 35191011
@coolsport00  -  when the VM is live, it's not really a percentage that determines the snapshot size, but the result of IO activity over the time period that the consolidation is happening.  http://kb.vmware.com/kb/1034364 Understanding iterative redolog consolidations during online snapshot deletion in VMware ESX.  If you're asking about what is needed for offline consolidation...I don't know, but it's very minimal.  Usually, the .vswp space reclaimed from having the VM powered off is more than enough to allow offline deletes to occur.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 35191021
Thanks "danm66"...

~coolsport00
0
 

Author Comment

by:VDN_Bizzcom
ID: 38179170
I've requested that this question be deleted for the following reason:

solved<br />
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 38179171
How was this "solved" @VDN_Bizzcom? Proper EE etiquette is to close & reward points to the appropriate 'expert' that assisted you. If there was some other solution that resolved your issue other than what was posted, make a comment of what you did to resolve then close (not delete) the post and make your comment the 'answer'.

Regards,
~coolsport00
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 38192337
More than likely 1 (or both) of the first 2 posts (#35183318 , #35183751) resolved this issue. Recommend split.

~coolsport00
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now