HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
84 CLI commands for the XP128/XP1024/XP10000/XP12000
delete ldevs
Description This command converts custom LDEVs or normal LDEVs into free space. This command cannot
convert the last normal LDEV to free space. The LDEVs to be deleted should not have path added to
itself, not be a part of LUSE volume, not be a command device and should not be an Auto LUN
reserved volume.
The list of LDEVs that can be deleted can be obtained by executing the command list vsc
-deletable.
Syntax delete ldevs <domain>, <PG>, <vdev>, <cu...>, <ldevID...>
Arguments <domain>
The domain for which the deletion of LDEVs is to be done.
<PG>
The PG for which the deletion of LDEVs is to be done. To delete LDEVs for multiple PGs in a
domain, create a command file and use the -f <filename> option.
<vdev>
The VDEV for which the deletion of LDEVs is to be done. To delete multiple VDEVs, create a
command file and use the -f <filename> option.
<cu...>
The CU ID of the LDEVs to be deleted. The CU 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).
<ldevID...>
The LDEV ID of the LDEV to be deleted. LDEV IDs must be given in hexadecimal and are 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).
Example
delete ldevs 1, 1, 1, 00:01, 00:02-04:0D
deletes the following LDEVs:
Domain PG VDev CU LDev
1 1 1 00 00
1 1 1 00 02
1 1 1 00 03
1 1 1 00 04
1 1 1 00 0D
1 1 1 01 00
1 1 1 01 02
1 1 1 01 03
1 1 1 01 04
1 1 1 01 0D