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

and LDEV for the subtarget parameter. In the execution result of this command, the devNum
values of the LDEVs appear in an LDEV. Use the devNum value of the LDEV for which path=false
and onDemandDevice=false to specify the devnum parameter.
lusedevnums
Obtain this value from the execution result of the GetStorageArray (subtarget=LDEV)
command. In the execution result of this command, the devNum values of the LDEVs appear in
an LDEV. Use the devNum value of the LDEV for which path=false and onDemand-
Device=false to specify the lusedevnums parameter. Choose only the LDEVs that share the
same emulation, sizeInKB, and raidType attributes, and specify them in the form of a comma-
separated list.
Command execution example 1
hdvmcli AddLun -o "D:\logs\AddLun.log" "serialnum=10001" "model=XP1024"
"name=hp" "port=1" "domain=4" "scsi=15" "lun=114" "lusedevnums=1001,1002"
Command execution result 1
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 Path elements:
An instance of Path
objectID=*****
name=hp
devNum=1,001
displayDevNum=03:E9
portID=1
portName=CL1-B
domainID=4
scsiID=15
LUN=114
wwnSecurityValidity=true
List of 2 Ldev elements:
An instance of LDEV
objectID=*****
devNum=1,001
displayName=03:E9
emulation=OPEN-3
cylinders=0
isComposite=1
sizeInKB=2,403,360
lba=1,201,680
raidType=RAID5(3D+1P)
substance=0
volumeType=3
slotSizeInKB=48
chassis=3
arrayGroup=16
arrayGroupName=3-2-1
path=false
Command reference218