Pcornel
Storage · Storage Fundamentals

Thin Provisioning

Cheat sheet · https://pcornel.dk/topic.php?topic=3851

Back to the Topic

Answer

Thin provisioning separates advertised logical size from physical allocation. It improves utilization but introduces an operational dependency on monitoring backing-pool capacity, metadata and reclamation behavior.

Remember

  • Logical free space inside a guest/filesystem does not equal free backing capacity in the thin pool.
  • Thin provisioning is not compression or deduplication.
  • Overcommitment is possible because multiple thin objects may promise more capacity than physically exists.
  • Deleting data in a filesystem does not always return blocks to the thin pool unless discard/TRIM/UNMAP is supported and effective.

First checks

  • lvs -o name,data_percent,metadata_percent — thin pool usage
  • qemu-img info <disk> — virtual vs allocated
  • zfs get refreservation,volsize <zvol> — sparse zvol

Verify in this order

write → allocate from pool → pool usage grows

Where it usually breaks

First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.

Storage Fundamentals → Thin Provisioning reference map

BoundaryWhat it meansEvidence limit
Consumer viewWhat the workload/OS believes is availableDoes not prove lower-layer allocation, path or media health
Logical storageVolume/LUN/share/pool/datastore or object namespace presented to the consumerObject existence does not prove backing capacity or correct ownership
Transport/backingProtocol, path, controller, storage service and protection that carry/persist I/OPath/control-plane health does not prove application data
AcceptanceOriginal data can be written, committed and read back correctly by the intended workloadRequired for end-to-end closure

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3851

Confirmation

Confirm action

Continue?