Solved

Deleting Snapshot

Posted on 2016-10-07
10
128 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
[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
  • 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 121

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) 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 23

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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

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 23

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
 
LVL 121
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 121
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 121
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

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

707 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