VMware

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
13 Replies Last post: May 5, 2008 7:09 PM by ntmtvtd  

Looking for detailed information on VM files posted: Sep 22, 2007 2:55 PM

Click to view esiebert7625's profile Guru 6,794 posts since
Oct 23, 2006
I'm looking for any detailed information on the below files that are created with the VM. I already know basically what they are I'm just looking for more information about them. Thanks

*.vmxf file – VM Team information will be stored in this file

*.vmsd file – File to store metadata and information about snapshots

*.vmsn file - Created with snapshots, this file can be large or small based on if you snapshot the VM's memory

Also on the .vmss file, I know this is the suspend file created to save the VM's state. Why is this file not deleted automatically when the VM is powered back on? In my testing it is not deleted until you actually power off the VM and power it back on after it is brought out of the suspend state.
Click to view Abaronov's profile Hot Shot 91 posts since
Oct 13, 2006
This link might help:

http://www.vmware.com/support/ws5/doc/ws_learning_files_in_a_vm.html

What do you mean by 'detailed information'?
Are you looking for the file format?

Thanks,
Andrei
Click to view JonT's profile Hot Shot 174 posts since
Feb 23, 2006
The .vmss file will be kept until the VM sucessfully comes out of the supspended state. That way if for some reason it gets powered back off before fully shutting down, it will still be able to resume from the "suspended" state.

I had an older issue with MS Virtual Server where I would shutdown a VM and it would automatically go into a suspended state but that was a different issue from what you are asking.
Click to view deepu_cherian@ml.com's profile Novice 12 posts since
Nov 8, 2004
Eric,

That was a very useful message. Thanks for your effort in putting this together.
Click to view ntmtvtd's profile Novice 11 posts since
Mar 7, 2008
So if the *-flat.vmdk files is roughly the same space as your virtual hard drive, does that mean it takes up double the space?

Re: Looking for detailed information on VM files

8. Apr 24, 2008 9:53 PM in response to: ntmtvtd
Click to view Rumple's profile Master 1,264 posts since
Jan 6, 2005
the flat.vmdk file IS you disk file...

Re: Looking for detailed information on VM files

9. Apr 25, 2008 12:59 PM in response to: Rumple
Click to view ntmtvtd's profile Novice 11 posts since
Mar 7, 2008
when i browse the datastore, it shows values for both files. it confuses me in that it leads me to believe that more space is being used up on the SAN than necessary.
Click to view mikeVM's profile Lurker 1 posts since
Apr 30, 2008
I'm new to the ESX environment and have run into a problem starting a guest. I'm getting 'insufficient disk space in datastore'. When I browse the datastore, I see several vmdk files of the guest, plus a vmware-vmz-zdump.0 file along with some snapshots and logs. I deleted the snapshots and logs and am looking to purge anything else that I can in order to free up space so I can start the guest. Should I purge the zdump file and any of the vmdk's?

Re: Looking for detailed information on VM files

11. Apr 30, 2008 10:28 AM in response to: ntmtvtd
Click to view wila's profile Virtuoso 3,266 posts since
Jun 27, 2006
It's a known bug, the databrowser mistakenly shows the metadata file (the file without -flat) as if it has the same size as what it declares internally in the meta data.

FWIW, it seems to be fixed if you are on 3.5 as it doesn't show the -flat file anymore as a separate file. A bit of a funky fix, but at least it doesn't confuse users anymore.

--
Wil

Re: Looking for detailed information on VM files

12. Apr 30, 2008 6:44 PM in response to: mikeVM
Click to view Ken.Cline's profile Champion 5,146 posts since
Jul 7, 2004
mikeVM wrote:
I'm new to the ESX environment and have run into a problem starting a guest. I'm getting 'insufficient disk space in datastore'. When I browse the datastore, I see several vmdk files of the guest, plus a vmware-vmz-zdump.0 file along with some snapshots and logs. I deleted the snapshots and logs and am looking to purge anything else that I can in order to free up space so I can start the guest. Should I purge the zdump file and any of the vmdk's?

You can trash the zdump file (it's vmware-vmx-zdump.0) - it's related to a failed attempt to remove a snapshot, and since you've already deleted the snapshot files, no harm in deleting the zdump, either. If you want to keep your VMs, then DO NOT delete the .vmdk files - those are your virtual machine's disk drives. If you delete them, you're effectively deleting the guts of your VM (the .vmx file contains the metadata that describes the VM - without the .vmdk files (which are still referenced in the .vmx), the VM will not power on).

Ken Cline
Technical Director, Virtualization
Wells Landers
VMware Communities User Moderator

Re: Looking for detailed information on VM files

13. May 5, 2008 7:09 PM in response to: wila
Click to view ntmtvtd's profile Novice 11 posts since
Mar 7, 2008
Thanks for clearing that up wila :D

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