Solved

Removing VM Snap Shots

Posted on 2011-03-12
10
979 Views
Last Modified: 2012-05-11
I am running VMware 4.0 and I was trying to delete a Snap shot in snapshot Manager but it seems like it’s taken a little longer to finish. It seems like it’s been at 95% for about an hour, when I view the job in my vSphere Client under task it shows that the job is in progress, does this seem normal? But meanwhile the server is down and I don’t have the option to turn it on, is there something I should try or should I continue waiting?
Thanks
0
Comment
Question by:ahmad1467
10 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 35116584
How big is the snap?
0
 

Author Comment

by:ahmad1467
ID: 35116660
I had more than one so I was going to delete them one by one, it looks like it might have been a snapshot that was created by Symantec.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 167 total points
ID: 35116675
B/U software is supposed to remove snaps after the b/u jobs complete. Hmm...that being said, if your snap(s) are/is large, leave it run for now. It does take a while to delete large snap files.

~coolsport00
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:ahmad1467
ID: 35116757
The Down side is this is my Exchange server so email is down now, if it’s taken to  long is there a way to cancel the possess so that I can turn the VM back on?  I tried right clicking on the task but canceled is grayed out.
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 166 total points
ID: 35116796
Deletion of a snapshot is directly proportional to size.  If the delta vmdk is large it may take some time, I have seen it take up to a day when a customer took a snapshot when they created the VM and all the data was in the differential vmdk.

Download VMWare PowerCLI, you can use the cmd-lets to monitor snapshots via a single command line
0
 
LVL 23

Assisted Solution

by:bhanukir7
bhanukir7 earned 167 total points
ID: 35120287
hi ahmad,

first of all never have snapshots for your critical servers like Exchange/SQL/Oracle as that will impact the performance.

When you have decided to delete snapshots, you have to wait for as long as the process takes and any action of cancelling or other things will cause more harm than helping you. As mentioned by paul the snapshot delete activity will try to merge all the old snapshots into the parent VMDK one by one.

Its always advisable to use powerCLI or the vmware-cmd command line tool on the ESX server.

you can log on to the ESX server and go to the vm folder where the files are located and try doing a ls -al to verify what all files are there and you will see that maybe 5 out of the 10 snapshots might have been all ready merged.

i was in a similar situation where one of our teams had taken a snapshot of a 1 TB oracle server and the delta files grew to 1TB and it took almost 15 hrs for the merge to complete.

regards
bhanu
0
 
LVL 9

Expert Comment

by:predragpetrovic
ID: 35124419
hi,

when committing snapshots the problem is that it requires more disk space. this is something that is well explained in the following articles:
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1002836
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1015180

so if you do not have enough disk space the "remove snapshots" function will fail always !!! No matter what you do. In these cases then the best solution is to clone the source VM to another datastore and test it. If not I would suggest to remove snapshots manually by using the CLI.

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1002310&sliceId=1&docTypeID=DT_KB_1_1&dialogID=166065714&stateId=0%200%20166063563

I believe that this snapshot is too large and that you do not have enough disk space to commit it.
0
 
LVL 6

Expert Comment

by:JRoyse
ID: 35127945
Do you have remaining space on the datastore?
0
 

Author Comment

by:ahmad1467
ID: 35130064
Thanks for all the help and information, the removal did complete later that evening. The Snapshots were created when Symantec Backup Exec Jobs fail and left the snapshot behind.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 35130075
Yep...as suspected. That happens with my VM b/u software (Veeam) on occasion, as well. Lately it's been good tho. Glad it completed for you...

Regards,
~coolsport00
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

830 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