HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

DescriptionStatusParameter name
The unit for the value specified in the capacity parameter
The values you can specify are KB or block.
If this parameter is omitted, KB is set as the unit.
block can be specified for P9500, XP24000/XP20000, and
XP12000/XP10000/SVS200 only.
Optional
capacitytype
#
For P9500 and XP24000/XP20000, if you do not specify the fsindex and creationoption
parameters, you can optimize the regions of unused capacity to create an LU.
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 para-
meter, and use the serialNumber value to specify the serialnum parameter.
chassis and groupnum
Obtain these values from the execution result of the GetStorageArray (subtarget=Array-
Group) command. Execute this command by specifying only the model and serialnum para-
meters, and ArrayGroup for the subtarget parameter. In the execution result of this command,
the chassis value and the number value appear in an ArrayGroup. Use these chassis and
number values to specify the chassis and groupnum parameters respectively.
arraygroupname
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 arraygroupname parameter.
fsindex
Obtain this value from the execution result of the GetStorageArray (subtarget=FreeSpace)
command. In the execution result of this command, fsControlIndex appears under An in-
stance of FreeSpace. Use this value to specify the fsindex parameter.
Command execution example
In this example, the AddLogicalUnit command creates a logical unit (capacity: 1,000,080 KB,
emulation type: OPEN-3) for a parity group (chassis number: 4, parity group number: 32) in a storage
system (serial number: 10001, model: XP1024). The LDEVs composing the created logical unit are
obtained from the execution result.
hdvmcli AddLogicalUnit -o "D:\logs\AddLogicalUnit.log"
serialnum=10001 model=XP1024 chassis=4 groupnum=32 capacity=1000080
emulation=OPEN-3 lusubinfo=LDEV devnum=176
Command execution result
RESPONSE:
CLI Reference Guide 73