HP MSA 2040 CLI Reference Guide

scrub vdisk 133
scrub vdisk
Description Analyzes specified vdisks to find and fix disk errors. This command acts on disks in a vdisk but not
dedicated spares or leftover disks. This command will fix parity mismatches for RAID 3, 5, 6, and
50; mirror mismatches for RAID 1 and 10; and media errors for all RAID levels.
Vdisk scrub can last over an hour, depending on vdisk size, utility priority, and amount of I/O
activity. However, a “foreground” scrub performed with this command is typically faster than a
background scrub enabled with the set advanced-settings command. You can use a vdisk while it is
being scrubbed. To check the progress of a vdisk scrub (VRSC) job, use the show vdisks command.
When a vdisk scrub operation starts, event 206 is logged. When a vdisk scrub operation ends,
event 207 is logged and specifies whether errors were found and whether user action is required.
Syntax
scrub vdisk
vdisks
Parameters
vdisks
A comma-separated list of the names or serial numbers of the vdisks to scrub. For vdisk syntax, see
"Command syntax" (page 20).
Example Start scrubbing vdisk vd1:
# scrub vdisk vd1
Info: Scrub was started on target vd1. (vd1)
Success: Command completed successfully. (2012-01-20 15:41:38)
See also abort scrub (with the vdisk parameter)
set advanced-settings
show vdisks