Table 4-20 addvirtualvolume command parameters – HP XP Command View Advanced Edition Software User Manual
Page 77
Command line interface commands
77
Format when the command is used to create THP volumes in an existing virtual volume
group:
hdvmcli [
URL] AddVirtualVolume model=model serialnum=serial-number
groupoption=exist arraygroupname=
name-of-virtual-volume-group capacity=capacity-of-virtual-
volumes [numoflus=number-of-THP-volumes] [devnum=device-number-of-logical-unit]
[poolid=
pool-ID-of-THP-pool [threshold=usage-rate-threshold-of-THP-volumes]]
[capacitytype={BK|block}]
If you use the poolid parameter to specify the pool ID of a THP pool, the THP volumes that are
created are assigned to that THP pool.
If no SSID is assigned to devNum of the created THP volumes, one is assigned automatically. For
details about the SSID, see the storage subsystem documentation.
The virtual volume group and the virtual volumes must satisfy the following conditions:
•
They must have an emulation type of OPEN-V.
•
The free space on the virtual volume must be larger than the capacity of the THP volumes.
•
If you are creating virtual volumes in an existing virtual group, the CLPR number of any THP
pool that you specify must be the same as the CLPR number of the virtual volume group.
For details about the following conditions, see the XP Thin Provisioning Software documentation:
•
The minimum and maximum capacities of THP volumes
•
The number of THP volumes that you can create in a single virtual volume group
•
The number of THP volumes that you can assign to a single THP pool
•
The number of virtual volume groups that you can create under a single disk controller
NOTE:
Because a THP volume management area is created, you cannot create THP volumes
that have a total capacity equal to the free space in the virtual volume group.
NOTE:
To create virtual volumes within an existing virtual volume group, you must have XP
Virtual LVI/LUN (VLL) and Volume Shredder installed in the storage subsystem.
Table 4-20
AddVirtualVolume command parameters
Parameter Name Status
Description
model
Required Model of the storage subsystem
serialnum
Required Serial number of the storage subsystem
groupoption
Optional
Specifies whether to create THP volumes within an existing virtual volume
group.
Specify exist to create the THP volumes in an existing virtual volume
group.
NOTE:
If you specify this parameter, you must also specify the
arraygroupname
parameter.
arraygroupname
Optional
Name of a virtual volume group
Use the format Xn-1 (where n is a numeric character) to specify the virtual
volume group name.
NOTE:
You must specify this parameter if you specify exist in the
groupoption
parameter.
capacity
Required Capacity of THP volumes (KB)
You can use the capacitytype parameter to change the unit of capacity
to block.