Deleting a copy from a HyperSwap volume

Use either the management GUI or the command-line interface to delete a copy from a HyperSwap volume.

The rmvolumecopy command removes a copy from a HyperSwap volume. The rmvolumecopy command identifies a volume copy to delete by specifying either the -site, the -pool, or -copyid parameters. The copy is removed without affecting the image of the volume, which means that this command is unable to remove the last active copy of the volume from the system. To remove the last active copy for the HyperSwap volume, use the rmvolume command. Ensure that the HyperSwap volume is removed from any consistency groups it belongs to before the last copy on the site is removed. To remove a copy or copies from a HyperSwap volume in the management GUI, select Volumes. Expand the HyperSwap volume and right-click the copy that you want to remove and select Delete this copy.

  1. If only one copy of the HyperSwap volume exists on the site, enter the following command, where newyork is the name of the site where the copy is located.
    rmvolumecopy -site newyork
  2. If more than one copy of the HyperSwap volume exists on the site, enter the following command, where nycpool is the name of the pool where the copy is located and 1 is the copy ID for the specific copy that is being deleted.
    rmvolumecopy -pool nycpool -copyid 1