rmfcmap

Use the rmfcmap command to delete an existing mapping.

Syntax

Read syntax diagramSkip visual syntax diagram rmfcmap -forcefc_map_idfc_map_name

Parameters

-force
(Optional) Specifies that the target volume is brought online. This parameter is required if the FlashCopy® mapping is in the stopped state.
fc_map_id | fc_map_name
(Required) Specifies the ID or name of the FlashCopy mapping to delete. Enter the ID or name last on the command line.

Description

The rmfcmap command deletes the specified 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. If the mapping is in any other state, you must stop the mapping before you can delete it.

Deleting a mapping only deletes the logical relationship between the two volumes; it does not affect the volumes themselves. However, if you force the deletion, the target volume (which might contain inconsistent data) is brought back online.

An invocation example

rmfcmap testmap

The resulting output:

No feedback