Pcornel
Storage · Object Storage

Erasure Coding

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

Back to the Topic

Answer

Erasure coding splits each object into k data and m parity fragments spread over disks or nodes, so any m can be lost. It uses less overhead than replication, for example 8+3 instead of 3 copies, at higher CPU and rebuild cost.

Remember

  • k data + m parity fragments survive m failures.
  • Overhead is (k+m)/k.
  • Rebuilds use more CPU and network than replicas.

First checks

  • ceph osd erasure-code-profile get <p> — Ceph EC profile
  • mc admin info <alias> — MinIO erasure sets
  • vendor docs — durability

Verify in this order

object → k+m chunks → nodes

Where it usually breaks

First mismatch in DNS/TLS → authentication/signing → bucket/container policy → object key/version → gateway → backend placement → GET/HEAD read-back; 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=4169

Confirmation

Confirm action

Continue?