prestartfcmap

You can use the prestartfcmap command to prepare a FlashCopy mapping to start. This command flushes the cache of any data destined for the source virtual disk and force the cache into write-through mode until the mapping is started.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svctask -- -- prestartfcmap -- --+- fc_map_id ---+---------><
                                     '- fc_map_name -'

Parameters

fc_map_id | fc_map_name
Specifies the name or ID of the mapping to prepare.

Description

This command prepares a single mapping for subsequent triggering. The preparation step ensures that any data that resides in the cache for the source virtual disk is first flushed to disk. This step ensures that the copy that is made is consistent with what the operating system thinks is on the disk.

The mapping enters the preparing state. After the preparation is complete, it changes to the prepared state. At this point, the mapping is ready for triggering.

Preparing and the subsequent triggering is usually performed on a consistency group basis. Only mappings belonging to Consistency Group 0 can be prepared on their own. A FlashCopy must be prepared before it can be triggered.

Possible failures

Examples

An invocation example

svctask prestartfcmap 1