rmvolume

Use the rmvolume command to remove a volume.

Syntax

Read syntax diagramSkip visual syntax diagram  rmvolume   -removehostmappings  -removefcmaps  -discardimage  -cancelbackup   volume_id  volume_name 

Parameters

-removehostmappings
(Optional) Allows a volume to be deleted even if host mappings are removed and this volume is deleted.
-removefcmaps
(Optional) Allows a volume to be deleted even if it is a part of a FlashCopy® mapping and regardless of the state of the mappings.
-discardimage
(Optional) Allows a volume to be deleted even if data on an image mode copy cannot be made consistent.
Important: Using this parameter might result in data loss. Use it only under the direction of your product support information, or if you are willing to accept the risk of data loss on the volume.
-cancelbackup
(Optional) Allows a volume to be deleted even if a backup operation is in progress.
Important: Using this parameter might result in data loss. Use it only under the direction of your product support information, or if you are willing to accept the risk of data loss on the volume.
volume_id | volume_name
(Required) Specifies the volume to be removed.

Description

Use the rmvolume command to remove a volume.

Important: Using this command deletes all copies of a volume and it cannot be undone. If the volume is replicated, the recovery copy of the volume will also be removed unless the recovery volume group has independent access enabled.

An invocation example to remove a volume

rmvolume 0

The detailed resulting output:

No feedback