HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide (347282-004, June 2007)

HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide 27
IMPORTANT: Maintain a record of the units as they are created. These unit numbers are used in other CLI
commands. In addition to recording the unit number, the drives included, RAID type and size, record the
order in which they are created.
Example command and response to create a single LUN from a group of drives
CLI> add unit 0 data=”disk101-disk107 disk110” raid_level=6 stripe_size=64
First volume to be configured on these drives.
Logical Unit size = 69460 MB
RAID overhead = 0 MB
Total space occupied by new unit = 69460 MB
Free space left on this volume = 0 MB
Unit 0 is created successfully.
Example command and response to create multiple LUNs on a group of drives
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.