lsrcrelationshipcandidate

Use the lsrcrelationshipcandidate command to list volumes that can form Metro Mirror, Global Mirror, or active-active relationships. You can list eligible volumes that are on the local or remote system.

Syntax

lsrcrelationshipcandidate [ -master { master_vdisk_id | master_vdisk_name } ] [ -aux { aux_cluster_id | aux_cluster_name } ] [ -nohdr ] [ -delimdelimiter ]

Parameters

-mastermaster_vdisk_id | master_vdisk_name
(Required) Specifies a particular volume to use as the master volume. The command finds candidates that match the size of this volume. If you are requesting candidate volumes on the local system, this command also matches the io_group.
-auxaux_cluster_id | aux_cluster_name
(Required) Specifies a remote system with volume candidates for an intersystem relationship. If you do not specify this parameter, the candidates on the local system are displayed.
-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.

Description

This command displays a list of volumes that can be either the master or the auxiliary disk for a Metro Mirror, Global Mirror, or active-active relationship. Volume IDs and names are displayed.
Note: Volumes that are flash disks are excluded from the view when a FlashCopy map is constructed.

An invocation example

lsrcrelationshipcandidate -delim :

The resulting output:

id:vdisk_name
0:vdisk0
4:vdisk4