vxverify

vxverify is a command that determines if there are any differences between plexes of mirrored volumes. This command compares the volumes on a block by block basis. Blocks that do not match are reported in the output.

Note:

For RAID-5 volumes, vxverify also checks the integrity of the parity of the volumes.

Typing the following sequence brings up a description of its syntax:

vxverify -?

vxverify [-v] [-p] [-m <f|x>] [-d <n|all>] <DynamicDiskGroupName> <Volume Name>[[offset] length]

The following attributes apply:

-v

Enables verbose output. This specifies that in addition to any blocks that do not match, the output includes the mirror volume name, block number, and number of blocks being compared.

-p

Enables the utility to process a partial plex for debugging purposes.

-m

Used to specify the mode that should be used to compare the volumes on a block by block basis.

f|x

Determines the mode for comparing the mirrored volumes.

  • f- Use to compare all the blocks.

    Note:

    This option can be used only when the Smart Move option is not enabled.

  • x- Use to compare only the blocks that the file system uses.

    Note:

    This option can be used only if the file system is NTFS or ReFS and the mirrors are created using the Smart Move option.

-d

Enables the utility to dump mismatched blocks.

n|all

Specifies the number of mismatched blocks to dump.

  • n specifies the number of mismatched blocks.

  • "all" specifies the dumping of all mismatched blocks.

<DynamicDiskGroupName>

Specifies the dynamic disk group of the volume.

Note:

The name of the disk group is case-sensitive.

<Volume Name>

Specifies the volume to process.

offset

Specifies the offset for comparison. Offset is specified as a number of blocks.

length

Specifies the length for comparison. Length is specified as a number of blocks.

Note:

If no length is specified, then the entire volume is compared.

Example

vxverify -g Accounting test

This command performs a comparison of the volume test of the disk group Accounting and its mirrors.