beautypg.com

6 manage a drive initialization, 7 rebuild a drive – Avago Technologies MegaRAID Fast Path Software User Manual

Page 256

background image

Page 256

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Drive-Related Options

5.15.6

Manage a Drive Initialization

Use the command in the following table to manage a drive initialization on the
selected controllers.

5.15.7

Rebuild a Drive

Use the command in the following table to start or stop a rebuild on a drive and display
the rebuild progress. When a drive in a RAID drive group fails, you can rebuild the drive
by re-creating the data that was stored on the drive before it failed.

Table 102: Drive Initialization

Convention

MegaCli –PDClear -Start |-Stop|-ShowProg |-ProgDsply
-PhysDrv[E0:S0,E1:S1....] -aN|-a0,1,2|-aALL

Description

Manages initialization or displays initialization progress on a single
controller, multiple controllers, or all controllers:

-Start

: Starts initialization on the selected drives.

-Stop

: Stops an ongoing initialization on the selected drives.

-ShowProg

: Displays the current progress percentage and time remaining

for the initialization. This option is useful for running the application through
scripts.

-ProgDsply

: Displays the ongoing clear progress. The routine continues

to display the initialization progress until at least one initialization is
completed or a key is pressed.

Table 103: Rebuild a Drive

Convention

MegaCli –PDRbld –Start
|-Stop|-Suspend|-Resume|-ShowProg |-ProgDsply

–PhysDrv [E0:S0,E1:S1....] -aN|-a0,1,2|-aALL

Description

Manages a drive rebuild or displays the rebuild progress on a single
controller, multiple controllers, or all controllers. Note that the drive must
meet the capacity requirements before it can be rebuilt, and it must be part
of a drive group:

-Start

: Starts a rebuild on the selected drives and displays the rebuild

progress (optional).

-Stop

: Stops an ongoing rebuild on the selected drives.

-Suspend

: Suspends the rebuild.

-Resume

: Resumes the rebuild from the point that the rebuild was

suspended.

-ShowProg

: Displays the current progress percentage and time remaining

for the rebuild. This option is useful for running the application through
scripts.

-ProgDsply

: Displays the ongoing rebuild progress. This routine displays

the rebuild progress until at least one initialization is completed or a key is
pressed.

-Physdrv[E0:S0,...]

: Specifies the physical drive enclosure and the

slots for the drives.