Pcornel
Storage · RAID

Mirroring

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

Back to the Topic

Answer

In a mirror set, writes must reach the required mirror copies according to the implementation's acknowledgement semantics, while reads may be serviced from one copy. Capacity efficiency falls as copy count rises, but recovery does not require parity reconstruction.

Remember

  • Mirroring ≠ backup because all active copies can share corruption, deletion or administrative mistakes.
  • Mirror copies ≠ independent application-consistent recovery points.
  • RAID 1 redundancy applies within each mirror set, not automatically across arbitrary failed members in larger nested layouts.
  • A mirror reported synchronized ≠ every block has been independently validated end to end.

First checks

  • mdadm --detail /dev/md0 — mirror members
  • zpool status — mirror vdevs
  • storcli /c0/v0 show — RAID1 state

Verify in this order

write → both disks; read → either

Where it usually breaks

First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.

RAID → Mirroring RAID map

RAID boundaryWhat to verifyProof limit
Layout / topologyRAID level, member grouping, effective member size and stripe/mirror/parity structureThe label alone does not prove current member health or exact failure tolerance
Protection stateArray state, members, spares, cache protection and active rebuild/consistency workOptimal/online state does not prove backup or application integrity
Failure boundaryA synchronized mirror proves the implementation considers required copies current; it does not prove historical recovery, independent backup or application-level integrity.Failure tolerance must be evaluated against the exact layout and failure pattern
AcceptanceHealthy evidence: all mirror members are synchronized, no copy accumulates errors, reads/writes meet target and a failed member can be replaced and resynchronized predictably.Close only after the original workload/data check succeeds

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3915

Confirmation

Confirm action

Continue?