Use this when choosing a VM disk format or provisioning type, or when a virtual disk is slow, full or corrupt.
Virtual Disk
A virtual disk is a file or volume (VMDK, VHDX, qcow2, raw, LVM, Ceph RBD) presented to the VM as a disk through a virtual controller. It can be thick or thin provisioned and supports snapshots depending on format.
1. A virtual disk is a file (qcow2, raw, VHDX, VMDK) or a volume (LVM, RBD, LUN).
2. Check format, size and backing chain.
3. Thin disks can overfill storage.
4. Use PV controllers.
5. Back up consistently.
guest disk → controller → backing file/volume → storage
Context & applicabilityCommon mistakes · platform/version boundaries
- Thin disks overcommitting storage without monitoring.
- Snapshots used as long-term backups, slowing every write.
- Wrong format for the platform (converting VMDK ↔ QCOW2 ↔ VHDX without checking boot controller drivers).
- Discard/UNMAP not enabled, so deleted guest data never frees host space.
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.
- Thin disks need datastore free space.
- Snapshot chains slow disks.
- Format decides snapshot features.
virsh domblklist <vm>— disks and backing filesqemu-img info --backing-chain <file>— format, size and chainGet-VHD <path>— Hyper-V VHDX info
ReferenceHow it works1 section · depth on demand
Formats and provisioning
| Format | Platform | Notes |
|---|---|---|
| VMDK | VMware | Thin, lazy-zeroed or eager-zeroed thick |
| VHDX | Hyper-V | Fixed or dynamic, up to 64 TB |
| qcow2 | KVM/QEMU | Thin, snapshots, backing files |
| raw / LVM / Ceph RBD / ZFS zvol | KVM, Proxmox | Best performance, snapshots by the storage layer |
Thin disks save space but can overcommit the datastore. Convert between formats with qemu-img convert -O qcow2 disk.vmdk disk.qcow2 or StarWind/Microsoft converters.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
A virtual disk is a file or volume presented to the guest as a disk through a virtual controller.
| Format | Platform | Features |
|---|---|---|
| VMDK | VMware | Thin/thick, snapshots as delta disks |
| VHDX | Hyper-V | Dynamic/fixed/differencing, 64 TB |
| qcow2 | QEMU/KVM | Thin, internal snapshots, backing files |
| raw / zvol / LV / RBD | KVM/Proxmox | Fastest; snapshots from storage layer |
Performance depends more on controller type (paravirtual), the backing storage and caching mode than on the format.
ReferenceConfiguration & state1 section · depth on demand
Converting formats
qemu-img convert -p -f vmdk -O qcow2 disk.vmdk disk.qcow2
qemu-img convert -p -f vhdx -O raw disk.vhdx disk.raw
Convert-VHD -Path disk.vhd -DestinationPath disk.vhdx # Hyper-V
Documented example, not captured output. Install paravirtual drivers (virtio, VMware Tools, Hyper-V integration) before or right after moving a VM to another platform.
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 Architecture → Virtual Disk. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%