Use the lsvdiskfcmapcopies command to display a list of all FlashCopy® mappings with a target volume
that contains a valid copy of the specified volume.
Syntax
lsvdiskfcmapcopies [ -nohdr ] [ -delim delimiter ] { vdisk_name | vdisk_id }
Parameters
- -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.
- -delimdelimiter
- (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.
- vdisk_name | vdisk_id
- (Required) Specifies the name or ID of the volume for
which the FlashCopy® mappings
are displayed.
Description
This command returns a list of the FlashCopy® mappings that have a target
volume with a valid copy of the specified volume. The target volumes of these
mappings can be considered as candidate source volumes for mappings to restore from.
The mappings that are returned are in the copying, idle_copied, or stopping state with 100%
progress.
Note: Maps that are rc_controlled are not shown in the view when this command is
specified.
An invocation example
lsvdiskfcmapcopies -delim : 0
The
resulting output
id:name:status:progress:difference:start_time:target_vdisk_id:
target_vdisk_name:group_id:group_name
2:fcmap2:copying:80:10:060627083137:10:vdisk10::
5:fcmap5:idle_copied:100:20:060627073130:12:vdisk12:1:fccstgrp1