HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)

HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 79
scrub vdisk
Description Analyzes specified vdisks to detect, report, and store information about disk defects. Vdisk-level
errors reported include: hard errors, medium errors, and bad block replacements (BBRs). Disk-level
errors reported include: metadata read errors, SMART events during scrub, bad blocks during scrub,
and new disk defects during scrub.
For RAID 3, 5, 6, and 50, scrub checks all parity blocks to find data-parity mismatches. For RAID 1
and 10, scrub compares the primary and secondary disks to find data inconsistencies. For NRAID
and RAID 0, scrub checks for media errors.
A 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 job-parameters command.
When the scrub is complete, the number of errors found is reported with event code 207 in the event
log. You can use a vdisk while it is being scrubbed.
Syntax
scrub vdisk vdisks
Parameters vdisks
Names or serial numbers of the vdisks to scrub.
Example Scrub the disks in vdisk vd1:
# scrub vdisk vd1
Info: Scrub started on vdisk vd1
Success: Command completed successfully.
See also abort scrub
show vdisks