beautypg.com

2 add raid 0, 1, 5, or 6 configuration – Avago Technologies MegaRAID Fast Path Software User Manual

Page 245

background image

LSI Corporation Confidential

|

July 2011

Page 245

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Configuration-Related Options

5.13.2

Add RAID 0, 1, 5, or 6

Configuration

Use the command in the following table to add a RAID level 0, 1, 5, or 6 configuration to
the existing configuration on the selected controller. For RAID levels 10, 50, or 60, see

Section 5.13.3, Add RAID 10, 50, or 60 Configuration

.

Table 74: Add RAID 0, 1, 5, or 6 Configuration

Convention

MegaCli –CfgLDAdd -R0|-R1|-R5|-R6[E0:S0,E1:S1,...] [WT | WB] [NORA | RA | ADRA]
[Direct | Cached] [CachedBadBBU|NoCachedBadBBU]
[-szXXXXXXXX [-szYYYYYYYY [... ]]] [-strpszM] [–Hsp[E5:S5,...]] [–afterLdX]
[–Force] -aN

Description

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

Note that RAID 1 supports up to 32 drives in a single span of 16 drive groups.
RAID 1 requires an even number of drives, because data from one drive is mirrored to the other drive in each RAID 1
drive group.

-Rx[E0:S0,...]

: Specifies the RAID level and the drive enclosure/slot numbers to construct a drive 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 : Specifies whether to use write cache when the BBU is bad.

-szXXXXXXXX

: Specifies the capacity for the virtual drive, where XXXX is a decimal number of MB. However, the

actual capacity of the virtual drive can be smaller, because the driver requires the number of blocks from the 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 will fail if the remaining capacity of the drive group is too small to
configure the virtual drive with the specified capacity.
This option can also be used to create a configuration on the free space available in the drive group.

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

Hsp[E5:S5,...]

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

the virtual drive 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 proper subcommands.

You can also use this option to create a configuration on the free space available in the virtual drive. You can specify
which free slot should be used by specifying the -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 drive is already used for
configuration.