HP StorageWorks 1510i Modular Smart Array Command Line Interface user guide (383074-002, July 2008)

delete unit
Description Deletes the LUN or LUNs. All resources used by, and settings associated
with the unit are deleted.
NOTE:
After a LUN is deleted, its unit number remains unused until manually
assigned to a n
ew LUN. Unit numbers are not automatically reassigned
when a LUN is deleted.
Syntax delete unit <unitrange> [-y]
Operands <unitrange>
The LUNs to delete. Unit numbers are from 0 to 31 and are the same
numbers that were given to the units when they were rst created with the
add unit command.
The range of units can be a single number, a series of consecutive numbers,
or a series of single numbers or ranges separated by spaces. For example:
•0
•4-6
•“13-68
NOTE:
If a series of units includes a unit that does not exist, this does not
produce an error. The command delete unit 0-5 will delete
units0,1,2,and5,evenifunits3and4donotexist.
-y
[Optional] If this switch is specied, the deletion occurs without user
conrmation. Usethisoptionwithcaution.
Example
To delete LUN 4:
CLI> delete unit 4
Data will be lost after the unit is deleted.
Do you still want to DELETE unit 4 (Y/N)? Y
Please wait while unit 4 is being deleted…
Unit 4 is deleted successfully.
See also add unit
bind unit
show unit
set unit
accept unit
expand unit
56
Command reference