Solved

Manually deleting Snapshot File from Datastore

Posted on 2014-02-16
11
5,804 Views
Last Modified: 2014-02-19
When Deleting snapshot from Snapshot Manager for a certain VM, the Delta changes will get committed to the main Disk file of the VM.

I wonder when manually browsing to the DataStore then deleting the snapshot file , whether the changes will be committed to the main disk file of the VM…

Thanks
0
Comment
Question by:jskfan
  • 4
  • 4
  • 3
11 Comments
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 39863660
NO, NO, NO, NO!

I wonder when manually browsing to the DataStore then deleting the snapshot file , whether the changes will be committed to the main disk file of the VM…

No they will not be committed!, you should never, never, never, delete the snapshots file manually. The changes will not be committed, and the Parent VMDK, and Virtual machine WILL BE CORRUPTED!!!!

All changes in the DELTA file will be lost forever!

Please see my EE Article

HOW TO: VMware Snapshots :- Be Patient

Experiment and try it, on a test virtual machine, not a production machine!?

Post you findings here.....
0
 
LVL 13

Expert Comment

by:Abhilash
ID: 39863720
Do not delete a snapshot file manually.
Only snapshot manager understands these files and has the functionality that will affect it. If you manually delete them then there will be no way to recover the data.

Since you are just wondering, NO, it won't work and its a good way of messing around with a machine which is running well.
0
 

Author Comment

by:jskfan
ID: 39863888
Sometimes, VMs run on a snapshot , but the snapshot does not show up in the Snapshot Manager...
0
 
LVL 13

Expert Comment

by:Abhilash
ID: 39864001
There is a KB Article which explains how to commit/delete them when they don't show up in snapshot manager.
Do not delete them manually at any cost
This is the KB that will help you with a situation when they don't show up in manager
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002310
0
 
LVL 118
ID: 39864126
That is correct, because the Backup Application has FAILED to remove the snapshot, and that's really as bug, but it's a very common issues.

see my EE Article

HOW TO: VMware Snapshots :- Be Patient
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:jskfan
ID: 39865918
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2003638

I found this above article and Video..I thought it is related to what I am looking for
0
 
LVL 118
ID: 39865928
Consolidating Snapshots, a nice feature to have in ESXi 5.x, does not always work!
0
 

Author Comment

by:jskfan
ID: 39865980
because the link below posted by Abhilash Hb, is not really clear the way they describe the Resolution:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002310
0
 
LVL 118
ID: 39866003
How you resolve a snapshot issue, which does not appear, in Snapshot Manager, or refuses to consolidate is as follows:-

1. Take a Snapshot.
2. Wait 60 seconds.
3. Delete ALL the Snapshot in Snapshot Manager.

(done).

If that does not work, or Consolidate does not work, more work is required.

BUT, if you find yourself with A SNAPSHOT, and not sure how to handle or have the confidence to deal with it yourself, I would suggest posting here on EE, of support call to VMware.
0
 
LVL 13

Accepted Solution

by:
Abhilash earned 250 total points
ID: 39866411
This is all you need from the KB. Read the Resolution bit of it

Creating a new snapshot and deleting it clears the entire hierarchy. This means that all snapshot files on the virtual machine are committed, then deleted

A small amount of free space is required to create the new snapshots. If the virtual machine needs to remain running, more space must be allowed for because the new snapshot grows (accepting new changes to the virtual disks) as the older snapshots commit.
0
 

Author Closing Comment

by:jskfan
ID: 39870002
Thank you
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
"Error while attempting to connect to View Composer" 4 223
Generate a clone from a snapshot in ESXi 5.5 2 66
iscsi device with 0 LUN ID 2 55
Vsphere 6.0 or 6.5? 15 26
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
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…

910 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

22 Experts available now in Live!

Get 1:1 Help Now