CLI Guide
scrub vdisk
Description Analyzes specified linear disk groups to find and fix disk errors. This command applies to linear storage only.
This command acts on disks in a linear disk group but not dedicated spares or leftover disks. This command
will fix parity mismatches for RAID 3, 5, 6, and 50; find mirror mismatches for RAID 1 and 10; and fix media
errors for all RAID levels.
Linear disk-group scrub can last over an hour, depending on disk-group 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 disk group while it is being scrubbed.
To check the progress of a linear disk-group scrub (VRSC) job, use the show vdisks command.
When a disk-group scrub job starts, event 206 is logged. When the scrub job ends, event 207 is logged and
specifies whether errors were found and whether user action is required.
Minimum role manage
Syntax
scrub vdisk
vdisks
Parameters vdisksA comma-separated list of the names or serial numbers of the linear disk groups to scrub. A name
that includes a space must be enclosed in double quotes
Examples Start scrubbing linear disk group vd1.
# scrub vdisk vd1
See also
set advanced-settings
show vdisks
abort scrub (with the vdisk parameter)
scrub volume
Description
Analyzes specified volumes to find and fix disk errors. This command applies to linear storage only.
This command acts on the disk portions spanned by each volume, but it does not act on dedicated spares or
leftover disks. This command will fix parity mismatches for RAID 3, 5, 6, and 50; find mirror mismatches for
RAID 1 and 10; and fix media errors for all RAID levels.
Volume scrub can last over an hour, depending on volume size, utility priority, and amount of I/O activity. You
can use a volume while it is being scrubbed. To check the progress of a volume scrub job, use the show
volumes command.
NOTE:
Only one scrub operation can be running on a linear disk group at a time. If a manual scrub is started while a
background scrub is in progress, the background scrub will terminate and will start over 24 hours after the
manual scrub completes.
When a scrub is complete, event 207 is logged and specifies whether errors were found and whether user
action is required.
Minimum role manage
Syntax
scrub volume
volumes
Parameters
volumes
The names or serial numbers of the volumes to scrub. A name that includes a space must be enclosed in
double quotes.
Examples Start scrubbing volume vol1.
Alphabetical list of commands 103