Use it when simplicity, direct block layout or compatibility with block-backed workflows is desired and advanced image-format metadata features are unnecessary.
RAW · Virtual Storage
RAW is a virtual disk image representation with a simple byte-for-byte block layout and little or no image-format metadata beyond the storage object that contains the blocks.
1. RAW: simplest and fastest file format.
2. No internal snapshots — use storage snapshots.
3. Can be sparse on filesystems.
4. Best on LVM/ZFS/RBD.
5. Copy with --sparse=always.
raw file/volume → guest disk
Verify backing allocation, capacity headroom and required protection features at adjacent layers.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show direct hardware access, full allocation, better performance or independent snapshot capability.
Next check: Verify backing allocation, capacity headroom and required protection features at adjacent layers.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
VM attachment → raw object identity → offset/capacity mapping → host/backend I/O → guest verification
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.
- RAW image format is not the same as raw physical device passthrough.
- A sparse RAW file can still be thin at the host filesystem layer even though the image format itself is simple.
- RAW does not inherently provide snapshots, compression or checksums as image-format features.
- Simple format does not guarantee better end-to-end performance.
qemu-img info <disk.raw>— raw formatdu -h --apparent-size <disk.raw>; du -h <disk.raw>— sparse vs apparent sizefallocate -l 50G <disk.raw>— preallocate
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
RAW format ≠ raw hardware passthrough ≠ fully allocated ≠ faster.
When RAW fits
- Best raw performance on KVM with no format overhead.
- On LVM, ZFS zvols or Ceph RBD, where the storage layer provides snapshots.
- Not on plain file systems if you need snapshots — use QCOW2 there.
In depth
Raw images have no metadata: block N of the file is block N of the disk. They are the fastest file format, simple to inspect and convert, and the native format for block-backed storage (LVM, zvol, RBD) in Proxmox.
qemu-img create -f raw vm.raw 100G # sparse on most filesystems
losetup -fP --show vm.raw; lsblk /dev/loop0 # inspect partitions offline
Without format-level snapshots, raw files rely on the storage layer (ZFS, LVM-thin, Btrfs reflinks, NAS snapshots) for point-in-time copies.
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 Virtual Storage → RAW. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/storage.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Virtual Storage → RAW reference map
Fast virtual-storage boundaries for Virtual Storage → RAW.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Format | simple block layout | Minimal metadata |
| File-backed | may be sparse | Filesystem controls allocation |
| Block-backed | device/LV object | No file layer |
| Features | external mechanisms | Snapshots etc. separate |