Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)

Chapter 3 Command Descriptions 83
delete vdisk
Description
Deletes one or more virtual disks, disassociates all disk drives that are assigned to
the virtual disks, and unmaps all volumes of the virtual disks from all host ports.
Caution – Deleting a virtual disk will delete all data on that virtual disk.
Note – You cannot delete a virtual disk that contains a snap pool associated with a
master volume on another virtual disk. You cannot delete a virtual disk that is
reconstructing.
Input
Example
Delete a virtual disk.
delete vdisk vdisks [prompt yes|no]
Parameter Description
vdisks Specifies the virtual disks to delete. For the syntax to use,
“Virtual Disk Syntax” on page 26.
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.
# delete vdisk VD1
Please wait - Vdisk is being deleted.
Info: Deleted vdisk VD1
Success: Command completed successfully