Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Disk Full

Direct answer

Treat capacity as layered: guest filesystem free space → virtual disk logical size → image/snapshot allocation → datastore/thin pool → backend storage capacity/reservation.

When to use this

Use it when the symptom is “Disk Full”: work through the layers in order and stop at the first one that fails.

First 30 seconds

1. Disk full: guest filesystem or host storage?

2. Host full pauses VMs (I/O error).

3. Free space: delete snapshots, old images, move disks.

4. Then resume VMs.

5. Add alerts.

Operational verification

guest writes → disk → host storage

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

A “disk full” symptom is ambiguous until the exhausted layer is identified; free space at one layer does not show capacity at the next.

Platform / version applicability
virtualization
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 · Linux
Key commanddf -hT
Scope / prerequisiteUse it when the symptom is “Disk Full”: work through the layers in order and stop at the first one that fails.
Verify · 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

Guest filesystem → virtual disk logical allocation → image/snapshot chain → datastore/thin pool → backend capacity → write completion

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
  • Guest disk full ≠ datastore full; either layer can exhaust independently.
  • Guest free space ≠ reclaimable backend space unless discard/TRIM, image format and storage support align.
  • Thin virtual disk logical capacity ≠ physically reserved capacity.
  • Deleting a snapshot ≠ immediate free space if merge/consolidation still needs temporary capacity or has not completed.
Key checks
  • df -h — in guest
  • pvesm status; lvs — host storage/thin pool
  • virsh domstate <vm> --reason — paused: ENOSPC
ReferenceHow it works1 section · depth on demand

How it works

Path: Virtualization → Virtualization Troubleshooting → Disk Full. Local intent: Disk Full distinguishes guest filesystem exhaustion from virtual-disk limits, snapshot growth, thin-provisioning exhaustion and datastore or storage-pool capacity problems.

ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

A “disk full” symptom is ambiguous until the exhausted layer is identified; free space at one layer does not show capacity at the next.

In depth

Which "disk" is full?

LayerCheckFull means
Guest file systemdf -h / ExplorerApplication errors inside the VM
Virtual diskqemu-img info virtual sizeGuest cannot grow beyond it
Image file storage (qcow2 on ext4/xfs/NFS)df -h /var/lib/libvirt/imagesImages cannot grow → VMs pause with I/O error
Thin pool (LVM-thin)lvs -o+data_percent,metadata_percentAll thin VMs on the pool pause
ZFS poolzfs list -o spaceWrites fail; ZFS needs free space to operate well (keep < 80 %)
Cephceph df, ceph osd dfAt full ratio writes stop for the pool

Virtual size vs. allocated size

$ qemu-img info web01.qcow2
virtual size: 100 GiB (107374182400 bytes)
disk size: 61.3 GiB

The qemu-img documentation describes info reporting both. Thin images only consume what was written; the sum of virtual sizes on a datastore can exceed its capacity (over-provisioning) — safe only with monitoring.

Reclaim space with discard/TRIM

Deleted files inside the guest stay allocated on thin storage unless discard reaches it:

StepConfiguration
Virtual disk passes discardProxmox discard=on (VirtIO SCSI), libvirt <driver discard='unmap'/>
Guest sends TRIMLinux fstrim -av (or fstrim.timer), Windows Optimize Drives
Storage supports itLVM-thin, ZFS, Ceph RBD, qcow2 — yes

Growing a guest disk safely

qm resize 101 scsi0 +20G                      # Proxmox
virsh blockresize web01 vda 120G              # libvirt (live)
# then inside the guest: growpart /dev/sda 1 && resize2fs /dev/sda1   (or xfs_growfs /)

Shrinking is not symmetrical — it requires shrinking the file system first and is risky; prefer creating a new smaller disk and copying.

Snapshots and backups consume space too

Old snapshots and local backup archives are the most common surprise consumers — check qm listsnapshot, zfs list -t snapshot and /var/lib/vz/dump before buying disks.

*The virtual disk size and expansion commands 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

Disk full — two different problems:

Where fullEffectFix
Inside the guest filesystemApp errors, guest OS issuesClean up or grow the virtual disk, then partition/filesystem
Datastore / storage poolVMs paused (I/O error, Paused-Critical), snapshots failFree space: delete old snapshots/VMs/ISOs, migrate VMs, grow storage
# grow a disk end to end
qm resize 120 scsi0 +20G
# in Linux guest:
growpart /dev/sda 2; resize2fs /dev/sda2   # or xfs_growfs /
# Windows guest:
Resize-Partition -DriveLetter C -Size (Get-PartitionSupportedSize -DriveLetter C).SizeMax

A VM with snapshots may not allow disk resize until snapshots are removed (VMware, Hyper-V).

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 current

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

Basis: https://libvirt.org/docs.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 disk fullvirtual disk fulldatastore fullthin pool full vm
Embedded reference data

Quick lookup tables

Virtualization Troubleshooting → Disk Full troubleshooting map

Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → Disk Full.

BoundaryWhat to verifyEvidence limit
Symptom/scopeExact failing test, affected VM/host/cluster and incident time are definedSymptom classification does not identify root cause
Observed boundaryConfiguration, runtime and counters/logs for this Virtualization Troubleshooting → Disk Full boundary are time-correlatedOne healthy or failed status does not prove adjacent dependencies
Adjacent dependencyThe next host, storage, network, device, guest or cluster dependency is tested independentlyLocal success does not prove end-to-end health
VerificationThe original workload test succeeds after one controlled change and remains healthy in regression checksTemporary recovery alone is not durable proof
Confirmation

Confirm action

Continue?