HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

DescriptionStatusParameter name
Specifies whether to delete virtual volumes that have not been
released from the pool for Thin Provisioning Software.
To delete such volumes for Thin Provisioning Software, specify
force.
Optional
(XP24000/XP20000)
deletionoption
Name(s) of the virtual parity group(s).
Use a comma to delimit multiple values.
Always specify either the arraygroupnames parameter or the
devnums parameter. Do not specify both parameters at the same
time. If they are specified at the same time, an error will occur.
Optional
arraygroup-
names
Device number(s) of the THP volume(s).
Specify this parameter as a decimal number or colon-delimited
hexadecimal number in the format ww:xx:yy, where ww is the
LDKC number, xx is the CU number, and yy is the LDEV number.
ww is optional. If ww is omitted, LDKC is assumed to be 0.
Use a comma to delimit multiple values.
Always specify either the arraygroupnames parameter or the
devnums parameter. Do not specify both parameters at the same
time. If they are specified at the same time, an error will occur.
Optional
devnums
Parameter values to obtain in advance
serialnum and model: Obtain these values from the execution result of the GetStorageArray
command. In the execution result, use the arrayType value or the displayArrayType value to
specify the model parameter, and use the serialNumber value to specify the serialnum parameter.
arraygroupnames: Obtain this value from the execution result of the GetStorageArray
(subtarget=ArrayGroup) command. In the execution result of this command, displayName
appears under An instance of ArrayGroup. Use this value to specify the arraygroupnames
parameter.
devnums: Obtain this value from the execution result of the GetStorageArray (subtarget=LDEV)
command. Execute this command by specifying only the model and serialnum parameters, and
LDEV for the subtarget parameter. In the execution result of this command, the devNum value of
an LDEV appears under An instance of LDEV. Use this devNum value to specify the devnums
parameter.
Command execution example
In this example, the DeleteVirtualVolume command deletes the virtual parity group
(arraygroupnames: X200-1) containing volumes for Thin Provisioning Software from the storage
system (serialnum: 15065, model: XP24000). In addition, this command also deletes volumes for
Thin Provisioning Software whose assignations with pools for Thin Provisioning Software have not
been released by specifying force for the deletionoption parameter.
hdvmcli DeleteVirtualVolume -o "D:\logs\DeleteVirtualVolume.log" model=XP24000
serialnum=15065 deletionoption=force arraygroupnames=X200-1
Device Manager CLI command reference94