nas:build_a_linux_nas:support_recovering_from_a_faulty_disk

This is an old revision of the document!


NAS - Build a Linux NAS - Support recovering from a faulty disk

Determine which disk has failed

mdadm --detail /dev/md0

returns:

 

Get the serial number of the failed disk

hdparm -i /dev/sda | grep SerialNo

returns:

Model=ST16000NM001G-2KK103, FwRev=SB30, SerialNo=WL2091XL

NOTE: Double check which actual physical disk has failed and needs to be replaced.


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.1632603701.txt.gz · Last modified: 2021/09/25 21:01 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki