Delete unit – HP StorageWorks 1510i Modular Smart Array User Manual

Page 56

Advertising
background image

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 new 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 first 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
• “1 3-6 8”

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

units 0, 1, 2, and 5, even if units 3 and 4 do not exist.

-y

[Optional] If this switch is specified, the deletion occurs without user

confirmation. Use this option with caution.

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

Advertising