Library Table of Contents Index Previous Next Comments

Starting and stopping disk scrubbing

When to disable automatic disk scrubbing  Top

By default, automatic disk scrubbing is enabled and begins at 1:00 a.m. on Sunday. You might want to disable automatic disk scrubbing if disk scrubbing encounters a recurring problem.

You can also start or stop a disk scrubbing operation manually at times other than 1:00 a.m Sunday.

Toggling automatic disk scrubbing  Top

To enable and disable automatic disk scrubbing for the filer, complete the following step.

Step

Action

1

Enter the following command:

options raid.scrub.enable off | on

Use off to disable automatic disk scrubbing.

Use on to enable automatic disk scrubbing.

Setting the duration of automatic disk scrubbing  Top

You can set the duration of automatic disk scrubbing. The default is to perform automatic disk scrubbing for six hours (360 minutes). If scrubbing does not complete in the six hours, Data ONTAP records where it stops. The next time disk scrubbing automatically starts, scrubbing starts from the point where it stopped.

To set the duration of automatic disk scrubbing, complete the following step.

Step

Action

1

Enter the following command:

options raid.scrub.duration duration

duration is the length of time, in minutes, that automatic disk scrubbing runs.

Note
If you set duration to -1, all automatically started disk scrubs run to completion.

Starting and stopping disk scrubbing manually  Top

You can use your UNIX or CIFS host to start a disk scrubbing operation at any time. For example, you can start disk scrubbing by putting disk scrub start in a remote shell command in a UNIX cron script.

To start and stop disk scrubbing manually, complete the following step.

Step

Action

1

Enter the following command:

disk scrub start|stop

Use start to initiate disk scrubbing on all RAID groups regardless of the setting of the raid.scrub.enable option.

Use stop to stop a disk scrubbing operation.

Library Table of Contents Index Previous Next Comments