VMware Files Explained: VMDK, VMEM, VMSN, VMSD, VMX & More   1 comment


When using VMware Server & Workstation, you will, at some point, go to the directory where your VMware virtual machines are stored. Inside this directory, you will see a number of strange files and you will probably wonder what they are and what they do. Now, you can stop wondering and find out.

Directory Listing

Below, you’ll see a typical VMware directory listing of a folder where VMware virtual machines are stored.

Here is the command prompt version of the same directory listing:

In this directory, you’ll notice a number of different files types. There are log files, vmdk files, vmem files, vmsn, nvram, vmsd, and vmx files. In fact, there may be other types of files. Some of these files are very small, while others are very large. Let’s learn about each of these VMware files.

Files you should know

Log files – Log files are just that- a log of virtual server activity for a single virtual server. Here is an example of what a log file looks like:

Log files should be used only when you are having trouble with a virtual machine.

VMDK files – VMDK files are the actual virtual hard drive for the virtual guest operation system (virtual machine / VM). You can create either dynamic or fixed virtual disks. With dynamic disks, the disks start small and grow as the disk inside the guest OS grows. With fixed disks, the virtual disk and guest OS disk start out at the same (large) disk. For more information on monolithic vs. split disks see this comparison from sanbarrow.com.

VMEM – A VMEM file is a backup of the virtual machine’s paging file. It will only appear if the virtual machine is running, or if it has crashed.

VMSN & VMSD files – these files are used for VMware snapshots. A VMSN file is used to store the exact state of the virtual machine when the snapshot was taken. Using this snapshot, you can then restore your machine to the same state as when the snapshot was taken. A VMSD file stores information about snapshots (metadata). You’ll notice that the names of these files match the names of the snapshots.

NVRAM files – these files are the BIOS for the virtual machine. The VM must know how many hard drives it has and other common BIOS settings. The NVRAM file is where that BIOS information is stored.

VMX files – a VMX file is the primary configuration file for a virtual machine. When you create a new virtual machine and answer questions about the operating system, disk sizes, and networking, those answers are stored in this file. As you can see from the screenshot below, a VMX file is actually a simple text file that can be edited with Notepad. Here is the “Windows XP Professional.vmx” file from the directory listing, above:

You can actually download VMX files, based on answers you create, from the Internet. Here are some websites that allow you to do this: EasyVMX! VM Builder vmx-builder.cmd

In summary, it is important to know the different types of VMware files. You never know when you need to edit a configuration file manually. Or, perhaps, you just want to know why a certain file is taking up so much disk space. Either way, this guide to VMware disk values should be kept handy. Of particular interest are VMX files and VMDK files. Both of these can be downloaded from the Internet to instantly create a complete virtual server. For more information, see this VMware article explaining what files make up a virtual machine.

Advertisements

Posted 18/07/2012 by Petri in VMware

One response to “VMware Files Explained: VMDK, VMEM, VMSN, VMSD, VMX & More

Subscribe to comments with RSS.

  1. hey thanks for the info. I’m trying to run an old game from back in the old windos 3.11 days. so I’ve got oracle Virtual box on my machine to run the old operating system on. I downloaded a copy from a file share(I know its stupid and could be a virus, so I have containment protocols in place) but its a bunch of files with extension like “vmdk, vmem, vmsn, nvram, vmdk, vmsd, vmx and vmxf. There is no setup file or executable in the package so I’m not sure what all I am looking at. could you help a brother out?

    Gregory Powell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: