Deleting a mapping using the CLI

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

The 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 volume 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 mappings, use the lsfcmapdependentmaps command.

  1. To delete an existing mapping, issue the rmfcmap CLI command:
    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 volume online, issue the following command:
    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.