HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
Command View XP Command Line Interface (CLI) reference guide 79
create custom_ldevs
Description This command creates new custom LDEVs and can be executed depending on the amount of free
space present in the VDEV. You can display a list of available free spaces in the VDEV by using the
list parity_group -fs command.
You must supply an LDEV ID when you create custom LDEVs. You can list unused LDEV IDs with the
list vsc -unused command.
The new custom LDEVs that are created have the same emulation type and LDEV size, and are only
for one domain, parity group, and VDEV. If you want to create custom LDEVs over multiple domains,
parity groups, and VDEVs, with different emulation types and LDEV sizes, consider using a batch file
containing multiple create custom_ldevs commands.
NOTE: This command is not supported for the OPEN-V emulation type on
XP128/XP1024/XP10000/XP12000 arrays. Use the make volumes command (page 101)
instead.
Syntax create custom_ldevs <domain>, <PG>, <vdev>,
<emulation_type>, <ldev_size>, <cu_ID...>,
<ldev_ID...>
Arguments <domain>
The domain for the new custom LDEV.
<PG>
The parity group number for the new custom LDEV.
<vdev>
The VDEV for the new custom LDEV.
<emulation_type>
The emulation type of the new custom LDEV. Other emulation types, such as OPEN-3, OPEN-9,
OPEN-8, or OPEN-E, can be mixed if the base emulation type of the VDEV is one of these
emulation types. To list the emulation type of the VDEV, execute list parity_group
-emulation.
<ldev_size>
The size of the new custom LDEV. The minimum size is 36 MB. You must specify the size of the
LDEV in KBs. The following are the maximum sizes that you can assign to an LDEV for a
particular emulation type.
OPEN-3: 2347 MB
OPEN-8: 7007 MB
OPEN-9: 7042 MB
OPEN-E: 13893 MB
<cu_ID...>
The CU ID for the new custom LDEV. CUs must be given in hexadecimal. You can enter a single
value, a set of values, or a range of values (for example, 0 or 0:2:3 or 0-4).
<ldev_ID...>
The LDEV ID for the new LDEV. The LDEV ID must be given in hexadecimal and is not case
sensitive. You can enter a single value, a set of values, or a range of values (for example, 01-03
or 01:02:04-06:0B).