lsvdiskfcmappings
Use the lsvdiskfcmappings command to display a list of FlashCopy® mappings to which the volume belongs. A volume can be part of up to 256 FlashCopy mappings.
Syntax
>>- lsvdiskfcmappings -- --+----------+-- ----------------------> '- -nohdr -' >--+-----------------------+-- --+- vdisk_name -+-------------->< '- -delim -- delimiter -' '- 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.
- -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, 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 one-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 a list of all FlashCopy mappings is required.
Description
The lsvdiskfcmappings command returns a list of all FlashCopy mappings that the volume is a member of. The list is returned in no particular order.
An invocation example
lsvdiskfcmappings -delim : vdisk2
The resulting output:
fc_id:fc_name
1:fcmap1
3:fcmap3