2

I had a raid5 setup of three disks working up until a couple days ago, when a SATA cable acted up and left the pool on a degraded state. The disk is there, it's fine now but the system refuses to use it again. zpool status shows the degraded raid and the offending device as:

21389740192374901283740 UNAVAIL was /dev/disk/by-id/xxxxxxxxxxxxxxxxx-part1

How can i tell ZFS that THAT is actually the disk it must use again? I (stupidly) even wiped the whole disk and rebuilt the partitions, so, once the array is fixed, a resilver will be due.

RedNano
  • 333
  • 1
  • 7
  • 10

1 Answers1

2

Like any other disk replacement, you can simply use zpool replace.

zpool replace tank ata-WHATEVER-part1
Michael Hampton
  • 244,070
  • 43
  • 506
  • 972