?
Solved

Manually deleting Snapshot File from Datastore

Posted on 2014-02-16
11
Medium Priority
?
8,447 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
[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
  • 4
  • 3
11 Comments
 
LVL 122

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1000 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
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 122
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
 

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 122
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 122
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 1000 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

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

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

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.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

770 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