CLI Guide

Table Of Contents
virtual-volume destroy
Destroys existing virtual volumes.
Contexts
All contexts.
Syntax
virtual-volume destroy
[-v|--virtual-volumes] context-path,context-path...
[-f|--force]
Arguments
Required arguments
[-v|--virtual-volumes]
context-path, context-path...
List of one or more virtual volumes to destroy. Entries must be separated by commas. The
specified virtual volumes must not be exported to hosts.
Optional arguments
[-f|--force]
Forces the destruction of the virtual volumes without asking for confirmation. Allows this
command to be run from non-interactive scripts.
Description
Deletes the virtual volume and leaves the underlying structure intact. The data on the volume is no longer accessible.
Only unexported virtual volumes can be deleted. To delete an exported virtual volume, first remove the volume from the storage
view.
Examples
VPlexcli:/clusters/cluster-1> virtual-volume destroy -v was_1_leg_r1_vol/
WARNING: The following items will be destroyed:
Context
-----------------------------------------------------
/clusters/cluster-1/virtual-volumes/was_1_leg_r1_vol
Do you wish to proceed? (Yes/No) y
See also
virtual-volume create
virtual-volume expand
Commands
331