lsfcconsistgrp

The lsfcconsistgrp command returns a concise list or a detailed view of FlashCopy® consistency groups that are visible to the cluster. This information is useful for tracking FlashCopy consistency groups.

The list report style can be used to obtain two styles of report:

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svcinfo -- -- lsfcconsistgrp -- ---------------------------->

>--+-----------------------------------+-- --+----------+-- ---->
   '- -filtervalue -- attribute=value -'     '- -nohdr -'      

>--+-----------------------+-- -- --+-----------------+--------->
   '- -delim -- delimiter -'        '- -filtervalue? -'   

>--+---------------+-------------------------------------------><
   +- object_id ---+   
   '- object_name -'   

Parameters

-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are returned.
Note: Some filters allow the use of a wildcard when you enter the command. The following rules apply to the use of wildcards with the SAN Volume Controller CLI:
  • The wildcard character is an asterisk character (*).
  • The command can contain a maximum of one wildcard, which must be the first or last character in the string.
  • When you use a wildcard, surround the filter entry with double quotation marks (""), as follows:
    svcinfo lsfcconsistgrp -filtervalue "name=md*"
-nohdr
(Optional) By default, headings are displayed for each item of data in a concise view. The -nohdr parameter suppresses the display of these headings. Detailed view is not valid for this command.
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 possible width of each item of data. In a detailed view, each item of data has its own row, the headers are displayed, and the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a one byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
object_id | object_name
(Optional) Specifies the name or ID of an object. When you use this parameter, the detailed view of the specific object is returned and any value that is specified by the -filtervalue parameter returns an error message. If you do not specify the object_id or object_name parameter, the concise view of all objects matching the filtering requirements that is specified by the -filtervalue parameter are displayed.
-filtervalue?
(Optional) Displays the list of valid filter attributes in the report. The valid filter attributes for the svcinfo lsfcconsistgrp command are:
  • name
  • id
  • status
  • FC_group_id

Description

This command returns a concise list or a detailed view of FlashCopy consistency groups that are visible to the cluster.

The following list provides values of the status attribute that are displayed as data in the output views:
status
empty, idle_or_copied, preparing, prepared, copying, stopped, suspended, stopping

A concise invocation example

svcinfo lsfcconsistgrp -delim :

The concise resulting output

id:name:status
1:ffccg0:empty
2:ffccg1:idle_or_copied
3:ffccg2:idle_or_copied

A detailed invocation example

svcinfo lsfcconsistgrp -delim : 1

The detailed resulting output

id:1
name:ffccg0
status:empty

A detailed invocation example

svcinfo lsfcconsistgrp -delim : fccstgrp0

The detailed resulting output

id:1 
name:FCcgrp0 
status:idle_or_copied 
autodelete:off 
FC_mapping_id:0 
FC_mapping_name:fcmap0 
FC_mapping_id:1 
FC_mapping_name:fcmap1
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.