Deleting a FlashCopy mapping using the CLI

You can use the command-line interface (CLI) to delete a FlashCopy® mapping.

The svctask rmfcmap CLI command deletes an existing mapping if the mapping is in the idle_or_copied or stopped state. If it is in the stopped state, the -force parameter is required to specify that the target VDisk is brought online. If the mapping is in any other state, you must stop the mapping before you can delete it.

If deleting the mapping splits the tree that contains the mapping, none of the mappings in either resulting tree can depend on any mapping in the other tree. To display a list of dependent FlashCopy mappings, use the svcinfo lsfcmapdependentmaps command.

  1. To delete an existing mapping, issue the rmfcmap CLI command:
    svctask rmfcmap fc_map_id or fc_map_name

    where fc_map_id or fc_map_name is the ID or name of the mapping to delete.

  2. To delete an existing mapping and bring the target VDisk online, issue the following command:
    svctask rmfcmap -force fc_map_id or fc_map_name

    where fc_map_id or fc_map_name is the ID or name of the mapping to delete.

The command does not return any output.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.