lsrcrelationshipcandidate
You
can use the
lsrcrelationshipcandidate to list VDisks
that are eligible to form Remote Copy relationships. You can list suitable
VDisks on the local or remote cluster.
Syntax

>>- svcinfo -- -- lsrcrelationshipcandidate -------------------->
>--+------------------------------------+----------------------->
'- -master --+- master_vdisk_id ---+-'
'- master_vdisk_name -'
>--+--------------------------------+-- --+----------+-- ------->
'- -aux --+- aux_cluster_id ---+-' '- -nohdr -'
'- aux_cluster_name -'
>--+-----------------------+-----------------------------------><
'- -delim -- delimiter -'
Parameters
- -master master_vdisk_id | master_vdisk_name
- You can use this parameter to specify a particular vdisk that you want
to use as the master vdisk. The command will then look for candidates that
match the size of this vdisk. If you are requesting candidate vdisks on the
local cluster, this command will also match the io_group.
- -aux aux_cluster_id | aux_cluster_name
- Specifies a remote cluster to find vdisk candidates for an inter-cluster
relationship. If you do not specify this parameter, the candidates on the
local cluster are returned.
- -nohdr
- By default, headings are displayed for each column of data (in a concise
style view), and each item of data (in a detailed style view). Using the -nohdr
parameter will suppress the display of these headings.
 | Note: If
there is no data to be displayed (for example, an empty view has been returned),
then headings are not displayed irrespective of whether the -nohdr option
was used or not. |
- -delim delimiter
- By default in a concise view, all columns of data are space separated.
The width of each column is set to the maximum possible 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. Using
the -delim parameter will override this behavior. Valid input for the -delim
parameter is a one byte character. If, for example, you entered -delim
: a colon will be used to separate all items of data in a concise view
(for example, the spacing of columns does not occur) and in a detailed view
the data is separated from its header by a colon.
Description
This command returns a list of VDisks that can be the master or auxiliary
disk for a Remote Copy relationship. VDisk IDs and names are returned.
Possible failures
- CMMVC5786E The action failed because the cluster is not in a stable state.
- CMMVC5804E The action failed because an entity that was specified in the
command does not exist.
Examples
An invocation example
svcinfo lsrcrelationshipcandidate -delim :
The resulting output
id:vdisk_name
0:vdisk0
4:vdisk4