HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
Command View XP Command Line Interface (CLI) reference guide 125
create lun
Description This command creates a LUN (or path). This command executes successfully if no path from the port
to the LDEV and no other LUN is assigned for the port, SCSI ID, and LUN ID. This command allows
for the addition of multiple paths in the array in one operation. Each port can have maximum of 256
paths.
A range can be given for either ports or LUN IDs and LDEVs, but not both. Specify range values
within square brackets [ ].
Syntax create lun <portname>, <scsi_id>, <lun_id>, <cu>, <ldev>
Arguments <portname>
The port from which the path has to be created. Port names are not case sensitive.
<scsi_id>
The SCSI ID to assign to the path being created. SCSI IDs are represented in hexadecimal.
<lun_id>
The LUN ID to assign to the path being created. LUN IDs are represented in hexadecimal.
<cu>
The CUs to which paths have to be created. CUs must be specified in hexadecimal.
<ldev>
The LDEVs to which paths have to be created. LDEVs must be specified in hexadecimal.
Example
create lun CL1-A, 0f, 10, 0, 1
create lun [CL1-A-CL1-E], 0f, 23, 0, 2b
create lun CL1-A, 0f, [24-2f], 0, [2b-36]