Removing VM Snap Shots

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
ahmad1467Asked:
Who is Participating?
 
Paul SolovyovskyConnect With a Mentor Senior IT AdvisorCommented:
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
 
coolsport00Commented:
How big is the snap?
0
 
ahmad1467Author Commented:
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
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
coolsport00Connect With a Mentor Commented:
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
 
ahmad1467Author Commented:
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
 
bhanukir7Connect With a Mentor Commented:
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
 
predragpetrovicCommented:
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
 
JRoyseCommented:
Do you have remaining space on the datastore?
0
 
ahmad1467Author Commented:
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
 
coolsport00Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.