?
Solved

Removing VM Snap Shots

Posted on 2011-03-12
10
Medium Priority
?
1,003 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 668 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
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 

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 664 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 668 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

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!

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Suggested Courses

752 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