HP StorageWorks XP10000 Disk Array User Manual
Page 48

Command Line Interface Commands 48
Table 4-26
GetStorageArray (subtarget=LogicalUnit) Command Parameters
Parameter Name
Status
Description
serialnum
Optional
Serial number of the storage subsystem. When you omit this parameter, all the
storage subsystems become the target.
subtarget
Required Specify
LogicalUnit
.
lufilter
Optional
Filter for selecting a logical unit. Available values are ALL, ASSIGNED, and FREE.
When you omit this parameter or specify ALL, you will obtain information about all
the logical units.
When you specify FREE, you will obtain the information about the logical units that
do not have a LUN assigned.
When you specify ASSIGNED, you will obtain the information about the logical units
that have a LUN assigned.
lufilterchildid
Optional
Filter for selecting a logical unit. Specify the objectID of the LDEV.
Only the logical units corresponding to the LDEV of the specified objectID are
returned.
lusubinfo
Optional
Specific information about the logical unit. The values you can specify are Path,
LDEV
, and VolumeConnection. If you specify multiple values at the same time,
separate values by commas.
objectid
Optional
Object ID of the logical unit. When you omit this parameter, all the logical units
become the target.
pathsubinfo
Optional
Specific information about the logical unit path.
The value you can specify is WWN, WWNGroup, or HostInfo.
When specifying this parameter, you must also specify lusubinfo=Path.
ldevsubinfo
Optional
Information about the LDEV. The value you can specify is VolumeConnection.
When specifying this parameter, you must also specify the lusubinfo=LDEV.
Command execution example: In this example, the CLI command obtains information about the logical units in
a storage subsystem (serial number: 10001, model: XP12000). The information includes information about the
paths to the logical units, the LDEVs used in the logical units, the WWNs of the path, the WWN groups, and the
host.
hdvmcli GetStorageArray -o "D:\logs\XP12000 GetStorageArray_LogicalUnit.log"
"subtarget=LogicalUnit" "model=XP12000" "serialnum=10001" "lufilter=all"
"lusubinfo=Path,LDEV,VolumeConnection" "pathsubinfo=wwn,wwngroup,hostinfo"
"ldevsubinfo=VolumeConnection"
Command execution result:
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1752 Lu elements:
An instance of LogicalUnit
objectID=LU.USP.10001.100
devNum=100
displayName=0:64
emulation=OPEN-3
devCount=1
devType=
capacityInKB=2,403,360
path=true
commandDevice=false
commandDeviceSecurity=false
chassis=1
arrayGroup=16
raidType=RAID5(3D+1P)
currentPortController=-1
defaultPortController=-1