
I've googled for this quite a bit, and AFAICT, it's not possible to stop a resilver, just possible to somewhat slow it down by fiddling with values in /sys/module/zfs/parameters/ (this is actually on a Linux box as I discovered that my zpool wasn't compatible with O3X).
I've discovered recently that having 10 USB 3.0 drives for a zpool isn't all fun and games. USB bus resets caused by one drive misbehaving can cause incorrect error reports from other drives on the same hub, and may trigger resilvers that cannot be stopped.
ATM, I'm trying to move data off the array and on to backup drives, but the process is not only much slower than needed, it is also growing riskier by the hour, because my zpool is now, for the 14th time, resilvering due it determining that that operation is needed after a hub being reset. If I could just tell zfs to stop resilvering, I could move my data off more quickly, and I'd greatly reduce the risk of drives dying due to the constant scrubbing.
So, I'd be curious to know if any one of you knows of an "official" way of stopping a resilver, or perhaps is code-savvy enough to say that yeah, it might be trivial for me (as in me, who is a developer, just not at this level) to make some hacks and compile a version of zfs that would either completely stop trying to resilver, or maybe honor a parameter that tells it to block.
Thanks in advance,
Daniel
