You can manually run a RAID-level scrub on individual RAID groups, plexes, aggregates, or all aggregates using the aggr scrub command. You can also stop, suspend, and resume manual RAID-level scrubs.
If you try to run a RAID-level scrub on a RAID group that is not in a normal state (for example, a group that is reconstructing or degraded), the scrub returns errors and does not check that RAID group. You can run a RAID-level scrub on a RAID-DP group with one failed disk.
Scrubbing all aggregates
The following command starts a RAID-level scrub on all of the aggregates in the storage system: aggr scrub start
Scrubbing a particular RAID group
The following command starts a RAID-level scrub on rg0 in plex1 of aggregate aggr2: aggr scrub start aggr2/plex1/rg0
Stopping a manual RAID-level scrub
The following command stops a manual RAID-level scrub currently running on plex1 or aggr0:
aggr scrub stop aggr0/plex1If you do not specify a name of an aggregate, plex, or RAID group, Data ONTAP stops all manual RAID-level scrubs. After you stop a scrub, it cannot be resumed.
Suspending a manual RAID-level scrub
The following command suspends a manual RAID-level scrub currently running on aggregate aggr3:
aggr scrub suspend aggr3You can resume this scrub later by using the aggr scrub resume command.
Viewing RAID-level scrub status
The following command displays the status of all currently running RAID-level scrubs, along with the date and time when the last full scrub completed:aggr scrub status -v