ZFS Replacing Disk with same Disk (after cable failure)

  • Thread starter Deleted member 45030
  • Start date
Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.
D

Deleted member 45030

Guest
So what happened was basically a cable connecting a single disk of a raidz2 pool failed, the disk is 100% ok and i replaced the cable,
but zfs still shows it as faulted.
The data on the disk is also probably out of sync since it was disconnected for several hours and data was written to the pool during that time.
Bc of that i dont want to just zfs clear.
How can i "replace" the disk with itself that it just triggers a resilvering to it and all data is back in sync again?
Will zfs clear and zfs scrub do that?
 
  • Like
Reactions: MrCalvin