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.

2

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

zpool replace tank ata-WHATEVER-part1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.