Storage · SMART & Disk Health
Reallocated Sectors
Cheat sheet · https://pcornel.dk/topic.php?topic=4323
Answer
Reallocated sectors (SMART 5) are bad sectors the drive has replaced with spare ones. A few may be stable, but a rising count means the surface is degrading and the drive should be replaced.
Remember
- Bad sectors replaced with spares.
- Stable small counts may be tolerable.
- Rising counts mean replace.
First checks
smartctl -A /dev/sdX | grep -i reallocated— ID 5smartctl -a /dev/sdX | grep -i 'grown defect'— SAS equivalenthistory of values— trend
Commands
smartctl -t long
Verify in this order
bad sector → remapped → counter
Where it usually breaks
First mismatch in media/firmware → device controller → interface/link → host driver → block device → upper storage layer; 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=4323