Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Erasure Coding · Ceph

Direct answer

Objects are encoded into shards distributed across OSDs/failure domains. Erasure coding trades compute, network and small-I/O/write behavior for better raw-capacity efficiency than full replication; client-service support and EC features depend on Ceph release and pool settings.

When to use this

Use it when configuring, checking or troubleshooting Erasure Coding in Ceph.

First 30 seconds

1. Erasure coding splits data into k data + m parity chunks.

2. Saves capacity (e.g. 4+2 = 1.5×).

3. Needs k+m failure domains.

4. Higher CPU and latency; good for RGW/CephFS data.

5. RBD on EC needs allow_ec_overwrites and replicated metadata pool.

Operational verification

object → k data + m parity chunks → OSDs

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

An EC profile defines coding intent; durability still depends on independent shard placement, available shards, compatible operations and healthy recovery paths.

Suspicious evidence: insufficient failure domains, missing shards near tolerance limit, small-write amplification, incompatible overwrite assumptions or recovery constrained by network/capacity.

Platform / version applicability
Ceph 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.

PlatformCeph storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting Erasure Coding in Ceph.
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.

1 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

object → encode k data + m coding shards → PG/CRUSH → independent OSDs → reconstruct on read/recovery when required

Healthy evidence: EC profile and failure domain fit the workload, all required shards are present, PGs are clean and workload read/write behavior meets baseline.

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
  • k+m width ≠ number of independent failure domains automatically.
  • m coding chunks ≠ backup.
  • EC capacity efficiency ≠ universally better performance.
  • EC pool usable ≠ every client type supports every overwrite/layout mode.
Key checks
  • ceph osd erasure-code-profile ls — profiles
  • ceph osd erasure-code-profile get <profile> — k, m, failure domain
  • ceph osd pool ls detail | grep erasure — EC pools
ReferenceImportant terms & boundaries2 sections · depth on demand

Placement and what the checks show

An EC profile defines coding intent; durability still depends on independent shard placement, available shards, compatible operations and healthy recovery paths.

In depth

Erasure-coded pools split each object into k data and m coding chunks across k + m OSDs (in different failure domains). Overhead is (k + m) / k.

ProfileOverheadToleratesMinimum failure domains
4+21.5×26
8+31.375×311
3 replicas3×23
ceph osd erasure-code-profile set ec42 k=4 m=2 crush-failure-domain=host
ceph osd pool create ec-data 64 64 erasure ec42
ceph osd pool set ec-data allow_ec_overwrites true    # needed for RBD/CephFS data

EC costs CPU and more network round trips, and small writes are expensive; it suits RGW and large-file CephFS data. RBD on EC still needs a replicated pool for image metadata (--data-pool).

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 docCeph storage current

Authoritative/upstream documentation reviewed for bounded claims in Ceph → Erasure Coding. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.ceph.com/en/latest/ · 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
ceph erasure codingceph ec poolk m ceph
Embedded reference data

Quick lookup tables

Ceph → Erasure Coding Ceph map

Fast control-plane, placement, data-path and proof boundaries for Ceph → Erasure Coding.

Ceph boundaryWhat to verifyProof limit
Control / placementMON/map/auth, pool, PG and CRUSH context for the exact workloadCluster visibility or one healthy daemon does not prove the data path
Data / redundancyActing OSD set, device/network state, capacity and replica/EC availabilityUp/in or active state alone does not prove clean redundancy or integrity
Failure boundaryAn EC profile defines coding intent; durability still depends on independent shard placement, available shards, compatible operations and healthy recovery paths.Correlate Ceph, host, device and network evidence in the same time window
AcceptanceHealthy evidence: EC profile and failure domain fit the workload, all required shards are present, PGs are clean and workload read/write behavior meets baseline.Close only after original client operation plus redundancy/read-back verification
Confirmation

Confirm action

Continue?