beautypg.com

HP StorageWorks 1510i Modular Smart Array User Manual

Page 40

background image

Example 2
To assign multiple LUNs from a drive or group of drives, use the add unit command and include

the size= command option. Repeat the command using a unique LUN ID for each LUN, along with

the desired size parameter.

CLI> add unit 1 data=”disk111-disk114” raid_level=5 stripe_size=32 size=1000mb

First volume to be configured on these drives.

The logical unit size has been adjusted by 4MB for optimal performance.

Logical Unit size = 996 MB

RAID overhead = 498 MB

Total space occupied by new unit = 1494 MB

Free space left on this volume = 24533 MB

Unit 1 is created successfully.

CLI> add unit 2 data=”disk111-disk114” raid_level=5 stripe_size=32 size=2000mb

Logical Unit size = 2000 MB

RAID overhead = 1000 MB

Total space occupied by new unit = 3000 MB

Free space left on this volume = 21533 MB

Unit 2 is created successfully.

CLI> add unit 3 data=”disk111-disk114” raid_level=5 stripe_size=16 size=4000mb

Logical Unit size = 4000 MB

RAID overhead = 2000 MB

Total space occupied by new unit = 6000 MB

Free space left on this volume = 15533 MB

Unit 3 is created successfully.

Example 3
To create a LUN and assign a spare at the same time, use the add unit command and include the

spare= command option.

NOTE:

More than one spare can be assigned to the same LUN, and the same spare can be available to

multiple LUNs.

CLI> add unit 4 data=”disk211-disk212” raid_level=1 spare=”disk213”

First volume to be configured on these drives.

Logical Unit size = 69460 MB

RAID overhead = 69460 MB

Total space occupied by new unit = 138920 MB

Free space left on this volume = 0 MB

Unit 4 is created successfully.

See also

bind unit

delete unit

show unit

set unit

accept unit

expand unit

extend unit

migrate unit

set unit_id

show unit_id

unbind unit

40

Command reference