Pcornel
Virtualization · Hypervisor Architecture

Virtual Disk

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

Back to the Topic

Answer

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.

Remember

  • Thin disks need datastore free space.
  • Snapshot chains slow disks.
  • Format decides snapshot features.

First checks

  • virsh domblklist <vm> — disks and backing files
  • qemu-img info --backing-chain <file> — format, size and chain
  • Get-VHD <path> — Hyper-V VHDX info

Verify in this order

guest disk → controller → backing file/volume → storage

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/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=3429

Confirmation

Confirm action

Continue?