TrueNAS Documentation Archive
This content follows the TrueNAS 23.10 (Cobia) releases. Archival documentation is provided for reference only and not actively maintained. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.
Scrub Tasks Screens
5 minute read.
Last Modified 2024-04-24 10:24 EDTThe Data Protection screen Scrub Task widget displays a list of scrub tasks configured on the system. Scrubs identify data integrity problems, detect silent data corruptions caused by transient hardware issues, and provide early disk failure alerts. TrueNAS generates a default scrub task when you create a new pool and sets it to run every Sunday at 12:00 AM.
Add opens the Add Scrub Task screen.
Each task is a link that opens the Edit Scrub Task Screen.
The
icon opens a delete confirmation dialog.The Add Scrub Task and Edit Scrub Task screens display the same settings that specify the pool, threshold, and schedule for when to run the ZFS scan on the data in a pool.
Setting | Description |
---|---|
Pool | Select the pool to scrub from the dropdown list. |
Threshold days | Enter the number of days before a completed scrub is allowed to run again. This controls the task schedule. For example, scheduling a scrub to run daily with Threshold days set to 7 means the scrub attempts to run daily. When the scrub succeeds, it continues to check daily but does not run again until seven days elapse. Using a multiple of seven ensures the scrub always occurs on the same weekday. |
Schedule | Select a preset from the dropdown list that runs the scrub task according to that schedule time. Select Custom to use the advanced scheduler. |
Enabled | Select to enable the scrub task to run. Leave checkbox clear to disable the task without deleting it. |
The settings specify times when new resilver tasks can start, and run, at a higher priority or when a resilver task cannot run at a lower priority.
Setting | Description |
---|---|
Enabled | Select to run resilver tasks between the configured times. |
Begin | Select the hour and minute when a resilver task can start from the dropdown list. The resilver process can run at a higher priority. |
End | Select the hour and minute when new resilver tasks are not allowed to start. This does not affect active resilver tasks. The resilver process returns to running at a lower priority. A resilver process running after this time can take much longer to complete, and runs at a lower priority compared to other disk and CPU activities, such as replications, SMB transfers, NFS transfers, Rsync transfers, S.M.A.R.T. tests, pool scrubs, user activity, etc. |
Days of the Week | Select the days to run resilver tasks from the dropdown list. Select day(s) when demands on system I/O processing and activity is at a lower levels. |