rmvdiskcopy

Use the rmvdiskcopy command to remove a volume copy from a volume. This command cannot be used for high availability volumes.

Syntax

rmvdiskcopy -copy copy_id [ -force ] { vdisk_name | vdisk_id }

Parameters

-copycopy_id
(Required) Specifies the ID of the copy to delete.
-force
(Optional) Forces the deletion of the last synchronized copy of a volume, which deletes the entire volume. The parameter also forces the deletion of a nonmirrored volume, a copy that is migrating to image mode, or an image-mode copy that has virtual medium errors.
vdisk_name | vdisk_id
(Required) Specifies the volume to delete the copy from. You must specify this parameter last on the command line.

Description

The rmvdiskcopy command deletes the specified copy from the specified volume. The command fails if all other copies of the volume are not synchronized; in this case, you must specify the -force parameter, delete the volume or more, or wait until the copies are synchronized.
Remember: This command is unsuccessful if:
  • Volume protection is enabled
  • The last volume copy being deleted has received I/O within the defined volume protection time period

An invocation example

rmvdiskcopy -copy 1 vdisk8

The resulting output:

No feedback