beautypg.com

12 prepare the unconfigured drive for removal, 13 display total number of drives – Avago Technologies MegaRAID Fast Path Software User Manual

Page 258

background image

Page 258

LSI Corporation Confidential

|

July 2011

MegaRAID SAS Software User Guide

Chapter 5: MegaRAID Command Tool

|

Drive-Related Options

5.15.11 Replace the Configured Drives
and Start an Automatic Rebuild

Use the command in the following table to replace configured drives and start an
automatic rebuild of the drive for the selected controllers.

5.15.12 Prepare the Unconfigured
Drive for Removal

Use the command in the following table to prepare the unconfigured drives for
removal from the selected controllers.

5.15.13 Display Total Number of Drives

Use the command in the following table to display the total number of drives attached
to an controller. Drives can be attached directly or through enclosures.

Table 107: Replace Configured Drives and Start Automatic Rebuild

Convention

MegaCli –PDReplaceMissing –PhysDrv[E0:S0,E1:S1....]
-ArrayX -RowY -aN

Description

Replaces the configured drives that are identified as missing and then starts
an automatic rebuild.

-Physdrv[E0:S0,...]

: Specifies the physical drive enclosure and the

slots for the drives.

Table 108: Prepare Unconfigured Drives for Removal

Convention

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

Description

Prepares unconfigured drives for removal. The firmware spins down this
drive. The drive state is set to Unaffiliated, which marks it as offline even
though it is not a part of a configuration.

-Undo

: This option undoes this operation. If you select undo, the firmware

marks this drive as Unconfigured Good.

-Physdrv[E0:S0,...]

: Specifies the physical drive enclosure and the

slots for the drives.

Table 109: Display Number of Drives Attached to an Controller

Convention

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

Description

Displays the total number of drives attached to an controller. Drives can be
attached directly or through enclosures. The return value is the number of
drives.