Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

KVM Storage

Direct answer

KVM storage keeps VM disks as qcow2 or raw files, LVM volumes, NFS shares, iSCSI LUNs or Ceph RBD images, managed through libvirt storage pools and volumes (virsh pool-list, vol-list).

When to use this

Use this when choosing or troubleshooting storage for KVM VMs.

First 30 seconds

1. KVM storage via libvirt pools: dir, LVM, iSCSI, RBD, NFS, ZFS.

2. Formats: qcow2 or raw.

3. Use virtio-scsi/virtio-blk with cache=none (or writeback with care).

4. io=native or io_uring.

5. Back up disks with domain XML.

Operational verification

VM disk → libvirt pool → backend

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Pools not set to autostart, so VMs fail after a reboot (virsh pool-autostart <pool>).
  • Images created outside libvirt not visible until the pool is refreshed (virsh pool-refresh).
  • SELinux/AppArmor labels blocking images in custom paths.
Platform / version applicability
Hypervisor Storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformHypervisor Storage
Key commandvirsh domblklist vm01
Scope / prerequisiteUse this when choosing or troubleshooting storage for KVM VMs.
What next?2 suggested next steps
Child topics (this level)6
Evidence1
On this pageJump to a specific section
Evidence references

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.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • libvirt pools hold volumes of different types.
  • qcow2 is flexible, raw is fastest.
  • Shared storage is needed for live migration.
Key checks
  • virsh pool-list --all --details — pools
  • virsh vol-list <pool> — volumes
  • virsh domblklist <vm> --details — VM disks
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

KVM/libvirt storage is organised as pools (directories, LVM VGs, iSCSI targets, RBD pools, ZFS) containing volumes that become VM disks.

virsh pool-list --all
virsh pool-define-as images dir --target /var/lib/libvirt/images; virsh pool-start images; virsh pool-autostart images
virsh vol-list images
virsh domblklist vm1 --details
virsh domblkinfo vm1 vda

Use virtio-scsi or virtio-blk for performance, discard='unmap' for thin storage, and cache='none' with io='native' for most production disks.

ReferenceConfiguration & state1 section · depth on demand

Commands

virsh pool-list --all
virsh pool-info default
virsh vol-list default
virsh domblklist vm01
qemu-img info --backing-chain /var/lib/libvirt/images/vm01.qcow2

Pools can be directories, LVM volume groups, iSCSI targets, NFS, ZFS or Ceph RBD. Disk cache mode (none for most cases) and I/O mode (native/io_uring) affect performance and safety.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docHypervisor Storage current

Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Storage → KVM Storage. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%
Confirmation

Confirm action

Continue?