Scrubbing a storage pool verifies the content by checking for errors. If any unrecoverable errors are found, either through a scrub or through normal operation, the CLI displays the affected files. If desired, the scrub process can be stopped before completion.
In general, a scrub should be performed as often as your oldest backup expires, at a minimum. The recommended time frame for performing a scrub is quarterly. A scrub should also be run before performing a software upgrade.
hostname:configuration storage (pool0)> set pool=pool1 pool = pool1
hostname:configuration storage (pool1)> scrub start
hostname:configuration storage (pool1)> scrub stop
Entering scrub start again resumes the scrub from where it was stopped.