Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Thin Provisioning

Direct answer

Thin Provisioning presents a virtual disk with a logical capacity larger than the storage blocks currently allocated, growing physical consumption as data is written or allocated.

When to use this

Use it to improve storage utilization while explicitly managing oversubscription, reclamation and out-of-space risk.

First 30 seconds

1. Thin disks grow on write.

2. Overcommit can fill the pool and pause VMs.

3. Monitor pool usage and alert early (e.g. 80 %).

4. Enable discard/TRIM to reclaim.

5. Thin pool metadata can fill too.

Operational verification

write → block allocated → pool fills

Evidence · next step

Verify monitoring thresholds, discard propagation and worst-case concurrent growth across all thin consumers.

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

It does not show future capacity will remain available or that every guest deletion will reclaim physical blocks.

Next check: Verify monitoring thresholds, discard propagation and worst-case concurrent growth across all thin consumers.

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
Key commandGet-VHD disk.vhdx | Select Size,FileSize
Scope / prerequisiteUse it to improve storage utilization while explicitly managing oversubscription, reclamation and out-of-space risk.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

3 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 allocation → virtual disk block allocation → thin metadata → backend extent → pool headroom → guest write result

Step 2 Checks Verify boundary
qemu-img info disk.qcow2                 # virtual vs disk size
Get-VHD disk.vhdx | Select Size,FileSize
du -h --apparent-size disk.raw ; du -h disk.raw

Track provisioned vs physical capacity per datastore and alert before the pool fills.

Step 3 Common mistakes Narrow the fault
  • Thin disks on thin LUNs without monitoring at either layer.
  • No UNMAP/TRIM, so space is never returned.
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
  • Logical free space inside a guest is not the same as free physical capacity in the thin pool or datastore.
  • Deleting guest files does not automatically reclaim backend blocks unless discard/TRIM/unmap is supported and propagated.
  • A thin disk can be healthy until the shared pool becomes exhausted.
  • Thin provisioning saves capacity; it does not create capacity.
Key checks
  • qemu-img info <disk> — disk size vs virtual size
  • lvs -o lv_name,data_percent,metadata_percent — LVM-thin pool usage
  • Get-VHD <vhdx> | fl FileSize,Size — dynamic VHDX growth
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

A thin virtual disk grows as the guest writes. It saves datastore space and makes snapshots/clones cheaper, at the price of overcommit risk.

Keep thin disks thin: enable discard/UNMAP on the virtual disk, use a paravirtual controller, and let the guest trim (fstrim.timer, Windows Optimize Drives). Without that, deleted guest data stays allocated forever and the disk only grows.

qm set 120 --scsi0 local-zfs:vm-120-disk-0,discard=on,ssd=1
fstrim -av                          # in Linux guest
Optimize-Volume -DriveLetter D -ReTrim -Verbose   # in Windows guest
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 → Thin Provisioning. 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
thin diskthin provisioned vm disksparse virtual diskstorage overcommit
Embedded reference data

Quick lookup tables

Virtual Storage → Thin Provisioning reference map

Fast virtual-storage boundaries for Virtual Storage → Thin Provisioning.

BoundaryMeaningEvidence limit
Logical capacitypresented to guestCan exceed allocation
Allocated blockscurrently consumedChanges with writes
Pool freeshared physical headroomCritical exhaustion boundary
Reclaimdiscard/TRIM/unmapRequires end-to-end support
Confirmation

Confirm action

Continue?