startfcmap

The startfcmap command starts a FlashCopy® mapping. This command makes a point-in-time copy of the source VDisk at the moment that the command is started.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svctask -- -- startfcmap -- --+---------+-- ---------------->
                                  '- -prep -'      

>--+------------+-- --+- fc_map_id ---+------------------------><
   '- -restore -'     '- fc_map_name -'   

Parameters

-prep
(Optional) Specifies that the designated mapping be prepared prior to starting the mapping. A mapping must be prepared before it can be started. When you use this parameter, the system automatically issues the prestartfcmap command for the group that you specify.
-restore
(Optional) Specifies the restore flag. When combined with the prep option, this forces the mapping to be prepared even if the target VDisk is being used as a source VDisk in another active mapping. An active mapping is in the copying, suspended, or stopping state.
fc_map_id | fc_map_name
(Required) Specifies the ID or name of the mapping to start.

Description

This command starts a single mapping, which results in a point-in-time copy of the source VDisk. You can combine the restore parameter with the prep parameter to force the mapping to be prepared prior to starting, even if the target VDisk is being used as a source VDisk of another active mapping. In this case, the mapping is restoring as shown in the svcinfo lsfcmap view. If the restore parameter is specified when starting a mapping where the target VDisksis not the source VDisk of another active mapping, then the parameter is ignored and the mapping is not restoring as shown in the svcinfo lsfcmap view.

If a mapping is started and the target VDisk of the mapping being started has up to four other incremental FlashCopy mappings using the target, the incremental recording is left on. If there are more than four other incremental FlashCopy mappings using the target VDisk, the incremental recording for all of these mappings is turned off until they are restarted.

Note: The startfcmap command can take some time to start, particularly if you use the prep parameter. If you use the prep parameter, you give additional starting control to the system. The system must prepare the mapping before the mapping is started. To keep control when the mapping starts, you must issue the prestartfcmap command before you issue the startfcmap command.

An invocation example

svctask startfcmap -prep 2

The resulting output

No feedback
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.