You can use the command rmvolumecopy or the management GUI to delete a
copy from a volume.
Before you begin
The rmvolumecopy command deletes a copy from a volume. You cannot use this
command to delete the last active copy of a volume. To delete a copy from a HyperSwap® volume, which is part of a consistency group, the
volume must be first removed from that consistency group before you remove the last copy from a
site. In the management GUI, select Volumes, right-click the volume copy, and
select Delete this Copy.
Procedure
- Enter the following command to delete a copy from a mirrored volume:
rmvolumecopy -copy copy_id volume_name
Where copy_id is the ID of the copy to be deleted and
volume_name is the name of volume from which the copy is to be
deleted.
- Issue this command to delete a copy from a HyperSwap or a stretched volume:
rmvolumecopy -site site_name volume_name
Where site_name is the site where the copy is located and
volume_name is the name of volume from which the copy is to be
deleted.
- Issue this command if more than one copy of a HyperSwap volume exists on a site to uniquely identify the copy to be removed.
rmvolumecopy -pool pool_name -copy copy_id volume_name
Where
pool_name is the name of a storage pool,
copy_id is the
ID of the copy to be deleted, and
volume_name is the name of volume from which
the copy is to be deleted.