Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Storage Troubleshooting

Direct answer

Virtual Storage Troubleshooting isolates VM I/O failures by tracing the exact operation from guest application and filesystem through virtual device, image/provisioning and host storage layers to the backend and completion path.

When to use this

Use it for missing disks, read/write errors, out-of-space events, high latency, stalled I/O or inconsistent performance without jumping directly to the physical storage backend.

First 30 seconds

1. Start with the VM state: paused on I/O error = storage full or lost.

2. Check host logs.

3. Check capacity and thin pools.

4. Check latency and paths.

5. Check guest filesystem.

Operational verification

guest error → host I/O → path → storage

Evidence · next step

Run representative regression I/O, verify capacity headroom and preserve before/after evidence.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show unrelated disks, paths, snapshots, VMs or failure scenarios are healthy.

Next check: Run representative regression I/O, verify capacity headroom and preserve before/after evidence.

Platform / version applicability
virtualization-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.

Platformvirtualization-storage · Proxmox VE
Key commandpvesm status
Scope / prerequisiteUse it for missing disks, read/write errors, out-of-space events, high latency, stalled I/O or inconsistent performance…
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Virtualization command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

problem definition → guest evidence → virtual device mapping → image/provisioning state → host/datastore/pool evidence → backend path → return/completion → application

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
Key points
  • A disk visible in the guest does not prove reads/writes can complete.
  • A datastore or pool showing online does not prove capacity, path or latency health.
  • An out-of-space symptom must be localized because guest, image, datastore, thin pool and backend capacity are different boundaries.
  • A performance symptom must correlate latency, IOPS and queueing over the same time window.
Key checks
  • virsh domstate <vm> --reason — paused: I/O error?
  • dmesg | grep -i -e 'i/o error' -e blk — host I/O errors
  • df -h; lvs — space and thin pools
ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

A successful check at one storage boundary shows only that boundary for the tested operation; it must not be promoted into evidence that the entire VM storage path is healthy.

When the first failing step is identified, continue in the specialist branch: guest OS/filesystem, VM Hardware, image/provisioning, Storage backend, clustering/migration or platform-specific storage.

In depth

Layer the investigation

LayerQuestionCommand (KVM/Proxmox host)
GuestIs the guest file system full or erroring?df -h, dmesg \| grep -i error in the guest
Virtual diskImage healthy, chain intact, size as expected?qemu-img info --backing-chain, qemu-img check -U
Storage poolPool online, space left?pvesm status, virsh pool-list --details
Thin layerThin pool data/metadata usagelvs -a -o+data_percent,metadata_percent
ZFS / CephPool healthzpool status -x, ceph -s
PhysicalDisk errors, path failuresdmesg, smartctl -a, multipath -ll

A VM paused with I/O error

# virsh domstate web01 --reason
paused (I/O error)

QEMU pauses the guest instead of passing write errors on (werror=stop), protecting guest file systems. The usual cause is a full thin pool or a full file system holding qcow2 files. Free space or extend the pool, then virsh resume web01 (qm resume 101).

Thin pool full — the dangerous one

lvs -o lv_name,data_percent,metadata_percent pve/data
  data   100.00  42.10
lvextend -L +200G pve/data            # needs free space in the VG

Metadata at 100 % is worse than data at 100 % and can corrupt the pool; monitor both and set thin_pool_autoextend_threshold where free VG space exists.

qcow2 image problems

The qemu-img reference documents check with repair modes and convert between formats. Leaked clusters after a host crash are harmless and fixed with qemu-img check -r leaks; real corruption calls for restoring from backup rather than -r all on the only copy — make a copy first if you try repair.

Performance-type storage problems

Latency spikes show as high await in iostat -x 1 on the host and in the guest at the same time. If only the guest is slow, look at the virtual disk configuration (cache mode, VirtIO SCSI vs IDE, iothread).

*The paused-domain state and LVM thin-pool utilization above are illustrative examples, not captured from a lab or production host.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

SymptomCheck
VM paused / I/O errorDatastore full, storage path lost
Slow disk in one VMEmulated controller, IOPS limit, snapshot chain, guest-side issue
Slow disks in many VMs on one datastoreArray/LUN latency (DAVG), noisy neighbour, rebuild
Disk not growing after resizePartition/filesystem not extended inside guest
Thin disk never shrinksDiscard not enabled end to end
qm config 120; virsh domblkerror vm1
esxtop (u, v)
Get-VMHardDiskDrive vm1 | Get-VHD
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 docvirtualization-storage current

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

Basis: https://libvirt.org/storage.html · confidence 94%
Terminology layer

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.

Aliases that resolve here
vm storage troubleshootingvirtual disk troubleshootinghypervisor storage troubleshootingvm disk slow
Embedded reference data

Quick lookup tables

Virtual Storage → Storage Troubleshooting reference map

Fast virtual-storage boundaries for Virtual Storage → Storage Troubleshooting.

BoundaryMeaningEvidence limit
Guestfilesystem/block/errorStart boundary
Virtualizationcontroller/image/provisioningVM boundary
Hostdatastore/pool/pathHost boundary
Backendstorage service/mediaPersistence boundary
Confirmation

Confirm action

Continue?