python精要(71)-VMDK读写(1)

VMDK(VMWareVirtual Machine Disk Format)是虚拟机VMware创建的虚拟硬盘格式,文件存在于VMware文件系统中,被称为VMFS(虚拟机文件系统)。一个VMDK文件代表VMFS在虚拟机上的一个物理硬盘驱动。所有用户数据和有关虚拟服务器的配置信息都存储在VMDK文件中。
通常而言,VMDK文件容易比较大,所以,2TB大小的文件都不足为奇。正因为如此,他们被描述为“大的、块级I/O模式”。任何用户数据变化或虚拟服务器配置变化,VMDK文件都要更新。由于VMDK没有增量类型数据获取功能,任何对文件的更改意味着整个文件需要重新备份。

libvmdk is a library to access the VMware Virtual Disk (VMDK) format.

Project information:

Status: alpha
Licence: LGPLv3+
Read supported extent file formats:

RAW (flat)
COWD version 1 (sparse)
VMDK version 1, 2 and 3 (sparse)
Supported VMDK format features:

delta links
grain compression (as of version 20131209)
data markers (as of version 20140416)
VMDK format features not supported at the moment:

images that use a physical device
changed block tracking (CBT) (supported by VMDK version 3 (sparse)) / change tracking file
Work in progress:

Dokan library support
Thread-safety in handle API functions

pip install libvmdk-python

上一篇:【VSCode】from origin ‘null‘ has been blocked by CORS policy: Cross origin requests are only supported


下一篇:Linux运维---几个常用的Linux 查看系统硬件信息命令