4-15 formatlu, Table 4-27 deletevirtualvolume command parameters – HP XP Command View Advanced Edition Software User Manual
Page 87
![background image](/manuals/397820/87/background.png)
Command line interface commands
87
Table 4-27
DeleteVirtualVolume command parameters
Parameter Name Status
Description
model
Required
Model of the storage subsystem
serialnum
Required
Serial number of the storage subsystem
deletionoption
Optional
Specifies whether to delete virtual volumes that have not been released
from the THP pool.
To delete such THP volumes, specify force.
arraygroupnames
Optional
Name(s) of the virtual volume group(s).
Use a comma to delimit multiple values.
NOTE:
Always specify either the arraygroupnames parameter or the
devnums
parameter. Do not specify both of these parameters together.
devnums
Optional
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.
NOTE:
Always specify either the arraygroupnames parameter or the
devnums
parameter. Do not specify both of these parameters together.
Command execution example: In this example, the DeleteVirtualVolume command deletes
the virtual volume group (arraygroupnames: X200-1) containing THP volumes from the storage
subsystem (serialnum: 15065, model: XP24000). In addition, this command also deletes THP
volumes whose assignations with THP pools have not been released by specifying force for the
deletionoption
parameter.
hdvmcli DeleteVirtualVolume -o "D:\logs\XP24000\DeleteVirtualVolume.log"
model=XP24000 serialnum=15065 deletionoption=force arraygroupnames=X200-1
Command execution result:
RESPONSE:
(Command completed; empty list returned)
4-4-15 FormatLU
FormatLU
formats an LU (see
).
A user to whom a user-defined resource group is assigned and who has only the View permission
cannot execute this command.
To check whether the LDEV was formatted properly if you omitted the wait parameter, or if you
specified false in the wait parameter, first use the AddStorageArray command to refresh the
storage subsystem, and then execute the GetStorageArray (subtarget=LDEV) command and
check the value of status in the execution results. If you specified true in the wait parameter,
simply check the value of status in the execution results of the FormatLU command.
NOTE:
This command erases data on the LU. If you format an LU that is being used, you cannot
restore its data.
NOTE:
This command is available only for XP24000/XP20000 and XP12000/XP10000/SVS200.
The microcode version required for XP12000/XP10000/SVS200 is 50-09-00-XX/XX or later.