Deleting a FlashCopy consistency group using the CLI

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

Before you begin

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.

About this task

Follow these steps to delete an existing consistency group:

Procedure

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

    where fc_consist_group_id or fc_consist_group_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_consist_group_id or fc_consist_group_name
    where fc_consist_group_id or fc_consist_group_name is the ID or name of the consistency group 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.

Results

The command does not return any output.