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

86 CLI commands for the XP128/XP1024/XP10000/XP12000
initialize vdev
Description Use this command to regain the initial configuration of the VDEV. This operation deletes all the
custom volumes created on this VDEV and creates the normal LDEVs deleted by the user.
A custom LDEV, if present, is deleted. These custom LDEVs cannot have a path assigned, be a part of
a LUSE volume, be a command device, or be part of an Auto LUN reserved volume.
You need to enter the exact number of LDEV IDs. This count can be determined by executing the
command list parity_group -initializecount, and is the number of normal volumes
deleted on this VDEV.
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 initialize vdev <domain>, <PG>, <vdev>, <cu(ldev...)...>
Arguments <domain>
The domain present in the disk array.
<PG>
The parity group present in the disk array.
<vdev>
The VDEV in the disk array for which the initialization is desired.
<cu(ldev...)...>
The IDs of the new normal LDEVs to be created. The format of the CU:LDEV combination is
unique for this command and should be used only for this command. For each CU value, specify
which LDEVs you want to use. You can repeat this for multiple CUs, but the CU number should
not be repeated. CUs and LDEVs must be given in hexadecimal.
To create LDEVs with CU:LDEV IDs 00:00, 01:00, 02:00 and 03:00, use:
00(00):01(00):02(00):03(00)
To create LDEVs with CU:LDEV IDs 00:00, 00:01, 00:02, 00:03, 01:00 and 01:02, use:
00(00-03):01(00:02)
To create LDEVs with CU:LDev IDs 00:01, 00:03, 00:05, 00:0D, 03:0A and 03:0C, use:
00(01:03-05:0D):03(0A-0C)
Example After a successful initialize operation, the following new normal LDEVs are created.
initialize vdev 1,1,1, 00(00-03):01(0A-0C):03(f0:ff)
Domain PG VDev CU LDev
1 1 1 00 00
1 1 1 00 01
1 1 1 00 02
1 1 1 00 03
1 1 1 01 0A
1 1 1 01 0B
1 1 1 01 0C
1 1 1 03 f0
1 1 1 03 ff