concept Data & storage
Thin provisioning and storage-pool exhaustion
Thin volumes can advertise more blocks than their shared pool contains. Even when a volume has free logical addresses, a write that needs a new backing block can run into a full pool.
What it means
A thin volume advertises a range of block addresses, not a reservation of one physical block for every address. Several volumes can draw backing blocks from the same pool as they need them. Their combined logical capacity can therefore exceed the pool’s physical capacity. Linux device-mapper: Thin provisioning
For a write to a previously unmapped block, ask two questions: Does the volume have a logical address available? Does the pool have a physical block to back it?
Try it
This local simulation uses synthetic block counts and changes no device.
Thin provisioning and storage-pool exhaustion
Allocate logical volumes over one synthetic pool; write or free bounded blocks and expose logical capacity, physical allocation and exhaustion separately.
Local simulation only: no device, service, stored object or database is changed, and no real operation is authorized.
Advertised logical address space and shared physical allocation are separate counters. This fixture makes each action atomic; a blocked allocation changes nothing.
Advertised capacity and physical allocation
- Atomic action result
- blocked
- V1, then V2 logical headroom
- 6 · 8 blocks
- Physical allocation before
- 10 blocks
- Physical allocation after
- 10 blocks
- Remaining physical capacity
- 0 blocks
- Synthetic allocation changed
- No
Evaluated evidence
- Physical pool capacity (blocks)
- 10
- Volume V1 logical capacity (blocks)
- 12
- Volume V2 logical capacity (blocks)
- 12
- V1 initial mapped allocation (blocks)
- 6
- V2 initial mapped allocation (blocks)
- 4
- Simulated operation
- new-write
- Selected volume
- V1
- Operation size (blocks)
- 1
- Physical reclamation evidence
- no
Synthetic exclusive blocks, no snapshots or metadata pool. Overwrite assumes no extra copy-on-write allocation. Mutation refers only to the illustrated plan, never a real device.
About this model
Every input is local synthetic evidence. Numbers stay as raw text until this model validates them. The shown evaluated values come from the same result as the explanation.
Presets replace the entire scenario. Reset restores all starting fields, scenario selection and model state; it does not change the open or closed state of this help or article FAQ.
No external request, device command, stored-input history or measurement is performed.
Start with the default new-write of 1 block on V1. Both volumes advertise 12 blocks. V1 has 6 mapped blocks, leaving 6 logical addresses free; V2 has 4 mapped blocks, leaving 8 free. But the mappings already occupy all 10 pool blocks: 6 + 4 = 10. The write fits within V1, but it would need an eleventh physical block. The result is blocked, and physical allocation stays at 10 of 10 blocks.
Choose Leave one pool block free. Only V2’s initial mapped allocation changes, from 4 blocks to 3. V1 still has 6 logical addresses free, but the pool now starts at 9 of 10 blocks. The same write to V1 is allocated and brings the pool to 10 of 10. What changed the outcome was a free block in the shared pool, not more room in V1.
Return to the default counts and compare three alternatives to a new write:
- Set Simulated operation to
overwrite. Writing over 1 mapped block leaves allocation at 10. The simulation assumes exclusive blocks, no snapshots and no extra copy-on-write allocation. - Set Simulated operation to
free. With Physical reclamation evidence set tono, freeing 1 logical block on V1 leaves physical allocation at 10 (logical-free-only). Withconfirmed, that block returns to the pool and allocation drops to 9 (reclaimed). - Choose Inspect the evidence boundary. It models the same logical free with reclamation set to
unknown. The result isunknown: neither 9 nor 10 is established as the physical total afterward.
Enter block counts as whole-number decimal strings. A value of 1.000000000000000001 is invalid, not rounded to 1. An initial allocation of 13 blocks on a 12-block volume is also invalid; unlike a blocked write, it gives no valid starting state to evaluate. Reset restores the default inputs and scenario, returns the step and virtual time to zero, and clears errors, history and comparison.
In practice
Read a volume’s logical headroom alongside the shared pool’s allocated and remaining data capacity. Free space reported by the host does not, by itself, prove that blocks returned to the pool; actual discard handling depends on configuration. Linux device-mapper: discard options
The simulation rejects a new allocation as a whole if it cannot fit. On a real thin pool, writes that need space when the data pool is full can queue or return an error, depending on configuration. Pool metadata can also run out separately. LVM: thin pool data and metadata exhaustion The example counts backing blocks, not pool metadata or filesystem inodes.
Use logical headroom to tell whether a new block has an address, not whether it has backing. For the latter, check the shared pool, and count a freed block as available there only when its return is confirmed.
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
Why can a volume show free space when the pool is full?
Logical advertised capacity and physical backing are different counters. Two volumes can each promise 12 blocks while their shared pool has only 10; the next new allocation can be blocked even with logical headroom.
Does deleting data immediately reclaim allocation?
Not automatically in this model. Logical freeing and confirmed physical reclamation are separate states; without reclamation evidence, the physical-allocation total is not reduced. Actual discard handling is implementation-dependent.
Is this inode exhaustion?
No. The example tracks physical backing blocks for thin volumes, not a filesystem’s inode table. A full pool and a shortage of file metadata are different resource problems.
What should be monitored separately?
At minimum, distinguish logical capacity, allocated physical blocks and remaining pool capacity in this example. Real thin pools also expose metadata usage and their configured behavior when space runs out.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- Thin provisioning
Thin pool status; discard options; error_if_no_space. Logical volumes share a physical pool. Exhaustion and discard handling are separate from logical capacity; queue/error behavior is configurable.
Checked .
- LVM: lvmthin(7)
Description; Thin Pool Data Exhaustion; Metadata Exhaustion. Thin logical size differs from physical pool allocation; data-full behavior can queue or error, and metadata exhaustion is a separate limit.
Checked .