Storage · Storage Virtualization
Virtual Disks
Cheat sheet · https://pcornel.dk/topic.php?topic=4175
Answer
A virtual disk is a file or volume — VMDK, VHDX, qcow2, LVM volume, RBD image — that a VM sees as a physical disk. Its format and provisioning type affect performance, snapshots and space use.
Remember
- Formats: VMDK, VHDX, qcow2, RBD.
- Format affects snapshots and performance.
- Provisioning affects space.
First checks
qemu-img info --backing-chain <disk>— format/chainGet-VHD <path>— VHDXvmkfstools -q <disk>.vmdk— VMDK
Verify in this order
virtual disk → datastore/pool → physical
Where it usually breaks
First mismatch in provider/pool → virtual/logical disk → host/guest mapping → partition/filesystem → mount/drive → workload; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4175