Storage · Hypervisor Storage › KVM Storage
RAW
Cheat sheet · https://pcornel.dk/topic.php?topic=4213
Answer
RAW is a plain disk image with no metadata, one byte on disk per byte in the guest. It gives the best performance and simplicity for KVM, but snapshots depend on the underlying file system or LVM.
Remember
- No metadata overhead.
- No native snapshots.
- Use LVM or file system for snapshots.
First checks
qemu-img info <disk.raw>— rawdu -h --apparent-size <disk>; du -h <disk>— sparseqemu-img create -f raw -o preallocation=falloc <disk> 50G— preallocate
Verify in this order
raw → guest disk
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=4213