Using the CLI
42
Modular Smart Array 1000/1500 cs Command Line Interface User Guide
Creating a LUN with an assigned spare
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.
Example command
CLI> ADD UNIT 4 DATA=”DISK211-DISK212” RAID_LEVEL=1
SPARE=”DISK213”
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, RAID type and size, and record
the order in which they are created
.
Command options
4
—LUN 4 is to be created.
DATA=”DISK211-DISK212”
—drives 11 through 12 in box number 2 are to be
incorporated into the LUN.
RAID_LEVEL=1
—RAID 1 will be used when creating the LUN.
SPARE=”DISK213”
—the drive in bay 13 of box 2 will be assigned as a spare
drive to the LUN.
Note:
Quotation marks must be entered both before and after the disk drive that is to
be designated as a spare for the LUN.
Example CLI response
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.
Содержание StorageWorks Modular Smart Array 1000 cs
Страница 18: ...Overview and Setup 18 Modular Smart Array 1000 1500 cs Command Line Interface User Guide ...
Страница 60: ...Using the CLI 60 Modular Smart Array 1000 1500 cs Command Line Interface User Guide ...
Страница 64: ...Index 64 Modular Smart Array 1000 1500 cs Command Line Interface User Guide ...