Removing FlashCopy relationships

Complete this task to remove FlashCopy relationships that exist with the volumes that are part of your Global Mirror environment. In addition, this task is the third step in removing the Global Mirror environment from your system.

Ensure that the following tasks have been completed before invoking this step when you are removing your Global Mirror environment:
  • Remove the volumes that are associated with each Global Mirror session you have closed.
  • End the Global Mirror sessions that are part of your Global Mirror environment.
If you attempt to remove the FlashCopy relationships (as part of removing the Global Mirror environment) before doing the first two tasks, this task fails.
This task step only applies as part of the removal of your Global Mirror environment.
Note: Make certain that you no longer need your consistent set of data before you withdraw your relationships. If you still need your consistent data perform a backup data before proceeding with this task.

Perform the following steps to remove FlashCopy relationships that existed with the volumes that were part of your Global Mirror environment. The example commands in this task are shown in two formats. The first format shows the type of information the command requires. The second format provides the command with declared values for the variables.

  1. Issue the lsflash command to check the status information for each FlashCopy relationship at the remote site. A detailed report (when you use the -l parameter) is displayed for each FlashCopy relationship. Enter the lsflash command at the dscli command prompt with the parameters and variables shown as follows:

    dscli>lsflash -dev storage_imag_ID -l SourceVolumeID:TargetVolumeID.

    dscli>lsflash -dev IBM.1750-68FA150  -l 0100:0100
    Use the -l parameter to provide a more detailed report about the FlashCopy relationships.
    Note: If you originally used the mkremoteflash command to create your FlashCopy relationships, you must enter the lsremoteflash command to perform a status check.
  2. Analyze the list of volumes that have been part of your Global Mirror environment and ensure that these are the volumes from which the FlashCopy relationship must be removed.
  3. Issue the rmflash command to remove the FlashCopy volume relationships. Enter the rmflash command at the dscli command prompt with the parameters and variables shown as follows:

    dscli>rmflash -dev storage_image_ID SourceVolumeID:TargetVolumeID

    Example

    dscli>rmflash -dev IBM.1750-68FA120 0001:0004 0003:00FF 0008:000C
    Note:
    • The example shows the use of multiple FlashCopy pair IDs. Ensure that you separate multiple FlashCopy pair IDs with spaces.
    • If you used the mkremoteflash command to create your FlashCopy relationships, you must enter the rmremoteflash command to remove the FlashCopy relationships.
  4. Enter Y in response to each message that requests that you confirm that you want the specified FlashCopy pair removed. A message similar to the following appears for each FlashCopy pair being removed when you process the rmflash command.
    Are you sure you want to remove the FlashCopy pair 0001:0004? [y/n]: Y
    
    FlashCopy pair 0001:0004 successfully removed.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.