I have the following zpool configuration:
zpool status
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
da1 ONLINE 0 0 0
da0 ONLINE 0 0 0
da3 ONLINE 0 0 0
da4 ONLINE 0 0 0
da2 ONLINE 0 0 0
da5 ONLINE 0 0 0
da7 ONLINE 0 0 0
da6 ONLINE 0 0 0
raidz2-1 ONLINE 0 0 0
da21 ONLINE 0 0 1 (repairing)
da14 ONLINE 0 0 0
da22 ONLINE 0 0 0
da23 ONLINE 0 0 0
da13 ONLINE 0 0 0
da9 ONLINE 0 0 0
da12 ONLINE 0 0 0
da20 ONLINE 0 0 0
raidz2-2 ONLINE 0 0 0
da11 ONLINE 0 0 0
da18 ONLINE 0 0 0
da8 ONLINE 0 0 0
da10 ONLINE 0 0 0
da15 ONLINE 0 0 0
da16 ONLINE 0 0 0
da17 ONLINE 0 0 0
da19 ONLINE 0 0 0
da21 has 1 CKSUM fail every ~2 weeks. Do i need to replace it already, or should i wait till there are more errors? I am rather on the cautious side, but don't want to replace a perfectly healthy disk either.
To actually do it, are the following steps correct? The official guide (https://docs.oracle.com/cd/E23823_01/html/819-5461/gbbvf.html#gbcet) has some steps in between that depend on "cfgadm" but i don't have that on freebsd, so I rather make sure I am not doing something stupid before I start getting my hands dirty.
zpool offline da21
<*physically replace device*>
zpool online daXX
zpool replace data da21 daXX
Can I do this during a scrub, or should i wait for the scrub to finish/stop it?
Any help greatly appreciated :)