In my case I've got RAID1 (zfs mirroring) setup on 2x 4TB HDD - one of them start dying, loose data and have some broken sectors and require replacement.
1. I've detach old, broken one HDD and add new, empty one
2. My accident - copied partition table from new (empty) drive to current healthy...