Pcornel
Virtualization · Virtual Storage

VMDK

Cheat sheet · https://pcornel.dk/topic.php?topic=3512

Back to the Topic

Answer

VMDK is a VMware virtual disk descriptor/data format family used to represent VM block storage, with exact layout and feature behavior depending on VMware product and disk type.

Remember

  • VMDK refers to a format family and can involve descriptor plus backing data objects depending on layout.
  • VMDK presence does not prove the datastore is healthy or the VM is using that particular file.
  • Provisioning type is a separate property from the VMDK identity.
  • Snapshot/delta relationships must be verified before manual file operations.

First checks

  • vmkfstools -D <disk>-flat.vmdk — lock owner
  • vmkfstools -x check <disk>.vmdk — check VMDK
  • qemu-img info <disk>.vmdk — read VMDK elsewhere

Verify in this order

descriptor → extents → VMFS/NFS → guest

Where it usually breaks

First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.

Virtual Storage → VMDK reference map

BoundaryMeaningEvidence limit
VM attachmentactive disk mappingUsage proof
Descriptor/dataformat objectsLayout dependent
Datastorestorage namespaceCapacity/access
Backendunderlying storagePersistence

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3512

Confirmation

Confirm action

Continue?