You can use the command-line interface (CLI) to stop a mapping.
Follow these steps to stop a single stand-alone mapping.
- To stop a mapping,
issue the following stopfcmap command:
stopfcmap fc_map_id or fc_map_name
where fc_map_id
or fc_map_name is the ID or name of the mapping to stop.
- To stop immediately all processing that is associated with the mapping and break the dependency
on the source volume of any mappings that are also dependent on the target disk, issue the following
command:
stopfcmap -force -split fc_map_id or fc_map_name
When you use the force parameter, all mappings that depend on
this mapping (as listed by the lsfcmapdependentmaps command) are also
stopped.
Important: Using the force parameter might result in a loss of
access. Use it only under the direction of the IBM Support Center.
The split parameter can be specified only when stopping a map that has a
progress of 100 as shown by the lsfcmap command. The split
parameter removes the dependency of any other mappings on the source volume. It might be used before
starting another FlashCopy mapping whose target disk is
the source disk of the mapping that is being stopped. After the mapping is stopped with the
split option, you can start the other mapping without the
restore option.