Avago Technologies MegaRAID Fast Path Software User Manual

Page 274

Advertising
background image

Page 274

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Dimmer Switch-Related Options

5.22.6

Add the Unconfigured Drive to

a Specified Adapter

Use the command in the following table to add the unconfigured drives to an adapter.

Table 140: Adds the Unconfigured Physical Drive to RAID Level 0, 1, 5, 6 to a Specified Adapter

Convention

MegaCLI -CfgAllFreeDrv -rX [-SATAOnly] [-SpanCount XXX] [WT|WB]
[NORA|RA|ADRA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU]
[-strpszM] [-HspCount XX [-HspType
-Dedicated|-EnclAffinity|-nonRevertible]] | [FDE|CtrlBased] [-Default|
-Automatic| -None| -MaximumWithCaching| -MaximumWithoutCaching] -aN

Description

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

The possible parameters are:

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 strip 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.

FDE|CtrlBased

: If controller support security feature, this option enables FDE/Ctrl based

encryption on 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