nas:build_a_linux_nas:support_recovering_from_a_faulty_disk
This is an old revision of the document!
Table of Contents
NAS - Build a Linux NAS - Support recovering from a faulty disk
Determine which disk has failed
mdadm --detail /dev/md0
returns:
NOTE:
Get the serial number of the failed disk
hdparm -i /dev/sda | grep SerialNo
returns:
Replace the faulty disk
Steps are:
- Wait until the disks has finished rebuilding on the spare disk if any.
- Power the server down.
- Replace the faulty disk.
- Power the server up again.
- Partition the disks.
- Add the new disk to the array with:
mdadm --add /dev/md0 /dev/sdd1
nas/build_a_linux_nas/support_recovering_from_a_faulty_disk.1632603559.txt.gz · Last modified: 2021/09/25 20:59 by peter