beautypg.com

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

Page 38

background image

add unit

Description

Adds a new LUN comprised of one or more hard drives.

NOTE:

Maintain a record of the units as they are created. These Unit ID numbers

are used in other CLI commands. In addition to recording the unit

number, the drives included, and the RAID type and size,

record the order

in which they are created.

Syntax

add unit <unit_number> raid_level=<raid_level>

data=<diskrange> [spare=<diskrange>]

[stripe_size=<stripe_size>] [size=<size>GB|MB]

[max_boot=enable|disable] [cache=enable|disable]

Operands

>unit_number>

The number to assign to the new LUN (0-31).

raid_level=<raid_level>

The RAID fault-tolerance level to use. Use one of the following values:
• 0 = RAID 0 (no fault tolerance)
• 1 = RAID 1 (mirroring)
• 5 = RAID 5 (distributed parity)
• 6 = RAID 6 (Advanced Data Guarding)

NOTE:

If more than one pair of drives are included in a RAID 1 array, the

data is striped across the first half of the drives in the array, and then

each drive is mirrored to a drive in the remaining half of the drives for

fault tolerance. This method is referred to as RAID 1+0.

data=<diskrange>

The disk or disks to be used as primary data disks in the LUN. See the

description of <diskrange> below.

spare=<diskrange>

[Optional] The disk or disks to be used as spare disks in the LUN. See the

description of <diskrange> below.

<diskrange>

The disks to include, including a single disk, a range of consecutive disks, or

multiple series of single or consecutive disks. (If multiple series of single or

consecutive disks is entered, the entry must be encased in quotation marks.)

Disks are identified as disk<xyy>, where <x> is the box number (1-8) and

<yy> is the bay number (01-14). For example:
• disk101

• disk101-disk105

• "disk101 disk112-disk202 disk314"

stripe_size=<stripe_size>

38

Command reference