Improved SCRUB handling at TrueNAS.
Tested at TrueNAS CORE 12.0-U7, but it should be compatible with TrueNAS SCALE too.
Not required, but recommended: vfs.zfs.scan_legacy=1
- Type: Script
- Script: .../zpool-scrub-resume
- When: Post Init
- Type: Script
- Script: .../zpool-scrub-pause
- When: Shutdown