Solved

Deleting Snapshot

Posted on 2016-10-07
10
96 Views
Last Modified: 2016-10-23
I know that Andrew Hanckok  posted articles about how to delete Snapshots that do not show up in Snapshot Manager as well as the snapshots that fail to delete when using Consolidation, by powering off the VM and  creating new snapshot and be Patient for a while, then delete the last snapshot, which will delete other snapshots in the chain and commit them to the Base Disk.

- Recently in our environment Veeam Backup Software created 4 separate Snapshots on a VM (Because it has 4 Hard Disk). The VM kept running on the snapshot and the Snapshot Manager showed empty.
VM Engineer tried the consolidation and Failed, he created new snapshot then deleted it, following Andrew steps, and it failed..
Later on, he fixed the issue..per his statement he moved the .ctk files to a different location while the VM was OFF, ran the snapshot consolidation which deleted the snapshots without error, then powered the VM back on .
Well..I want to know from the EE standpoint how this can be done.
another  option per some engineers, is cloning the VM to different datastore can delete the snapshots..(this is not clear)

Any EE to shade some lights on Deleting Snapshots Methods, if there are more that one ?
 

Thank you
0
Comment
Question by:jskfan
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 5

Accepted Solution

by:
Larrymey Hawkins earned 250 total points
ID: 41833989
Have you tried recreating a new snapshot then using Delete all within the GUI?

If so

You could Use putty to ssh in and open each (namehere).vmdk descriptor files and look for the line
ddb.deletable = false Change that to true. Then use the comment to create a new snapshot

(namehere.vmx createsnapshot test) after that use the command to delete all snapshots

(name.vmx removesnapshots) and see if this works.
0
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 125 total points
ID: 41834075
There are many methods....for info, and I think I've mention this Consolidate option is for VMware Beginners, and rarely works!

1. Creating and Deleting the Snapshot.
2. VMware Converter, and create a new VM, (V2V)
3. CLONE option.

What do you want to know ?

It also depends on the error message, but a backup application leaving a VM running on a snapshot, needs further investigation as to WHY this is happening.

My Article is here

HOW TO: VMware Snapshots :- Be Patient
0
 
LVL 22

Assisted Solution

by:Luciano Patrão
Luciano Patrão earned 125 total points
ID: 41834489
Hi,

Andrew unfortunately now is more common that was before a Backup tool leave snapshots behind. Because of the several problems with CBT and also VMware Tools in ESXi with the Application-Aware many times Backup Tools(in this case Veeam) have issues when this is enable, and in the end cannot remove the snapshot that was created. I see lot of these after these issues.

Also if you a Veeam Proxy with NFS Direct, this well happen more times.

That is why I have a script that just runs in the vCenters every week and look for Veeam Snapshots that was left behind and delete them all.

Regarding the question,  if Andrew article and tips doenst work, you could try the ddb.deletable = true. Even this is for old versions, it still works.

Jail
0
 

Author Comment

by:jskfan
ID: 41834519
Thank you Guys:

will the options below  allow you to make the VM get rid of the snapshots? I mean able to commit the snapshots to the Base Disk ? after the VM has been converted or cloned ?
. VMware Converter, and create a new VM, (V2V)
. CLONE option.
0
 
LVL 22

Expert Comment

by:Luciano Patrão
ID: 41834523
Hi,

I only go for that options in a very extreme case. Don't think this extreme cases and can be removed easily with the options indicated above.

Jail
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 118
ID: 41834934
No, it will not commit the snapshot, it's a method of obtaining a VM without the snapshot.
0
 

Author Comment

by:jskfan
ID: 41840534
SSH in to the Datastore not to ESX host to edit the VMDK files. Correct ?
0
 
LVL 118
ID: 41840898
You must always access the datastore via the HOST.

It's not advisable to edit directly.

And not too sure what you mean by editing VMDK to fix a snapshot!
0
 
LVL 118
ID: 41840899
You must always access the datastore via the HOST.

It's not advisable to edit directly.

And not too sure what you mean by editing VMDK to fix a snapshot!
0
 

Author Closing Comment

by:jskfan
ID: 41856178
Thank you Guys!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

863 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

27 Experts available now in Live!

Get 1:1 Help Now