Storage · Storage Capacity
Erasure Coding Overhead
Cheat sheet · https://pcornel.dk/topic.php?topic=4361
Answer
Erasure coding overhead is the extra capacity used by parity fragments: a k+m scheme uses (k+m)/k of the data size, so 4+2 costs 50 % extra and 8+3 about 37.5 %, compared with 200 % for three copies.
Remember
- Erasure coding stores (k+m)/k times the data.
- 4+2 costs 50 % extra; 8+3 about 37.5 %.
- Each fragment must be in a separate failure domain.
First checks
ceph osd erasure-code-profile get <p>— k and mceph df— EC pool usagecalculation (k+m)/k— overhead factor
Verify in this order
data × (k+m)/k → raw
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=4361