beautypg.com

Avago Technologies MegaRAID Fast Path Software User Manual

Page 272

background image

Page 272

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Dimmer Switch-Related Options

5.22.4

Displays about Adding a RAID

Level to a Specified Adapter

Use the command in the following table to add a RAID level to a specified adapter.

Table 138: Adds a RAID Level to a Specified Adapter

Convention

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

Description

-CfgLdAdd

:

Adds a RAID level 0, 1, 5, or 6 to a specified adapter. Even if no configuration is present, you have the option to

write the configuration to the adapter.

The possible parameters follow:

Rx[E0:S0,...]

: Specifies the RAID level 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.

Cached -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 MB, 16 MB, 32 MB, 64 MB, 128 MB, 256 MB, 512 MB, or 1024

MB.

Hsp[E5:S5,...]

: Creates hot spares when you create the configuration. The new hot spares will be dedicated to the

virtual disk used in creating the configuration. This option does not allow you to create global hot spares. To create global hot
spares, you must use the -PdHsp command with the proper subcommands. You can also use this option to create a
configuration on the free space available in the virtual disk.

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/control-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.