Storage · Storage Capacity
Compression Savings
Cheat sheet · https://pcornel.dk/topic.php?topic=4364
Answer
Compression savings are the capacity freed by compressing data, shown as a ratio or percent per volume or pool. Use measured savings, not vendor estimates, when calculating effective capacity.
Remember
- Plan with measured compression ratios, not vendor estimates.
- Savings differ widely between datasets.
- Ratios drift as the data mix changes.
First checks
zfs get compressratio— ratiocompsize <path>— Btrfsarray compression ratio— vendor
Verify in this order
data → compressed → savings
Where it usually breaks
First mismatch in workload → filesystem/volume → queue/cache → path/protocol → controller/pool → media/backend → observed completion; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4364