HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

82 CLI commands for the XP128/XP1024/XP10000/XP12000
Example Using the continuous offset option
create luse topCU, topLDev -continuous offset [-lun <port…>
,hostgrpnickname, lunid]
To use this option, provide the top LDEV and an offset that specifies how many subsequent LDEVs to
append to the top LDEV to create a LUSE volume.
If the top LDEV is an existing LUSE volume and the LDEVs under the offset are not LUSE volumes:
The new LUSE volume will be formed by combining the LDEVs of the existing top LUSE and the
subsequent ascending LDEVs. The total number of LDEVs in the new LUSE volume will equal the
value of (offset+1).
If the top LDEV is not a LUSE volume and some of the remaining LDEVs under the offset contain
LUSE volumes:
The new LUSE volume will be formed by combining the top LDEV and the LDEVs of the existing
subsequent LUSE volumes and subsequent ascending normal LDEVs until the total number of
LDEVs in the new LUSE volume equals (offset+1).
If the top LDEV is an existing LUSE volume and some of the remaining LDEVs under the offset
contain LUSE volumes:
The new LUSE volume will be formed by combining the LDEVs of the existing top LUSE, and the
LDEVs of the already existing subsequent LUSEs and ascending LDEVs. The total number of LDEVs
in the new LUSE volume equals (offset+1).
If the offset value is such that part of an existing LUSE must be broken to form a new LUSE, the
following error message appears: The existing LUSEs that are to be further
expanded must be of type “continuous LUSE”.
The following examples refer to an array in which (0:0, 0:1) is a LUSE volume, (0:2, 0:3) is a LUSE
volume, and (0:4) is a normal LDEV.
Example 1
create luse 0,0 -continuous 4
This command creates a new LUSE volume of size 5 (offset+1).
Since there are two continuous LUSEs present, this command considers all four of the LDEVs in those
LUSEs. To complete the request, the four LDEVs in the LUSEs are combined with one normal LDEV to
form a new LUSE. The new LUSE will be composed of five continuous LDEVs (0:0, 0:1, 0:2, 0:3,
0:4).
Example 2
create luse 0,0 -continuous 2
To complete this request, the second LUSE (0:2, 0:3) must be broken into individual LDEVs to
accommodate the LDEV (0:2) to be joined with (0:0, 0:1). In this case an error message occurs
because reducing the size of an LUSE is not allowed.
If (0:0, 0:1) is not a continuous LUSE, for example, if it is made of (0:0, 0:3), an error message
appears.