beautypg.com

3 add raid 10, 50, or 60 configuration, 4 clear the existing configuration, 5 save the configuration on the controller – Avago Technologies MegaRAID Fast Path Software User Manual

Page 246

background image

Page 246

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Configuration-Related Options

5.13.3

Add RAID 10, 50, or 60

Configuration

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

Section 5.13.2, Add RAID 0, 1, 5, or 6 Configuration

.

5.13.4

Clear the Existing

Configuration

Use the command in the following table to clear the existing configuration on the
selected controllers.

5.13.5

Save the Configuration on the

Controller

Use the command in the following table to save the configuration for the selected
controllers to the given file name.

Table 75: Add RAID 10, 50, or 60 Configuration

Convention

MegaCli –CfgSpanAdd -R10|-R50|R60 –Array0[E0:S0,E1:S1,...]
–Array1[E0:S0,E1:S1,...] [...] [WT | WB] [NORA | RA | ADRA] [Direct | Cached]
[CachedBadBBU|NoCachedBadBBU] [-szXXXXXXXX [-szYYYYYYYY [... ]]] [-strpszM]
[–afterLdX] | -Force [FDE|CtrlBased] -aN|-a0,1,2|-aALL

Description

Creates a RAID level 10, 50, or 60 (spanned) configuration from the specified drive groups. Even if no configuration
is present, you must use this option to write the configuration to the controller.

Note that RAID 10 supports up to 8 spans with a maximum of 32 drives in each span. (Some factors, such as the type
of controller, limit the number of drives you can use.) RAID 10 requires an even number of drives, because data from
one drive is mirrored to the other drive in each RAID 1 drive group. You can have an even number or odd number of
spans.

Multiple drive groups are specified using the –ArrayX[E0:S0,...] option. (Note that X starts from 0, not 1.) All
of the drive groups must have the same number of drives. At least two drive groups must be provided. The order of
options {WT |WB} {NORA | RA | ADRA} {Direct | Cached} is flexible.

The size option, -szXXXXXXXX, can be accepted to allow slicing in the spanned drive groups if the controller
supports this feature. The [–afterLdX] option is accepted if the size option is accepted. CT exits and does not
create a configuration if the size or the -afterLdx option is specified, but the controller does not support slicing
in the spanned drive groups.

NOTE: Previously, -szXXX expressed capacity in MB, but now you can enter the capacity in your choice of units. For
example, to create a virtual drive of 10 GB, enter the size as sz10GB. If you do not enter a unit, MB is the default unit.

Table 76: Clear Existing Configuration

Convention

MegaCli –CfgClr -aN|-a0,1,2|-aALL

Description

Clears the existing configuration.

Table 77: Save Configuration on the Controller

Convention

MegaCli –CfgSave –f FileName -aN

Description

Saves the configuration for the selected controllers to the given filename.