[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 9744
  • Last Modified:

Manually deleting Snapshot File from Datastore

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
jskfan
Asked:
jskfan
  • 4
  • 4
  • 3
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
AbhilashCommented:
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
 
jskfanAuthor Commented:
Sometimes, VMs run on a snapshot , but the snapshot does not show up in the Snapshot Manager...
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
AbhilashCommented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
jskfanAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Consolidating Snapshots, a nice feature to have in ESXi 5.x, does not always work!
0
 
jskfanAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
AbhilashCommented:
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
 
jskfanAuthor Commented:
Thank you
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

  • 4
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now