HP MSA 2040 CLI Reference Guide
362
verify vdisk
Description Analyzes redundant vdisks to find and fix inconsistencies between their redundancy data and their
user data. This command acts on disks that are associated with a vdisk and are neither dedicated
spares nor leftovers. This command will fix parity mismatches for RAID 3, 5, 6, and 50, and mirror
mismatches for RAID 1 and 10. This command can be performed only on a vdisk whose status is
FTOL (fault tolerant and online); it cannot be performed for NRAID or RAID 0.
Verification can last over an hour, depending on vdisk size, utility priority, and amount of I/O
activity. You can use a vdisk while it is being verified. To view the progress of a vdisk verify (VRFY)
job, use the show vdisks command.
When verification is complete, event 21 is logged and specifies the number of inconsistencies found.
Such inconsistencies can indicate that a disk in the vdisk is going bad.
TIP: Unless you want to verify without fixing errors, it is better to use the scrub vdisk command,
which operates similarly to verify vdisk and also can find and fix media errors for any RAID
level, including NRAID and RAID 0.
Syntax
verify vdisk
vdisks
[fix yes|no]
Parameters
vdisks
A comma-separated list of the names or serial numbers of the vdisks to verify. For vdisk syntax, see
"Command syntax" (page 20).
fix yes|no
Optional. Specifies whether or not to automatically fix parity mismatches by making parity match
the data in all cases. If you specify no, event 21 will report any errors found and they will not be
fixed. The default is yes.
Example Start verifying vdisk vd1:
# verify vdisk vd1
Info: The verify was started on vdisk vd1. (vd1) (2012-01-20 17:08:33)
Success: Command completed successfully. (2012-01-20 17:08:33)
See also • abort verify
• scrub vdisk
• show vdisks