Deleting a FlashCopy consistency group using the CLI

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

The rmfcconsistgrp CLI command deletes an existing FlashCopy consistency group. The -force parameter is required only when the consistency group that you want to delete contains mappings.

Follow these steps to delete an existing consistency group:

  1. To delete an existing consistency group that does not contain mappings, issue the rmfcconsistgrp CLI command:
    rmfcconsistgrp fc_map_id or fc_map_name

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

  2. To delete an existing consistency group that contains mappings that are members of the consistency group, issue the following command:
    rmfcconsistgrp -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.
    Important: Using the -force parameter might result in a loss of access. Use it only under the direction of your support center.

    All the mappings that are associated with the consistency group are removed from the group and changed to stand-alone mappings. To delete a single mapping in the consistency group, you must use the rmfcmap command.

The command does not return any output.