ALCAT的专栏

点滴记录,时刻进步!

VMware文件类型说明

最近一直在做VMware方面的开发,将Vmware的相关文件类型做个说明,方便查阅。

文件类型 说明 格式
.vmx 配置文件 ASCII
.vmxf 附件的配置文件 ASCII
.vmdk 磁盘文件 ASCII
.flat.vmdk 预先分配的二进制格式的磁盘文件 Binary
.vswp 交换文件  
.nvram 保存虚拟机的BIOS信息  
.vmss suspend文件(虚拟机挂起时才产生)  
.log 日志文件 ASCII
#.log 过时的日志文件。#是从1开始的整数 ASCII
如果虚拟机还做了快照,则会产生另外的一些文件。

文件类型 说明 格式
.vmsd 存放快照的元数据和其他信息等  
.vmsn 快照数据文件  
**.delta.vmdk 快照文件,也可理解为redo-log文件  
**.vmdk 磁盘文件  
-Snapshot#.vmsn 快照状态文件,保存创建快照时虚拟机的状态  



下面是官网上的一篇文章,讲的更加详细点:

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

What Files Make Up a Virtual Machine?

You may never need to know the file names or locations for your virtual machine files. Virtual machine file management is performed by VMware Workstation. If the behind the scenes file structure is not interesting to you, skip this section.

A virtual machine typically is stored on the host computer in a set of files, usually in a directory created by Workstation for that specific virtual machine.

The key files are listed here by extension. In these examples, <vmname> is the name of your virtual machine


Extension

File Name

Description

.log

<vmname>.log

or

vmware.log

This is the file that keeps a log of key VMware Workstation activity. This file can be useful in troubleshooting if you encounter problems. This file is stored in the directory that holds the configuration (.vmx) file of the virtual machine.

.nvram

<vmname>.nvram

or

nvram

This is the file that stores the state of the virtual machine's BIOS.

.vmdk

<vmname>.vmdk

This is a virtual disk file, which stores the contents of the virtual machine's hard disk drive.

A virtual disk is made up of one or more .vmdk files. If you have specified that the virtual disk should be split into 2GB chunks, the number of .vmdk files depends on the size of the virtual disk. As data is added to a virtual disk, the .vmdk files grow in size, to a maximum of 2GB each. (If you specify that all space should be allocated when you create the disk, these files start at the maximum size and do not grow.) Almost all of a .vmdk file's content is the virtual machine's data, with a small portion allotted to virtual machine overhead.

If the virtual machine is connected directly to a physical disk, rather than to a virtual disk, the .vmdk file stores information about the partitions the virtual machine is allowed to access.

Earlier VMware products used the extension .dsk for virtual disk files.

<diskname>-<###>.vmdk

This is a redo-log file, created automatically when a virtual machine has one or more snapshots. This file stores changes made to a virtual disk while the virtual machine is running. There may be more than one such file. The ### indicates a unique suffix added automatically by VMware Workstation to avoid duplicate file names.

.vmsd

<vmname>.vmsd

This is a centralized file for storing information and metadata about snapshots.

.vmsn

<vmname>-Snapshot.vmsn

This is the snapshot state file, which stores the running state of a virtual machine at the time you take that snapshot

<vmname>-Snapshot<###>.vmsn

This is the file which stores the state of a snapshot

.vmss

<vmname>.vmss

This is the suspended state file, which stores the state of a suspended virtual machine

.Some earlier VMware products used the extension .std for suspended state files

.vmtm

<vmname>.vmtm

This is the configuration file containing team data.

.vmx

<vmname>.vmx

This is the primary configuration file, which stores settings chosen in the New Virtual Machine Wizard or virtual machine settings editor. If you created the virtual machine under an earlier version of VMware Workstation on a Linux host, this file may have a .cfg extension

.vmxf

<vmname>.vmxf

This is a supplemental configuration file for virtual machines that are in a team. Note that the .vmxf file remains if a virtual machine is removed from the team.

There can be other files in the directory, some of which are present only while a virtual machine is running.



阅读更多
个人分类: VMware
想对作者说点什么? 我来说一句

VMware vSphere 6.5 产品介绍与说明

2017年12月22日 79KB 下载

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭