HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
Command View XP Command Line Interface (CLI) reference guide 163
expand lun
Description This command creates an expanded LUN.
Syntax expand lun <top_cu>, <top_ldev>, <device_ldevs...>
-lun <portname>, <scsi_id>, <lun_id>, <cu>, <ldev>
or
expand lun <top_cu>, <top_ldev> -limit <ldev_count>
-lun <portname>, <scsi_id>, <lun_id>, <cu>, <ldev>
Arguments <top_cu>
The CU number of the first LDEV in the expanded volume. <top_cu> should be specified in
hexadecimal.
<top_ldev>
The LDEV number of the first LDEV in the expanded volume. <top_ldev> should be specified in
hexadecimal.
<device_ldevs...>
The list of LDEVs to be expanded. <device_ldevs> should be specified in hexadecimal and
separated by commas. This option cannot be used with the -limit option.
-limit <ldev_count>
The number of LDEVs to create. This option cannot be used with <device_ldevs>.
-lun <portname>, <scsi_id>, <lun_id>, <cu>, <ldev>
The -lun option specifies the paths to the LUSE volume. <portname>, <scsi_id>,
<lun_id>, <cu>, <ldev> specify the complete path. If specifying more than one port, enclose
the port names in brackets (for example, [CL1-A-CL1-E]). Port names are not case sensitive. LUNs,
CUs, and LDEVs must be given in hexadecimal.
Example The following example creates an expanded LUN with top CU:LDEV 0:20 and device CU:LDEV
0:30, 0:34 and 0:37. It creates a LUN from CL1-A to the expanded LUN 0:20.
expand lun 0, 20, 30,34,37 -lun CL1-A, 0f, 10, 0, 20
The following example creates an expanded LUN with top CU:LDEV 0:20 and three device
CU:LDEVs. It creates a LUN from port CL1-A to the expanded LUN 0:20.
expand lun 0, 20, -limit 3 -lun CL1-A, 0f, 10, 0, 20