HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)

HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 61
delete vdisk
Description Deletes specified vdisks. This disassociates all disks that are assigned to the vdisks, and unmaps the
vdisks' volumes.
CAUTION: Deleting a vdisk will delete all data on that vdisk.
NOTE: You cannot delete a vdisk if it contains a snap pool that is associated with a master volume
on another vdisk.
Syntax
delete vdisk [prompt yes|no] vdisks
Parameters prompt yes|no
Optional. Specifies an automatic response to the prompt that appears if a utility is running on the
vdisk:
yes: Stops the utility and enables the deletion to proceed
no: Prevents the deletion from proceeding
If this parameter is omitted, you must manually reply to the prompt.
vdisks
Names or serial numbers of the vdisks to delete. For syntax, see Command syntax.
Example Delete vdisks VD1 and VD2:
# delete vdisk VD1,VD2
Please wait - vdisks are being deleted.
Info: Deleted vdisk VD1.
Success: Command completed successfully
Info: Deleted vdisk VD2.
Success: Command completed successfully
See also show master-volumes
show vdisks