Pcornel
Storage · Data Integrity

ECC Memory

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

Back to the Topic

Answer

ECC memory detects and corrects single-bit RAM errors. Storage servers, especially ZFS and Ceph nodes, use it so corruption in memory is not written to disk with a valid checksum.

Remember

  • ECC corrects single-bit memory errors.
  • Without ECC, corrupt data can be written with a valid checksum.
  • Recommended for ZFS and Ceph nodes.

First checks

  • edac-util -v — corrected/uncorrected memory errors
  • dmidecode -t memory | grep -i -e 'Error Correction' -e 'Type:' — ECC support
  • ras-mc-ctl --errors — RAS daemon

Verify in this order

memory error → ECC correct/detect → log

Where it usually breaks

First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; 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=4317

Confirmation

Confirm action

Continue?