Use this when working with VMware virtual disk files and provisioning types.
VMDK
A VMDK is VMware's virtual disk, consisting of a small descriptor file and a -flat data file. It can be thin, lazy-zeroed thick or eager-zeroed thick, and snapshots add -delta files.
1. VMDK: descriptor + flat/delta files.
2. Thin, lazy zeroed, eager zeroed thick.
3. Max 62 TB.
4. Snapshots add deltas.
5. Inflate/convert via Storage vMotion.
VMDK → VMFS/NFS → backend
Context & applicabilityCommon mistakes · platform/version boundaries
- Thin disks without datastore monitoring.
- Eager-zeroed thick needed (FT, some clustering) but lazy-zeroed used.
- Independent persistent disks, which are skipped by snapshots and backups.
- Copying VMDKs with
cpinstead ofvmkfstools -i(thin disks become thick).
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- A VMDK is a descriptor plus a -flat data file.
- Thin, lazy-zeroed and eager-zeroed thick behave differently.
- Snapshots add -delta files that grow.
vmkfstools -D <disk>-flat.vmdk— locksGet-HardDisk -VM <vm> | ft Filename,CapacityGB,StorageFormat— formatvmkfstools -x check <disk>.vmdk— check
ReferenceHow it works1 section · depth on demand
Provisioning types
| Type | Space | First-write cost | Use |
|---|---|---|---|
| Thin | Grows on demand | Zeroing on first write | Default for most VMs |
| Lazy-zeroed thick | Reserved | Zeroing on first write | Legacy default |
| Eager-zeroed thick | Reserved and zeroed | None | FT, shared-disk clusters, some databases |
vmkfstools -i src.vmdk -d thin dst.vmdk clones and converts. Never delete the -flat.vmdk or descriptor separately.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A VMDK consists of a small descriptor file and a data file (-flat.vmdk, or -delta/-sesparse for snapshots).
| Format | Allocation | Notes |
|---|---|---|
| Thin | On write | Watch datastore overcommit |
| Thick lazy zeroed | Full size, zeroed on first write | Default thick |
| Thick eager zeroed | Full size, zeroed at creation | Required for FT and some clustering |
vmkfstools -D /vmfs/volumes/ds1/vm1/vm1.vmdk # lock owner information
vmkfstools -X 200G /vmfs/volumes/ds1/vm1/vm1.vmdk # grow (VM powered off or via vCenter)
vmkfstools -i src.vmdk -d thin dst.vmdk # clone/convert
Files of a VMDK
| File | Contents |
|---|---|
vm.vmdk | Descriptor (text) |
vm-flat.vmdk | Data |
vm-000001.vmdk | Snapshot delta descriptor |
vm-000001-sesparse.vmdk | Snapshot delta data |
Never edit or delete these by hand; use the vSphere Client or vmkfstools.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Storage → VMware Storage → VMDK. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%