Diagnostic step 1
Avoid changing on-disk data during diagnostics. Schedule a maintenance window and snapshot current pool and NFS export config before making tunable changes.
Generated Oct 17, 2026, 9:26:11 AM
Avoid changing on-disk data during diagnostics. Schedule a maintenance window and snapshot current pool and NFS export config before making tunable changes.
Increase ZFS ARC (zfs_arc_max) temporarily during a scrub to reduce cache misses if memory is available; monitor hit ratio and client latency. This is reversible by restoring the previous ARC setting.
If available in your ZoL/kernel version, enable or tune ZFS scrub throttling parameters (module parameters that control scrubbing I/O priority or inter-scan delays). If parameters are not present, test on staging before rebooting production.
Adjust Linux block layer and elevator parameters (mq-deadline/none) and reduce per-device queue depth to limit concurrent scrub IO; tune nfsd thread count to improve RPC responsiveness. Make one change at a time and monitor iostat and NFS latency.
As a mitigation, split scrub into smaller granular operations (if using multiple pools or datasets) and stagger scrubs across pools/hosts. If none of the above reduce impact, gather iostat, zpool status, ZFS module parameters, and kernel traces and escalate to the ZFS on Linux community or your storage vendor with those logs.