Table of ContentsLibraryView in Frames

How you schedule automatic RAID-level scrubs

By default, Data ONTAP performs a weekly RAID-level scrub starting on Sunday at 1:00 a.m. for a duration of six hours. You can change the start time and duration of the weekly scrub, add more automatic scrubs, or disable the automatic scrub.

To schedule an automatic RAID-level scrub, you use the raid.scrub.schedule option.

To change the duration of automatic RAID-level scrubbing without changing the start time, you use the raid.scrub.duration option, specifying the number of minutes you want automatic RAID-level scrubs to run. If you set this option to -1, all automatic RAID-level scrubs run to completion.
Note: If you specify a duration using the raid.scrub.schedule option, that value overrides the value you specify with this option.

To enable or disable automatic RAID-level scrubbing, you use the raid.scrub.enable option.

For more information about these options, see the na_options(1) man page.

Scheduling example

The following command schedules two weekly RAID scrubs. The first scrub is for 240 minutes (four hours) every Tuesday starting at 2 a.m. The second scrub is for eight hours every Saturday starting at 10 p.m.options raid.scrub.schedule 240m@tue@2,8h@sat@22

Verification example

The following command displays your current RAID-level automatic scrub schedule. If you are using the default schedule, nothing is displayed.options raid.scrub.schedule

Reverting to the default schedule example

The following command reverts your automatic RAID-level scrub schedule to the default (Sunday at 1:00 am, for six hours):options raid.scrub.schedule " "