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

DescriptionStatusParameter name
Pool ID
Specify the pool ID of the THP pool to be shrunk.
Required
poolid
Device number of the logical unit(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.
The maximum number of device numbers that can be specified
is 1,024.
Required
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.
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 parameter. 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
Device Manager CLI command reference194