Pcornel
Storage · RAID

Rebuild

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

Back to the Topic

Answer

During rebuild, the array reads surviving data/parity or mirror copies and writes reconstructed content to a replacement member. This increases I/O load and may reduce remaining fault tolerance. Rebuild success depends on readable surviving members, correct metadata, replacement compatibility and sufficient time/resources.

Remember

  • Rebuild started ≠ rebuild will complete.
  • Rebuild complete ≠ filesystem/application integrity proven.
  • Rebuild ≠ backup restore.
  • More aggressive rebuild priority can reduce exposure time but may hurt workload latency.

First checks

  • cat /proc/mdstat — rebuild progress
  • storcli /c0/e<e>/s<s> show rebuild — hardware rebuild progress
  • zpool status — resilver progress

Verify in this order

failed disk replaced → reconstruct → optimal

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 → Rebuild 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 boundaryRebuild restores RAID redundancy only if reconstruction completes successfully; it does not independently validate filesystem/application correctness or replace restore testing.Failure tolerance must be evaluated against the exact layout and failure pattern
AcceptanceHealthy evidence: rebuild advances consistently, surviving members show no uncorrectable errors, workload remains controlled and final array state is optimal/consistent.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=3932

Confirmation

Confirm action

Continue?