showcpset

Use the showcpset command to display properties for a copy set.

Syntax

Read syntax diagramSkip visual syntax diagramshowcpset-help-h-?-h1 h1_volume_idh1_volume_name session_name -

Parameters

-help | -h | -?
Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
-h1 {h1_volume_id | h1_volume_name}
Specifies the volume at host site 1.
For IBM® DS8000, and IBM® TotalStorage Enterprise Storage Server® Model 800 storage systems, use the volume ID for this parameter.
For other storage systems, you can use the volume ID or name for this parameter.
session_name | -
Specifies the session name to which the copy set belongs.

Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin). The dash is supported only in single-shot mode.

The following information is listed for the copy set.

Column Label Details
H1 Volume ID The ID of the volume at host site 1. This ID is used to identify a copy set in a session. The volume ID is displayed regardless of whether you provide the volume ID or name for the -h1 parameter.
Session The session name.
Volumes The volumes that are associated with the copy set. Output is formatted to show the role and the volume ID for that role in the copy set.
Last Result The last message that was issued.

Example: Listing copy set properties by using the volume ID

The following command lists the properties for the copy set with the host volume ID DS8000:2107.NK791:VOL:1500 in the session session1:

csmcli> showcpset -h1 DS8000:2107.NK791:VOL:1500 session1

The following output is returned:

H1 Volume ID  DS8000:2107.NK791:VOL:1500
Session       session1
Volumes       H1-DS8000:2107.NK791:VOL:1500, H2-DS8000:2107.MW931:VOL:1500, 
              H3-DS8000:2107.04131:VOL:1500, I3-DS8000:2107.04131:VOL:1505, 
              J3-DS8000:2107.04131:VOL:150A
Last result   None

IWNR1500I  Session information about session session1 was successfully obtained.

Example: Listing copy set properties by using the volume name

The following command lists the properties for the copy set with the host volume STORWIZE-V7000:VOL:TPCRTBIRD2:CSMRegr_vol08 in the session session2. In this example, the volume name CSMRegr_vol08 is provided for the copy set in the command. The corresponding volume ID is shown in the output.

csmcli> showcpset -h1 STORWIZE-V7000:VOL:TPCRTBIRD2:CSMRegr_vol08 session2

The following output is returned:

H1 Volume ID  STORWIZE-V7000:VOL:TPCRTBIRD2:7
Session       session2
Volumes       H1-STORWIZE-V7000:VOL:TPCRTBIRD2:7, T1-STORWIZE-V7000:VOL:TPCRTBIRD2:8
Last result   None

IWNR1500I  Session information about session session2 was successfully obtained.