ZFS Replacing Disk with same Disk (after cable failure)

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.


Active Member
Aug 28, 2022
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