beautypg.com

HP StorageWorks XP10000 Disk Array User Manual

Page 28

background image

Command Line Interface Commands 28


Table 4-10

AddLogicalUnit Command Parameters

Parameter Name

Status

Description

emulation

Optional

Emulation type of the logical unit in the StorageWorks XP Disk Array. Specify
the same emulation type as the array group in which a logical unit is created.

devnum

Optional

LU device number. If omitted, the number is automatically generated.

lusubinfo

Optional

If set to LDEV, return the information on LDEV(s) related to the LU. Do not
include any LU LDEVs. The only value possible is LDEV, which is not case-
sensitive.

Command execution example: In this example, the CLI command creates a logical unit (capacity:
1,000,080KB

, emulation type: OPEN-3) for an array group (chassis number: 4, array group number: 32) in a

storage subsystem (serial number: 10001, model: XP1024). The LDEVs used to create the logical unit are
obtained from the execution result.

hdvmcli AddLogicalUnit -o "D:\logs\XP1024 AddLogicalUnit.log" serialnum=10001

model=XP1024 chassis=4 groupnum=32 capacity=1000080 emulation=OPEN-3 lusubinfo=LDEV

devnum=176

Command execution result:

RESPONSE:

An instance of StorageArray

.

. (Attributes of StorageArray are omitted here)

.

List of 1 Lu elements:

An instance of LogicalUnit

objectID=LU.HDS9980V.10001.176

devNum=176

displayName=0:B0

emulation=OPEN-3

devCount=1

devType=

capacityInKB=1,000,080

path=false

commandDevice=false

chassis=4

arrayGroup=32

raidType=RAID5(3D+1P)

currentPortController=-1

defaultPortController=-1

isComposite=0

continuousAccessVolumeType=Simplex

businessCopyVolumeType=Simplex

snapshotVolumeType=Simplex

journalVolumeType=Simplex

sysVolFlag=0

externalVolume=0

differentialManagement=0

List of 1 Ldev elements:

An instance of LDEV

objectID=LDEV.HDS9980V.10001.176

devNum=176

displayName=0:B0

emulation=OPEN-3

cylinders=0

isComposite=0

sizeInKB=1,000,080

lba=14,351,040

raidType=RAID5(3D+1P)

slotSizeInKB=48

chassis=4

arrayGroup=32