Is a scrub needed / best practice after a resilver?

Joined
Sep 13, 2014
Messages
149
I've just replaced a disk and resilvered and the thought suddenly occurred to me that I don't know for certain whether a scrub necessary, or even just best practice, after a resilvering. So... should I be scrubbing my pool(s) after a resilver?

My line of thinking is that the answer would be no... or at least a scrub is no more urgent or needed after a resilver, than it would be at any other time with a health pool. The reason being is that if a scrub was needed more urgently after a resilver, that would mean that a resilver can't be 100% trusted to create the data from parity without errors, which wouldn't make sense. Is my line of thinking correct?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
The resilver code is actually running (at least in part) a scrub (or some of the scrub code) in order to calculate the missing data, so I would suggest it's not needed.
 
Top