Skip to main content
SANtricity commands

Check repository consistency

Contributors netapp-driley

The check repositoryConsistency command produces a report based on analysis of the data in a specified object's underlying repository volume.

Supported Arrays

This command applies to any individual storage array, including the E4000, E2700, E5600, E2800, E5700, EF600 and EF300 arrays, as long as all SMcli packages are installed.

Roles

To execute this command on an E4000, E2800, E5700, EF600, or EF300 storage array, you must have the Storage Admin role.

Syntax

check (snapGroup [snapGroupName] repositoryConsistency |
snapVolume [snapVolumeName] repositoryConsistency |
volume [volumeName] repositoryConsistency |
volumeCopy target [targetName] repositoryConsistency |
asyncMirrorGroup [asyncMirrorGroupName]
repositoryConsistency localVolume="localVolumeName"]
file="filePath"

Parameters

Parameter Description

repositoryConsistency

Specifies that the snapshot group, snapshot volume, volume, or asynchronous mirror group (depending on which is specified by the corresponding parameter) is checked for consistency.

snapGroup

The name of the snapshot group on which to run a consistency check. Enclose the snapshot group name in square brackets ([ ]). If the snapshot group name contains special characters or consists only of numbers, you also must enclose the name in double quotation marks (" ") inside square brackets.

snapVolume

The name of the snapshot volume on which to run a consistency check. Enclose the snapshot volume name in square brackets ([ ]). If the snapshot volume name contains special characters or consists only of numbers, you also must enclose the name in double quotation marks (" ") inside square brackets.

volume

The name of the thin volume on which to run a consistency check. Enclose the thin volume name in square brackets ([ ]). If the thin volume name contains special characters or consists only of numbers, you also must enclose the name in double quotation marks (" ") inside square brackets.

volumeCopy

Specifies that the target of a volume copy relationship is checked for consistency.

target

Use only in conjunction with the volumeCopy parameter to specify the name of the volume that is the target of the volume copy relationship. If the volume name contains special characters or consists only of numbers, you also must enclose the name in double quotation marks (" ") inside square brackets.

asyncMirrorGroup

The name of the asynchronous mirror group on which to run a consistency check. Enclose the asynchronous mirror group name in square brackets ([ ]). If the asynchronous mirror group name contains special characters or consists only of numbers, you also must enclose the name in double quotation marks (" ") inside square brackets.

localVolume

Use only with the asyncMirrorGroup parameter to specify the name of a local volume that participates in the mirror relationship. You can specify a local volume that is either the source or the destination on a mirror relationship. Enclose the local volume name in double quotation marks (" ").

file

The file path and the file name to which you want to save the report that results from the consistency check. Enclose the file name in double quotation marks (" "). For example:

file="C:\Program Files\CLI\logs\repoConsistency.txt" This parameter must appear last, after any of the optional parameters.

Notes

The report generated by this command is intended for use by technical support to analyze problems.

Minimum firmware level

7.83