Displaying the progress of Metro Mirror, Global Mirror, or active-active relationships by using the CLI

You can use the command-line interface (CLI) to display the background copy of Metro Mirror, Global Mirror, or active-active relationships as a percentage. When the initial background copy process for a relationship is completed, null is displayed for the progress of that relationship.

To display the progress of the background copy of Metro Mirror, Global Mirror, or active-active relationships, run the lsrcrelationshipprogress command.

  1. To display data progress without headings for columns of data or for each item of data in a Metro Mirror, Global Mirror, or active-active relationship, run the lsrcrelationshipprogress -nohdr command.
    For example, to display data of the relationship with headings suppressed, enter the following command, where rc_rel_name is the name of the specified object type.
    lsrcrelationshipprogress -nohdr rc_rel_name
  2. To display the progress of a background copy of a Metro Mirror, Global Mirror, or active-active relationship as a percentage, run the lsrcrelationshipprogress -delim command.
    The colon character (:) separates all items of data in a concise view, and the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter. For example, enter the following command:
    lsrcrelationshipprogress -delim : 0
    The resulting output is displayed, such as in this example:
    id:progress
    0:58