5 create a raid level – Avago Technologies MegaRAID Fast Path Software User Manual

Page 273

Advertising
background image

LSI Corporation Confidential

|

July 2011

Page 273

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Dimmer Switch-Related Options

5.22.5

Create a RAID Level

Use the command in the following table to create a RAID level 10, 50, 60 (spanned
configuration).

Table 139: Creates a RAID Level 10, 50, 60 (spanned) Configuration

Convention

MegaCLI -CfgSpanAdd -r10 -Array0[E0:S0,E1:S1] -Array1[E0:S0,E1:S1]
[-ArrayX[E0:S0,E1:S1] ...] [WT|WB] [NORA|RA|ADRA] [Direct|Cached]
[CachedBadBBU|NoCachedBadBBU][-strpszM][-szXXX[-szYYY ...]][-AfterLdX][-Force]|
[FDE|CtrlBased] [-Default| -Automatic| -None| -MaximumWithCaching|
-MaximumWithoutCaching] -aN

MegaCLI -CfgSpanAdd -r50 -Array0[E0:S0,E1:S1,E2:S2,...] -Array1[E0:S0,E1:S1,E2:S2,...]
[-ArrayX[E0:S0,E1:S1,E2:S2,...] ...] [WT|WB] [NORA|RA|ADRA] [Direct|Cached]
[CachedBadBBU|NoCachedBadBBU][-strpszM][-szXXX[-szYYY ...]][-AfterLdX][-Force]|
[FDE|CtrlBased] [-Default| -Automatic| -None| -MaximumWithCaching|
-MaximumWithoutCaching] -aN

Description

-CfgSpanAdd

:

Creates a RAID level 10, 50, or 60 (spanned) configuration from the specified arrays. Even if no configuration

is present, you must use this option to write the configuration to the adapter.

The possible parameters are:

Rx

: Spcecifies the RAID Level.

ArrayX[E0:S0,...]

: Specifies the Array and the physical drive enclosure/slot numbers to construct a disk array.

WT

(Write through), WB (Write back): Selects write policy.

NORA

(No read ahead), RA (Read ahead), ADRA (Adaptive read ahead): Selects read policy.

Cache-Direct

: Selects cache policy.

[{CachedBadBBU|NoCachedBadBBU }]

: Specifies whether to use write cache when the BBU is bad.

szXXXXXXXX: Specifies the size for the virtual disk, where XXXX is a decimal number of Mbytes. However, the actual size of the
virtual disk may be smaller, because the driver requires the number of blocks from the physical drives in each virtual disk to
be aligned to the stripe size. If multiple size options are specified, CT will configure the virtual disks in the order of the options
entered in the command line. The configuration of a particular virtual disk fails if the remaining size of the array is too small to
configure the virtual disk with the specified size. This option can also be used to create a configuration on the free space
available in the array.

strpszM

: Specifies the strip size, where the strip size values are 8, 16, 32, 64, 128, 256, 512, or 1024 MB.

AfterLdX

: This command is optional. By default, the application uses the first free slot available in the virtual disk. This

option is valid only if the virtual disk is already used for configuration.

Force

: This option forces the creation of virtual disk in situations where the application finds that it is convenient to create

the virtual disk only with user's consent.

FDE|CtrlBased

: If the controller supports the security feature, this option enables FDE/Ctrl based encryption on the

virtual disk.

[-Default| -Automatic| -None| -MaximumWithCaching| -MaximumWithoutCaching]

: If the controller

supports power savings on virtual disk, these options specify the possible levels of power savings that can be applied on a
virtual disk.

Advertising