Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Snapshot 's and VMDK files

Hi,

I have a couple of questions

1. I would request someone to kindly give me a description of the differences between the files highlighted in the first attachment which is VM-files.
2. In the second attachment it shows a vm's snapshot manager. What does it actually mean. Is all my current configuration residing on snapshot. What happens if I delete it or revert to a step above?
3. How do I clean the VM folder and put it free from unnecessary logs.
VM-files.PNG
Snapshot-manager.PNG
0
Druva Simha Kolli
Asked:
Druva Simha Kolli
  • 5
  • 3
1 Solution
 
Druva Simha KolliSr. IT Systems AnalystAuthor Commented:
I know this is a very basic question here. but it always confuses me. So request you to kindly explain the difference and which vmdk file and snapshot file does my current configuration reside on? And also what is the best practice.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
1. see below

vSWP - these are memory swap files, which are created when you power up a VM, a file is created which is the same size as RAM allocated to the VM, or it's Memory reservation, memory is swapped to these files, should paging occur, they are no snapshot files.

the files -00001.vmdk and -00002.vmdk are the Delta Files, e.g. the Snapshot files of changes that are occuring in the VM. You have a parent disk and a child disk (delta or snapshot)

*.vmsn is the snapshot of memory, in the VM, at the time the VM was snapshotted, if you ticked that button.

2. If you Revert a Snapshot, you will go back in time to that VM, at it's creation, discarding all recent changes.

3. There is no real need to get into the folder, and change or remove files. If you do, you could accidentally delete a file which is required.

As for best practice, do not leave a VM on a snapshot for long (2 days), when a VM is running on a snapshot, performance is poor.

Also see my EE Article I wrote

HOW TO: VMware Snapshots :- Be Patient
0
 
Druva Simha KolliSr. IT Systems AnalystAuthor Commented:
Thanks a lot Hancock. I will go through the link..
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Druva Simha KolliSr. IT Systems AnalystAuthor Commented:
How do I make sure the VM does not run on the snapshot after the latest configuration changes? And when I revert I want to preserve the latest configuration changes.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You go to Snapshot Manager, and Click DELETE ALL. (that will remove all the snapshots) and maintain the latest configuration.

or Revert to a Snapshot, and then Select DELETE the Snapshot.
0
 
Druva Simha KolliSr. IT Systems AnalystAuthor Commented:
I will like to retain the existing configuration so I will go with the CLICK DELETE ALL.

Thanks a ton Andrew.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That will certainly do it.
0
 
Druva Simha KolliSr. IT Systems AnalystAuthor Commented:
Thank you.. Will get back..
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

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