VMware

This Question is Answered

2 "helpful" answers available (6 pts)
3 Replies Last post: Oct 29, 2008 12:21 PM by Dave.Mishchen…  

Virtual files and their purposes posted: Oct 29, 2008 9:34 AM

Click to view jmueske's profile Novice 8 posts since
Sep 17, 2008

Hi,

I've configured a Windows server with a 40GB local drive and 800GB data drive (virtual disk files with the *.vmdk extension). I can see these files in the datastore browser, see attached. However I also have some large files taking up space which are weird sizes. I suspect they have to do with the snapshot I've taken, can someone confirm this? The suspicious files are circled.

Regards,

John

Attachments:

Re: Virtual files and their purposes

1. Oct 29, 2008 11:24 AM in response to: jmueske
Click to view Dave.Mishchenko's profile Guru 8,943 posts since
Nov 15, 2005
The vswp file is the memory swap file for the VM. The file is created when you power on a VM and is equal to the memory of the VM minus any memory reservation that you have set. ESXi will use this file should it need to swap contents of the VMs memory to disk should the ESXi host run low on physical memory. The other vmdk files are snap shots and in general you don't want to run them for a long time or let them grow that large.

Re: Virtual files and their purposes

3. Oct 29, 2008 12:21 PM in response to: jmueske
Click to view Dave.Mishchenko's profile Guru 8,943 posts since
Nov 15, 2005
Snapshots are a good way to do backup and they're great it you want to rollback from a change / patch / etc. My concern was over the size the of snapshot - i.e. 270 GB snapshot file on your 800 GB vmdk. At some point you'll want to commit the snapshot and if something screws up there seems to have been a lot of data that will have changed. Plus the snapshot will take a very long time to commit back to the main vmdk.

The vmsn file by the way is a snapshot of the memory of the VM when you took the snapshot. If you were to revert back to the snapshot then the VM would load up the memory file and the VM would start exactly as it was when you took the snapshot.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities