beautypg.com

Avago Technologies MegaRAID Fast Path Software User Manual

Page 260

background image

Page 260

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Drive-Related Options

5.15.16 Configure All Free Drives into a
RAID 0, 1, 5, or 6 Configuration for a
Specific Controller

Use the command in the following table to download firmware to the physical devices
connected to the selected controllers.

Table 112: Configure All Free Drives into a RAID 0, 1, 5 or 6 Configuration for a Specific

Controller

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] -aN

Description

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

rX[E0:S0,...]

: Specifies the RAID level and the physical drive

enclosure/slot numbers to construct a disk group.

WT

(Write Through), WB (Write Back): Selects the write policy.

NORA

(No Read Ahead), RA (Read Ahead), ADRA (Adaptive Read

Ahead): Selects the read policy.

Cached, -Direct

: Selects the 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 MB. However, the actual size of the virtual drive might be smaller,
because the driver requires the number of blocks from the physical drives in
each virtual drive to be aligned to the stripe size.

If multiple size options are specified, CT configures the virtual drives in the
order of the options entered in the command line. The configuration of a
particular virtual drive fails if the remaining size of the array is too small to
configure the virtual drive 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 stripe size, where the stripe size values are 8 KB, 16

KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, or 1024 MB.

Hsp[E5:S5,...]

: Creates hot spares when you create the configuration.

The new hot spares are dedicated to the virtual drive used to create 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 drive.

AfterLdX

: This command is optional. By default, the application uses the

first free slot available in the virtual drive. This option is valid only if the
virtual disk is already used for configuration.

FDE|CtrlBased

: If the controller supports the security feature, this option

enables FDE/controller-based encryption on the virtual disk.