HP MSA 1040 CLI Reference Guide (762782-001, March 2014)
delete vdisks 87
delete vdisks
Description Deletes specified vdisks. Unmaps and deletes all volumes and snapshots in the vdisks and frees all
disks from the vdisks.
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.
NOTE: If you delete a quarantined vdisk and its missing disks are later found, the vdisk reappears
as quarantined or offline and you must delete it again (to clear those disks).
Syntax
delete vdisks
[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: Stop the utility and allow the command to proceed.
• no: Cancel the command.
If this parameter is omitted, you must manually reply to the prompt.
vdisks
A comma-separated list of the names or serial numbers of the vdisks to delete. For vdisk syntax, see
"Command syntax" (page 20).
Example Delete vdisks VD1 and VD2:
# delete vdisks VD1,VD2
Info: Vdisk VD1 was deleted. (VD1) (2012-01-21 12:59:54)
Info: Vdisk VD2 was deleted. (VD2) (2012-01-21 12:59:54)
Success: Command completed successfully. (2012-01-21 12:59:54)
Delete vdisk VD3 on which a utility is running:
# delete vdisks VD3
Vdisk VD3 has jobs running. Do you want to continue? yes
Info: Please wait - vdisks are being deleted.
Info: Vdisk VD3 was deleted. (VD3) (2012-01-21 13:00:18)
Success: Command completed successfully. (2012-01-21 13:00:18)
See also • create vdisk
• show master-volumes
• show vdisks