HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

poolid
Obtain this value from the execution result of the GetStorageArray (subtarget=Pool)
command. When you execute this command, specify values that have been obtained in advance
for the serialnum and model parameters, and then specify 5 (Thin Provisioning) for the
poolfilter parameter. In the execution result of this command, one or more of the poolID
values appears under An instance of Pool. Select the THP pool to shrink, and then specify
the corresponding poolID value for the poolid parameter.
devnums
Obtain this value from the execution result of the GetStorageArray (subtarget=Pool)
command. When you execute this command, specify values that have been obtained in advance
for the serialnum, model, and poolid parameters. Specify LogicalUnit for the
poolsubinfo parameter, and then specify 5 (Thin Provisioning) for the poolfunction para-
meter. In the execution result of this command, the devNum value of LogicalUnit appears
under An instance of LogicalUnit. Specify for the devnums parameter the devNum
value of a logical unit corresponding to the THP volumes that satisfy the condition for shrinking
the THP pool. The logical units that satisfy the condition for shrinking the pool are the logical units
whose thpType value is 1 (THP pool volumes), and whose thpPoolVolControlFlag value
is 2 (the THP pool can be shrunk).
Command execution example
In this example, the ShrinkPool command shrinks the THP pool for the pool volume (devnum:
00:06:0B) that belongs to the THP pool whose pool ID is 1 (poolid: 1) in the storage system (serial
number: 53039, model: P9500).
hdvmcli ShrinkPool -o "D:\logs\ShrinkPool.log"
model=P9500 serialnum=53039 poolid=1 devnums=00:06:0B
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 Pool elements:
An instance of Pool
objectID=*****
poolFunction=5
poolID=1
controllerID=-1
poolType=32
status=20
threshold=70
threshold2=80
threshold2Mode=0
capacityInKB=319,678,464
freeCapacityInKB=319,678,464
usageRate=0
numberOfPoolVols=31
numberOfVVols=1
capacityOfVVolsInKB=419,457,024
Command reference210