Site Tools


truenas

This is an old revision of the document!


TrueNAS configuration

ZFS scrub

The scrub is causing a reboot. Mitigation includes:

Option 1: Reschedule both scrubs to Sunday midday (staggered)

sudo midclt call pool.scrub.update 1 '{"schedule": {"minute": "00", "hour": "12", "dom": "*", "month": "*", "dow": "7"}}'
sudo midclt call pool.scrub.update 2 '{"schedule": {"minute": "00", "hour": "14", "dom": "*", "month": "*", "dow": "7"}}'

Option 2: Increase threshold to reduce frequency (e.g. 60 days)

sudo midclt call pool.scrub.update 1 '{"threshold": 60}'
sudo midclt call pool.scrub.update 2 '{"threshold": 60}'

Option 3: Disable one scrub entirely (not done)

sudo midclt call pool.scrub.update 2 '{"enabled": false}'
truenas.1781409773.txt.gz · Last modified: by admin