FlashCopy mapping events
FlashCopy® mapping events detail the events that modify the state of a FlashCopy mapping.
Table 1 provides a description of each
FlashCopy mapping event.
Event | Description |
---|---|
Create | A new FlashCopy mapping is created
between the specified source volume and the specified target
volume. The operation fails if any of the following situations is true: |
Prepare | The prepare command is directed to either a consistency
group for FlashCopy mappings that are members of a
normal consistency group or to the mapping name for FlashCopy mappings that are stand-alone mappings. The prepare command
places the FlashCopy mapping into the preparing state.
Attention: The prepare command can corrupt any data that previously
resided on the target volume because cached writes are discarded. Even if the FlashCopy mapping is never started, the data from the target
might logically change during the act of preparing to start the FlashCopy mapping.
|
Flush done | The FlashCopy mapping automatically moves from the preparing state to the prepared state. This is done after all cached data for the source is flushed and all cached data for the target is no longer valid. |
Start | When all the FlashCopy mappings in
a consistency group are in the prepared state, the FlashCopy mappings can be started. To preserve the cross volume consistency group, the start of all of the FlashCopy mappings in the consistency group must be synchronized correctly regarding I/Os that are directed at the volumes. This alignment is achieved during the start command. The following series of events occurs during the start command:
As part of the start command, read and write caching is enabled for both the source and target volumes. |
Modify | The following FlashCopy mapping
properties can be modified: |
Stop | There are two separate mechanisms by which a FlashCopy mapping can be stopped: |
Delete | This command requests that the specified FlashCopy mapping is deleted. If the FlashCopy mapping is in the stopped state, the force flag must be used. |
Flush failed | If the flush of data from the cache cannot be completed, the FlashCopy mapping enters the stopped state. |
Copy complete | After all of the source data is copied to the target and there are no dependent mappings, the state is set to copied. If the option to automatically delete the mapping after the background copy completes is specified, the FlashCopy mapping is automatically deleted. If this option is not specified, the FlashCopy mapping is not automatically deleted and can be reactivated by preparing and starting again. |
Bitmap Online/Offline | The node fails. |