Deleting a target volume or target set

To remove a target volume from a target set or to remove a complete target set, run the following steps to free up the target volumes:

Procedure

  1. Run the following command to unmount the file systems and export the volume groups on a backup system. If the backup is not mounted, do not run this step.

    fcmcli -f unmount [-B <backupID>]

    This method is used when the backup that is using this target set is mounted

  2. Based on the use of this target set, any existing source, and target FlashCopy® relationships (such as INCR or NOCOPY) must be withdrawn. Run the following command:

    db2acsutil delete options "DELETE_FORCE"

Results

The withdrawal of the source and target FlashCopy relationship is done by the IBM® Storage Protect Snapshot generic device agent, acsgen, as a background operation. This process can take up to 10 minutes. Do not try to reuse the target volumes before the actual process completes successfully.