[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1010
  • Last Modified:

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
0
ahmad1467
Asked:
ahmad1467
3 Solutions
 
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
 
coolsport00Commented:
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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
 
Paul SolovyovskyCommented:
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
 
bhanukir7Commented:
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now