88
Alphabetical list of commands
delete vdisks
Description
Deletes specified vdisks. Unmaps and deletes all volumes and snapshots in the vdisks and
disassociates all disks assigned to 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.
•
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
Names or serial numbers of the vdisks to delete. For vdisk syntax, see
Command syntax
on page 22.
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
•
show master-volumes
•
show vdisks
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...