beautypg.com

Table 14 – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 31

background image

LSI Corporation

- 31 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Virtual Drives Commands

storcli /cx add vd each type=raid0 [name=,..] [drives=e:s|e:s-x|e:s-x,y]

[SED] [pdcache=on|off|*default][pi] [DimmerSwitch(ds)=default|automatic(auto)|

*none|maximum(max)|MaximumWithoutCaching(maxnocache)] [wt|*wb] [nora|*ra]

[*direct|cached] [CachedBadBBU|*NoCachedBadBBU][Strip=<8|16|32|64|128|256|1024]

storcli /cx add VD cachecade|cc Type = raid[0,1,10] drives =

[e:]s|[e:]s-x|[e:]s-x,y [WT| WB] [assignvds = 0,1,2

This command creates a RAID configuration. You can use the following options to create the RAID volume:

The detailed description for each command follows.

storcli /cx add vd type=raid[0|1|5|6|10|50|60][Size=,,..|*all] [name=,..]
drives=e:s|e:s-x|e:s-x,y;e:s-x,y,z [PDperArray=x][SED] [pdcache=on|off|*default][pi]
[DimmerSwitch(ds)=default|automatic(auto)|
*none|maximum(max)|MaximumWithoutCaching(maxnocache)][cachevd]

[wt|*wb] [nora|*ra] [*direct|cached] [CachedBadBBU|*NoCachedBadBBU] [Strip=<8|16|32|64|128|256|1024>]
[AfterVd=X] [Spares = [e:]s|[e:]s-x|[e:]s-x,y] [force]

NOTE * indicates default values.

Table 14 Add RAID Configuration Input Options

Option

Value Range

Description

type

RAID [0|1|5|6|10|50|60]

.

Sets the RAID type of the configuration.

size

Maximum size based on the physical drives
and RAID level.

Sets the size of each virtual drive. The default value
is for the capacity of all referenced disks.

name

15 characters of length.

Specifies the drive name for each virtual drive.

drives

Valid enclosure number and valid slot numbers
for the enclosure.

In e:s|e:s-x|e:s-x,y:

e

specifies the enclosure ID.

s

represents the slot in the enclosure.

e:s-x

is the range convention used to

represent slots s to x in the enclosure e.

pdperarray

0 to 15.

Specifies the number of physical drives per array.
The default value is automatically chosen.

sed

Creates security-enabled drives.

pdcache

on|off|default.

Enables or disables PD cache.

pi

Enables protection information.

dimmerswitch

default

: Logical device uses controller

default power-saving policy.

automatic

(auto): Logical device power

savings are managed by firmware.

none

: No power-saving policy.

maximum

(max): Logical device uses maximum

power savings.

MaximumWithoutCaching

(maxnocache): Logical device does not cache
write to maximize power savings.

Specifies the power-saving policy.

Sets to default automatically.

direct|cached

cached

: Cached I/O.

direct

: Direct I/O.

Sets the logical drive cache policy.

Direct I/O is the default.