No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei V2 and V3 Server RAID Controller Card User Guide 36

This document describes the appearances and features of the redundant array of independent disks (RAID) controller cards, how to configure properties for the RAID controller cards, and how to install drivers. The RAID controller cards include the LSI SAS2208, LSI SAS2308, LSI SAS3008, LSI SAS3108, LSI SoftRAID, PM8060, and PM8068.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Common StorCLI Commands

Common StorCLI Commands

Querying and Setting Spinup Parameters

Function

Query and set the interval between the spinup of drives and the number of drives that spin up simultaneously upon power-on.

Format

storcli64 /ccontroller_id show spinupdelay

storcli64 /ccontroller_id show spinupdrivecount

storcli64 /ccontroller_id set spinupdelay=time

storcli64 /ccontroller_id set spinupdrivecount=count

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

time

Specifies the interval between the spinup of drives.

The default value is 2 and the unit is second.

count

Specifies the number of drives that spin up simultaneously upon power-on.

The default value is 4.

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

Retain the default settings.

Example

# Query the Spinup parameters of a RAID controller card.

domino:~# ./storcli64 /c0 show spinupdelay
Controller = 0 
Status = Success 
Description = None 

Controller Properties: 
===================== 

-------------------------- 
Ctrl_Prop     Value 
-------------------------- 
Spin Up Delay 2 second(s) 
-------------------------- 

domino:~# ./storcli64 /c0 show spinupdrivecount
Controller = 0 
Status = Success 
Description = None 

Controller Properties: 
===================== 

-------------------------- 
Ctrl_Prop           Value 
-------------------------- 
Spin Up Drive Count 4 
--------------------------     

# Set spinupdelay to 20s and spinupdrivecount to 5 for the controller card.

domino:~# ./storcli64 /c0 set spinupdelay=20
Controller = 0 
Status = Success 
Description = None 

Controller Properties: 
===================== 

-------------------------- 
Ctrl_Prop     Value 
-------------------------- 
Spin Up Delay 20 second(s) 
-------------------------- 

domino:~# ./storcli64 /c0 set spinupdrivecount=5
Controller = 0 
Status = Success 
Description = None 

Controller Properties: 
===================== 

-------------------------- 
Ctrl_Prop           Value 
-------------------------- 
Spin Up Drive Count 5 
--------------------------     

Setting Drive PowerSave Parameters

Function

Set the PowerSave parameters for idle drives and hot spare drives.

Format

storcli64 /ccontroller_id set ds= state type= disktype spindowntime= time

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

state

Specifies whether to enable the power saving mode.

  • on: enable
  • off: disable

disktype

Specifies the hard drive type.

  • 1: idle drive
  • 2: hot spare drive

time

Specifies the standby time. If there is no drive I/O within the standby time, the drive enters the spin-down mode.

The unit is minute.

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Enable the power saving mode for an idle drive.

domino:~# ./storcli64 /c0 set ds=on type=1 spindowntime=30
Controller = 0 
Status = Success 
Description = None 

Controller Properties: 
===================== 

-------------------------- 
Ctrl_Prop    Value 
-------------------------- 
SpnDwnUncDrv Enable 
SpnDwnTm     30 minutes 
--------------------------     

Setting the Initialization Function for a Physical Drive and Viewing the Initialization Progress

Function

Set the initialization function for physical drives and view the initialization progress.

Format

storcli64 /ccontroller_id/eenclosure_id/sslot_id action initialization

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

slot_id

Specifies a slot number.

-

action

Specifies the operation to be performed.

  • show: views initialization progress.
  • start: starts initialization.
  • stop: stops initialization.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Initialize the drive in slot 3 and view the initialization progress.

domino:~# ./storcli64 /c0/e252/s3 start initialization
Controller = 0 
Status = Success 
Description = Start Drive Initialization Succeeded.
domino:~# ./storcli64 /c0/e252/s3 show initialization
Controller = 0 
Status = Success 
Description = Show Drive Initialization Status Succeeded. 

------------------------------------------------------ 
Drive-ID    Progress% Status      Estimated Time Left 
------------------------------------------------------ 
/c0/e252/s3         0 In progress 0 Seconds 
------------------------------------------------------     

Setting the Data Erasing Mode for a Drive and Viewing the Erasing Progress

Function

Set the data erasing mode for a drive and view the erasing progress.

Format

storcli64 /ccontroller_id/eenclosure_id/sslot_id show erase

storcli64 /ccontroller_id/eenclosure_id/sslot_id stop erase

storcli64 /ccontroller_id/eenclosure_id/sslot_id start erase mode

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

slot_id

Specifies a slot number.

-

mode

Specifies the data erase mode.

  • simple: wipes data once.
  • normal: wipes data three times.
  • thorough: wipes data nine times.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Erase the data in simple mode from the drive in slot 3 and view the erasing progress.

domino:~# ./storcli64 /c0/e252/s3 start erase simple
Controller = 0 
Status = Success 
Description = Start Drive Erase Succeeded.
domino:~# ./storcli64 /c0/e252/s3 show erase
Controller = 0 
Status = Success 
Description = Show Drive Erse Status Succeeded. 

------------------------------------------------------ 
Drive-ID    Progress% Status      Estimated Time Left 
------------------------------------------------------ 
/c0/e252/s3         0 In progress 0 Seconds 
------------------------------------------------------     
domino:~# ./storcli64 /c0/e252/s3 stop erase
Controller = 0 
Status = Success 
Description = Stop Drive Erase Succeeded.

Setting Background Task Resource Usage

Function

Set the background initialization rate, consistency check rate, drive patrol rate, RAID rebuilding rate, and RAID capacity expansion and migration rate.

Format

storcli64 /ccontroller_id set action=value

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

action

Specifies the background task whose resource usage is to be set.

  • bgirate: background initialization rate
  • ccrate: consistency check rate
  • prrate: drive patrol rate
  • rebuildrate: RAID rebuilding rate
  • reconrate: RAID capacity expansion and migration rate

value

Specifies the resource usage of a background task.

1 to 100

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Set the drive patrol rate to 30%.

domino:~# ./storcli64 /c0 set prrate=30
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

----------------------- 
Ctrl_Prop        Value 
----------------------- 
Patrol Read Rate 30% 
-----------------------     

Setting the BIOS Stop on Error Function

Function

Enable the Stop On Error function so that the controller BIOS stops starting when it detects an error.

Format

storcli64 /ccontroller_id set bios mode=action

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

action

Specifies whether to enable the Stop On Error function.

  • soe: The controller BIOS stops startup when it detects an error.
  • ie: The controller BIOS ignores errors during startup.

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Enable the Stop On Error function.

domino:~# ./storcli64 /c0 set bios mode=soe
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

---------------- 
Ctrl_Prop Value 
---------------- 
BIOS Mode SOE 
----------------

Creating and Deleting a RAID Array

Function

Create and delete a RAID array.

Format

storcli64 /ccontroller_id add vd rlevel size=capacity drives=enclosure_id:slot_id | enclosure_id:startid-endid,enclosure_id:slot_id | enclosure_id:startid-endid [pdperarray=pdperarray]

storcli64 /ccontroller_id/vraid_id del

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

level

Specifies the target RAID level.

The value can be 0, 1, 5, 6, 10, 50, or 60.

capacity

Specifies the target RAID capacity.

-

startid-endid

Specifies the start ID and end ID of the drives to be added to the RAID array.

-

slot_id

Specifies the ID of the drive to be added to the RAID array.

pdperarray

Specifies the number of hard drives in the span. Set this parameter only when you create a RAID 10, RAID 50, or RAID 60 array.

raid_id

Specifies the ID of the RAID array to be deleted.

-

Usage Guidelines

None

Example

# Create a RAID 0 array.

domino:~# ./storcli64 /c0 add vd r0 size=100GB drives=252:0-3
Controller = 0 
Status = Success 
Description = Add VD Succeeded

# Delete a RAID array.

domino:~# ./storcli64 /c0/v0 del
Controller = 0 
Status = Success 
Description = Delete VD Succeeded

Setting the cache read and write properties for a RAID array

Function

Set the cache read and write properties for a RAID array.

Format

storcli64 /ccontroller_id/vraid_id set wrcache=mode

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

raid_id

Specifies a RAID ID.

-

mode

Specifies a cache read/write mode.

  • wt: Once the drive subsystem receives all data, the controller card notifies the host that data transmission is complete.
  • wb: Once all data in the cache is received, the controller card notifies the host that data transmission is complete.
  • awb: The controller is forced into the wb mode when capacitor is absent or fails.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Set the cache read/write mode to wt.

domino:~# ./storcli64 /c0/v0 set wrcache=wt
Controller = 0 
Status = Success 
Description = None 

Details Status : 
============== 

--------------------------------------- 
VD Property Value Status  ErrCd ErrMsg 
--------------------------------------- 
 0 wrCache  WT    Success     0 - 
---------------------------------------

Setting a RAID Access Policy

Function

Set an access policy for a RAID array.

Format

storcli64 /ccontroller_id/vraid_id set accesspolicy=mode

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

raid_id

Specifies a RAID ID.

-

mode

Specifies a RAID access policy.

  • rw: The RAID array is readable and writable.
  • blocked: The RAID array is inaccessible.
  • ro: The RAID array is read-only.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Set the RAID access policy to rw.

domino:~# ./storcli64 /c0/v0 set accesspolicy=rw
Controller = 0 
Status = Success 
Description = None 

Details Status : 
============== 

--------------------------------------- 
VD Property  Value Status  ErrCd ErrMsg 
--------------------------------------- 
 0 AccPolicy RW    Success     0 - 
---------------------------------------

Setting RAID Foreground Initialization

Function

Set RAID foreground initialization.

Format

storcli64 /ccontroller_id/vraid_id start mode

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

raid_id

Specifies a RAID ID.

-

mode

Specifies a foreground initialization mode.

  • init: writes zeros to the first 100 MB space of a RAID array. The RAID array changes to the Optimal state after initialization.
  • init full: write zeros to the entire RAID array. During the initialization, the RAID array is in the Initialization state.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Quickly initialize a RAID array.

domino:~# ./storcli64 /c0/v0 start init
Controller = 0 
Status = Success 
Description = Start INIT Operation Success

Setting RAID Background Initialization and Viewing the Initialization Progress

Function

Pause, resume, and stop RAID background initialization and view the initialization progress.

Format

storcli64 /ccontroller_id/vraid_id action bgi

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

raid_id

Specifies a RAID ID.

-

action

Specifies the operation to be performed.

  • show: displays background initialization progress.
  • pause: pauses background initialization.
  • resume: resumes background initialization.
  • stop: stops background initialization.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# View the background initialization progress.

domino:~# ./storcli64 /c0/v0 show bgi
Controller = 0 
Status = Success 
Description = Noe 

VD Operation Status : 
=================== 

------------------------------------------------------ 
VD Operation Progress% Staus      Estimated Time Left 
------------------------------------------------------ 
 0 BGI               3 In progress 53 Minutes 
------------------------------------------------------

Setting a Boot Drive

Function

Set a virtual drive or physical drive as a boot drive.

Format

storcli64 /ccontroller_id/vvd_id set bootdrive=on

storcli64 /ccontroller_id/eenclosure_id/sslot_id set bootdrive=on

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

vd_id

Specifies the ID of the target virtual drive.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

slot_id

Specifies a slot number.

-

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Set VD 0 to boot drive.

domino:~# ./storcli64 /c0/v0 set bootdrive=on
Controller = 0 
Status = Success 
Description = Noe 

Detailed Status : 
=============== 

---------------------------------------- 
VD Property   Value Staus  ErrCd ErrMsg 
---------------------------------------- 
 0 Boot Drive On    Success    0 - 
----------------------------------------

# Set the drive in slot 7 to boot drive.

domino:~# ./storcli64 /c0/e252/s7 set bootdrive=on
Controller = 0 
Status = Success 
Description = Noe 

Controller Properties : 
===================== 

------------------- 
Ctrl_Prop Value 
------------------- 
BootDrive PD:252_7 
-------------------

Setting the Emergency Hot Spare Function

Function

Enable the emergency hot spare function and allow the emergency hot spare function to be used when a SMART error occurs.

Format

storcli64 /ccontroller_id set eghs eug=state

storcli64 /ccontroller_id set eghs smarter=state

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

state

Specifies whether to enable the emergency hot spare function.

  • on: enabled
  • off: disabled

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Enable the emergency hot spare function and allow the emergency hot spare function to be used when a SMART error occurs.

domino:~# ./storcli64 /c0 set eghs eug=on
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

------------------ 
Ctrl_Prop   Value 
------------------ 
EmergencyUG ON 
------------------
domino:~# ./storcli64 /c0 set eghs smarter=on
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

----------------------- 
Ctrl_Prop        Value 
----------------------- 
EmergencySmarter ON 
-----------------------

Setting the Hot Spare Drive Status

Function

Set the hot spare drive status to global or dedicated.

Format

storcli64 /ccontroller_id/eenclosure_id/sslot_id add hotsparedrive [dgs=vd_id]

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

slot_id

Specifies a slot number.

-

vd_id

Specifies the ID of the virtual drive to which the dedicated hot spare drive belongs.

-

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Set the drive in slot 3 to a global hot spare drive.

domino:~# ./storcli64 /c0/e252/s3 add hotsparedrive
Controller = 0 
Status = Success 
Description = Add Hot Spare Succeeded.     

# Set the drive in slot 3 to the dedicated hot spare drive for VD 0.

domino:~# ./storcli64 /c0/e252/s3 add hotsparedrive dgs=0
Controller = 0 
Status = Success 
Description = Add Hot Spare Succeeded.     

Querying and Setting RAID Rebuild, Copyback, and Patrolread Functions

Function

Pause, resume, and stop the RAID rebuilding, copyback, and patrolread, and view the progress.

Format

storcli64 /ccontroller_id/eenclosure_id/sslot_id action function

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

slot_id

Specifies a slot number.

-

action

Specifies the operation to be performed.

  • show: views the progress.
  • pause: pauses the process.
  • resume: resumes the process.
  • stop: stops the process.

function

Specifies a process to be performed.

  • rebuild
  • copyback
  • patrolread

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# View RAID rebuild progress.

domino:~# ./storcli64 /c0/e252/s4 show rebuild
Controller = 0 
Status = Success 
Description = Show Drive Rebuild Status Succeeded. 

------------------------------------------------------ 
Drive-ID    Progress% Staus       Estimated Time Left 
------------------------------------------------------ 
/c0/e252/s4         9 In progress 12 Minutes 
------------------------------------------------------

# Pause RAID rebuild.

domino:~# ./storcli64 /c0/e252/s4 pause rebuild
Controller = 0 
Status = Success 
Description = Pause Drive Rebuild Status Succeeded.     

Setting a SMART Scan Interval

Function

Set a SMART scan interval.

Format

storcli64 /ccontroller_id set smartpollinterval=value

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

value

Specifies a SMART scan interval.

The unit is second.

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Set the SMART scan interval to 60 seconds.

domino:~# ./storcli64 /c0 set smartpollinterval=60
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

------------------------------- 
Ctrl_Prop         Value 
------------------------------- 
SmartPollInterval 60 second(s) 
-------------------------------

Expanding RAID Capacity Without Adding Drives

Function

There are two RAID capacity expansion methods:

  • Expanding the capacity of member drives of the RAID array
  • Adding new drives to the RAID array

The following command is used in the first method:

Format

storcli64 /ccontroller_id/vvd_id expand size=capacity

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

vd_id

Specifies the ID of the target RAID array.

-

capacity

Specifies the capacity after the expansion.

-

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Expand the capacity of VD 0 to 200 GB.

domino:~# ./storcli64 /c0/v0 expand size=200GB
Controller = 0 
Status = Success 
Description = expansion operation succeeded. 

EXPANSION RESULT : 
================ 

-------------------------------------------------------------------------------- 
VD     Size FreSpc     ReqSize  AbsUsrSz   %FreSpc NewSize    Statsu NoArrExp 
-------------------------------------------------------------------------------- 
 0 100.0 GB 457.861 GB 200.0 GB 201.458 GB      44 301.458 GB -      457.861 GB 
-------------------------------------------------------------------------------- 

Size - Current VD size|FreSpc - Freespace available before expansion 
%FreSpc - Requested expansion size in % of available free space 
AbsUsrSz - User size rounded to nearest %

Expanding RAID Capacity by Adding New Drives and Changing the RAID Level

Function

There are two RAID capacity expansion methods:

  • Expanding the capacity of member drives of the RAID array
  • Adding new drives to the RAID array

The following command is used in the second method.

After adding a new drive, you can change the RAID level.

Format

storcli64 /ccontroller_id/vvd_id start migrate type=rlevel option=add drives=enclosure_id:slot_id

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

vd_id

Specifies the ID of the target RAID array.

-

slot_id

Specifies the slot number of a new drive to be added.

-

level

Specifies the target RAID level after adding a new drive.

  • If the target RAID level is the same as the original RAID level, the command expanses the RAID capacity.
  • If the target RAID level is different from the original RAID level, the command changes the RAID level.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Add the drive in slot 2 to the RAID 0 array for capacity expansion.

domino:~# ./storcli64 /c0/v0 start migrate type=r0 option=add drives=252:2
Controller = 0 
Status = Success 
Description = Start MIGRATE Operation Success.     
domino:~# ./storcli64 /c0/v0 show migrate
Controller = 0 
Status = Success 
Description = None 

VD Operation Status : 
=================== 

------------------------------------------------------- 
VD Operation Progress% Status      Estimated Time Left 
------------------------------------------------------- 
 0 Migrate           1 In progress 13 Minutes 
-------------------------------------------------------     

# Add the drive to a single-disk RAID 0 array and change the RAID level to RAID 1.

domino:~# ./storcli64 /c0/v0 start migrate type=r1 option=add drives=252:3
Controller = 0 
Status = Success 
Description = Start MIGRATE Operation Success.     
domino:~# ./storcli64 /c0/v0 show migrate
Controller = 0 
Status = Success 
Description = None 

VD Operation Status : 
=================== 

------------------------------------------------------- 
VD Operation Progress% Status      Estimated Time Left 
------------------------------------------------------- 
 0 Migrate           1 In progress 14 Minutes 
-------------------------------------------------------     

Querying and Clearing PreservedCache Data

Function

Query and clear PreservedCache data.

Format

storcli64 /ccontroller_id show preservedcache

storcli64 /ccontroller_id/vvd_id delete preservedcache force

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

vd_id

Specifies the ID of the target RAID array.

-

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Query PreservedCache data.

domino:~# ./storcli64 /c0 show preservedcache
Controller = 0 
Status = Success 
Description = No Virtual Drive has Preserved Cache Data.     

Setting Consistency Check Parameters

Function

Sets consistency check parameters.

Format

storcli64 /ccontroller_id[/vvd_id]show cc

storcli64 /ccontroller_id/vvd_id start cc force

storcli64 /ccontroller_id/vvd_id action cc

storcli64 /ccontroller_id set cc=conc delay=value starttime=time excludevd=evd_id

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

vd_id

Specifies the ID of the target RAID array.

-

action

Specifies the operation to be performed.

  • pause: pauses the check.
  • resume: resumes the check.
  • stop: stops the check.

value

Specifies the frequency of performing consistency checks.

-

time

Specifies the consistency check start time.

Example: 2016/07/14 22:00:00

evd_id

Specifies the ID of a virtual drive on which no consistency check is performed.

-

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

If the show command does not contain /vvd_id, the consistency check parameters are queried.

If the show command contains /vvd_id, the consistency check progress is queried.

Example

# Set automatic consistency check parameters.

domino:~# ./storcli64 /c0 set cc=conc delay=1 starttime=2016/07/14 22:00:00 excludevd=0
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

------------------------------------ 
Ctrl_Prop      Value 
------------------------------------ 
CC Mode         CONC 
CC delay        1 
CC Starttime    2016/07/14 22:00:00 
CC ExcludeVD(0) Success 
------------------------------------

# Query the consistency check progress.

domino:~# ./storcli64 /c0/v1 show cc
Controller = 0 
Status = Success 
Description = None 

VD Operation Status : 
=================== 

----------------------------------------------------------- 
VD Operation Progress% Status          Estimited Time Left 
----------------------------------------------------------- 
 0 CC        -         Not in progress - 
-----------------------------------------------------------

Querying and Setting Patrolread Parameters

Function

Query and set patrolread parameters.

Format

storcli64 /ccontroller_id set patrolread starttime=time maxconcurrentpd=number

storcli64 /ccontroller_id set patrolread delay=delaytime

storcli64 /ccontroller_id show patrolread

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

time

Specifies the patrolread start time.

Example: 2016/07/15 23:00:00

number

Specifies the number of drives to be checked concurrently.

-

delaytime

Specifies the patrolread interval.

The unit is hour.

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Set the patrolread start time to 2016/07/15 23:00:00 and the number of drives to be checked concurrently to 2.

domino:~# ./storcli64 /c0 set patrolread starttime=2016/07/15 23:00:00 maxconcurrentpd=2
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

--------------------------------------- 
Ctrl_Prop          Value 
--------------------------------------- 
PR Starttime       2016/07/15 23:00:00 
PR MaxConcurrentPd 2 
---------------------------------------

# Query the patrolread information.

domino:~# ./storcli64 /c0 show patrolread
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

-------------------------------------------- 
Ctrl_Prop          Value 
-------------------------------------------- 
PR Mode       2016/07/15 23:00:00 
PR Execution Delay 
PR iterations completed 0 
PR Next Start time      07/16/2016,00:00:00 
PR on SSD               Disabled 
PR Current State        Stopped 
--------------------------------------------

Querying and Setting CacheFlush Parameters

Function

Query and set CacheFlush parameters.

Format

storcli64 /ccontroller_id show cacheflushint

storcli64 /ccontroller_id set cacheflushint time

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

time

Specifies the CacheFlush interval.

The unit is second.

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Set the CacheFlush interval to 10.

domino:~# ./storcli64 /c0 set cacheflushint=10
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

--------------------------- 
Ctrl_Prop            Value 
--------------------------- 
Cache Flush Interval 10 sec 
---------------------------

# Query the CacheFlush interval.

domino:~# ./storcli64 /c0 show cacheflushint
Controller = 0 
Status = Success 
Description = None 

Controller Properties : 
===================== 

--------------------------- 
Ctrl_Prop            Value 
--------------------------- 
Cache Flush Interval 10 
---------------------------

Setting Drive Status

Function

Set drive status.

Format

storcli64 /ccontroller_id/eenclosure_id/sslot_id set state

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

slot_id

Specifies a slot number.

-

state

Specifies the target drive state.

  • online: places a hard drive online.
  • offline: places a hard drive offline.
  • missing: removes a hard drive from a RAID array.
  • good: sets a hard drive as an idle drive.
  • jbod: sets a hard drive as a JBOD drive.
    NOTE:

    The LSI SAS2208 RAID controller card does not support the JBOD mode. Do not set related hard drives as JBOD drives.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Change the state of the hard drive in slot 1 from Unconfigured Bad to Unconfigured Good.

domino:~# ./storcli64 /c0/e252/s1 set good force
Controller = 0 
Status = Success 
Description = Set Drive Good Succeeded.

Setting the Status of a Drive UID Indicator

Function

Turn on and off the UID indicator of a specified drive.

Format

storcli64 /ccontroller_id/eenclosure_id/sslot_id action locate

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

The value can be all, which indicates that the UID indicators of all the drives in the enclosure will be turned on.

slot_id

Specifies a slot number.

The value can be all, which indicates that the UID indicators of all the drives in the enclosure will be turned on.

action

Specifies the operation to be performed.

  • start: turns on the UID indicator of a drive.
  • stop: turns off the UID indicator of a drive.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Turn on the UID indicator of the drive in slot 7.

domino:~# ./storcli64 /c0/e252/s7 start locate
Controller = 0 
Status = Success 
Description = Start Drive Locate Succeeded.

Querying RAID Controller Card/RAID Array/Physical Drive Information

Function

Query detailed information about RAID controller cards, physical drives, and virtual drives.

Format

storcli64 /ccontroller_id show

storcli64 /ccontroller_id/eenclosure_id/sslot_id show all

storcli64 /ccontroller_id/vvd_id show all

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

If this parameter is set to all, information about all controllers managed by this tool is queried.

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

If this parameter is set to all, information about all hard drive enclosures connected to the managed controllers is queried.

slot_id

Specifies a slot number.

If this parameter is set to all, information about all hard drives is queried.

vd_id

Specifies the ID of a virtual drive.

If this parameter is set to all, information about all virtual drives is queried.

Usage Guidelines

Table 4-106 describes the fields in the command output.

Table 4-106 Command output description

Format

Parameter

Description

Example Value

storcli64 /ccontroller_id show

Product Name

Model of the RAID controller card.

sas3108

FW Version

Firmware version of the RAID controller card.

4.660.00-8140

Driver Name

Driver name of the RAID controller card.

megaraid_sas

Driver Version

Driver version of the RAID controller card.

06.811.02.00-rh1

Current Personality

Working mode of the RAID controller card.

RAID-Mode

storcli64 /ccontroller_id/eenclosure_id/sslot_id show all

SN

Serial number of the physical hard drive.

PHWL517601YR800RGN

Manufacturer Id

Vendor ID of the physical hard drive.

ATA

Model Number

Module number of the physical hard drive.

INTEL SSDSC2BB800G4

Firmware Revision

Firmware version of the physical hard drive.

D2010370

Raw size

Physical hard drive capacity.

745.211 GB [0x5d26ceb0 Sectors]

Logical Sector Size

Logical partition size of the physical hard drive.

512B

Physical Sector Size

Size of the physical sector.

4 KB

storcli64 /ccontroller_id/vvd_id show all

TYPE

Level of the RAID array.

RAID1

State

RAID array status.

Optl

Access

Data access policy applied on the RAID array.

RW

Cache

Current read/write policy and I/O policy of the RAID array.

RWTD

Size

Size of the RAID array.

100.0 GB

PDs for VD0

Physical hard drives in the RAID array.

-

Strip Size

Strip size of the RAID array.

256KB

Write Cache(initial setting)

Cache write policy of the RAID array.

Write Through

Disk Cache Policy

Cache policy of member drives in the RAID array.

Disk's Default

Example

# Query detailed information about RAID controller card 0.

[root@localhost ~]# ./storcli64 /c0 show
Generating detailed summary of the adapter, it may take a while to complete.

CLI Version = 007.0409.0000.0000 Nov 06, 2017
Operating system = Linux3.10.0-514.el7.x86_64
Controller = 0
Status = Success
Description = None

Product Name = SAS2208
Serial Number =
SAS Address =  50030130f0900000
PCI Address = 00:01:00:00
System Time = 07/07/2018 22:06:42
Mfg. Date = 00/00/00
Controller Time = 07/07/2018 14:06:41
FW Package Build = 24.16.0-0093
BIOS Version = 6.32.02.0_4.17.08.00_0x06150500
FW Version = 4.660.00-8140
Driver Name = megaraid_sas 
Driver Version = 06.811.02.00-rh1
Current Personality = RAID-Mode
Vendor Id = 0x1000
Device Id = 0x5D
SubVendor Id = 0x19E5
SubDevice Id = 0xD207
Host Interface = PCI-E
Device Interface = SAS-12G
Bus Number = 1
Device Number = 0
Function Number = 0
Drive Groups = 1

TOPOLOGY :
========

-----------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT       Size PDC  PI SED DS3  FSpace TR
-----------------------------------------------------------------------------
 0 -   -   -        -   RAID1 Optl  N  744.125 GB dflt N  N   none N      N
 0 0   -   -        -   RAID1 Optl  N  744.125 GB dflt N  N   none N      N
 0 0   0   252:1    18  DRIVE Onln  N  744.125 GB dflt N  N   none -      N
 0 0   1   252:0    48  DRIVE Onln  N  744.125 GB dflt N  N   none -      N
-----------------------------------------------------------------------------

DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID
DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Dgrd=Degraded
Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active
PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign
DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present
TR=Transport Ready

Virtual Drives = 1

VD LIST :
=======

---------------------------------------------------------------
DG/VD TYPE  State Access Consist Cache Cac sCC       Size Name
---------------------------------------------------------------
0/0   RAID1 Optl  RW     Yes     RWBD  -   ON  744.125 GB
---------------------------------------------------------------

Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded
Optl=Optimal|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady|B=Blocked|
Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency

Physical Drives = 6

PD LIST :
=======

---------------------------------------------------------------------------------
EID:Slt DID State DG       Size Intf Med SED PI SeSz Model               Sp Type
---------------------------------------------------------------------------------
252:0    48 Onln   0 744.125 GB SATA SSD N   N  512B INTEL SSDSC2BB800G4 U  -
252:1    18 Onln   0 744.125 GB SATA SSD N   N  512B INTEL SSDSC2BB800G4 U  -
252:2    19 UGood  - 744.125 GB SATA SSD N   N  512B INTEL SSDSC2BA800G4 U  -
252:3    20 UGood  - 744.125 GB SATA SSD N   N  512B INTEL SSDSC2BA800G4 U  -
252:4    49 UGood  - 744.125 GB SATA SSD N   N  512B INTEL SSDSC2BB800G4 U  -
252:5    47 UGood  - 744.125 GB SATA SSD N   N  512B INTEL SSDSC2BB800G4 U  -
---------------------------------------------------------------------------------

EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded


Cachevault_Info :
===============

------------------------------------
Model  State   Temp Mode MfgDate
------------------------------------
CVPM02 Optimal 28C  -    2016/11/04
------------------------------------

# Query information about the physical hard drive in slot 0.

[root@localhost ~]# ./storcli64 /c0/e252/s0 show all
CLI Version = 007.0409.0000.0000 Nov 06, 2017
Operating system = Linux3.10.0-514.el7.x86_64
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.


Drive /c0/e252/s0 :
=================

---------------------------------------------------------------------------------
EID:Slt DID State DG       Size Intf Med SED PI SeSz Model               Sp Type
---------------------------------------------------------------------------------
252:0    48 Onln   0 744.125 GB SATA SSD N   N  512B INTEL SSDSC2BB800G4 U  -
---------------------------------------------------------------------------------

EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded


Drive /c0/e252/s0 - Detailed Information :
========================================

Drive /c0/e252/s0 State :
=======================
Shield Counter = 0
Media Error Count = 0
Other Error Count = 0
Drive Temperature =  20C (68.00 F)
Predictive Failure Count = 0
S.M.A.R.T alert flagged by drive = No


Drive /c0/e252/s0 Device attributes :
===================================
SN = PHWL517601YR800RGN
Manufacturer Id = ATA
Model Number = INTEL SSDSC2BB800G4
NAND Vendor = NA
WWN = 55cd2e404c533246
Firmware Revision = D2010370
Raw size = 745.211 GB [0x5d26ceb0 Sectors]
Coerced size = 744.125 GB [0x5d040800 Sectors]
Non Coerced size = 744.711 GB [0x5d16ceb0 Sectors]
Device Speed = 6.0Gb/s
Link Speed = 6.0Gb/s
NCQ setting = Enabled
Write cache = N/A
Logical Sector Size = 512B
Physical Sector Size = 4 KB
Connector Name = Port A x1


Drive /c0/e252/s0 Policies/Settings :
===================================
Drive position = DriveGroup:0, Span:0, Row:1
Enclosure position = 1
Connected Port Number = 0(path0)
Sequence Number = 2
Commissioned Spare = No
Emergency Spare = No
Last Predictive Failure Event Sequence Number = 0
Successful diagnostics completion on = N/A
SED Capable = No
SED Enabled = No
Secured = No
Cryptographic Erase Capable = No
Locked = No
Needs EKM Attention = No
PI Eligible = No
Certified = No
Wide Port Capable = No

Port Information :
================

-----------------------------------------
Port Status Linkspeed SAS address
-----------------------------------------
   0 Active 6.0Gb/s   0x4433221100000000
-----------------------------------------


Inquiry Data =
40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00
00 00 00 00 48 50 4c 57 31 35 36 37 31 30 52 59
30 38 52 30 4e 47 20 20 00 00 00 00 00 00 32 44
31 30 33 30 30 37 4e 49 45 54 20 4c 53 53 53 44
32 43 42 42 30 38 47 30 20 34 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 80
00 40 00 2f 00 40 00 00 00 00 07 00 ff 3f 10 00
3f 00 10 fc fb 00 01 bf ff ff ff 0f 00 00 07 00

# Query information about VD 0.

[root@rhel6u5 ~]# /opt/MegaRAID/storcli/storcli64 /c0/v0 show all
Controller = 0
Status = Success
Description = None


/c0/v0 :
======

---------------------------------------------------------
DG/VD TYPE  State Access Consist Cache sCC     Size Name
---------------------------------------------------------
1/0   RAID1 Optl  RW     Yes     RWTD  -   1.089 TB
---------------------------------------------------------

Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=Degraded
Optl=Optimal|RO=Read Only|RW=Read Write|B=Blocked|Consist=Consistent|
R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency


PDs for VD 0 :
============

-----------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model            Sp
-----------------------------------------------------------------------
25:22    14 Onln   1 1.089 TB SAS  HDD N   N  512B ST1200MM0007     U
25:23    26 Onln   1 1.089 TB SAS  HDD N   N  512B ST1200MM0007     U
-----------------------------------------------------------------------

EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded


VD0 Properties :
==============
Strip Size = 256 KB
Number of Blocks = 2341795840
VD has Emulated PD = No
Span Depth = 1
Number of Drives Per Span = 2
Write Cache(initial setting) = WriteThrough
Disk Cache Policy = Disk's Default
Encryption = None
Data Protection = Disabled
Active Operations = None
Exposed to OS = Yes
Creation Date = 04-01-2018
Creation Time = 12:38:35 PM
Emulation type = None

Restoring Frn-Bad Hard Drives

Function

Restore Frn-Bad hard drives in a RAID array to Online.

Format

storcli64 /ccontroller_id/eenclosure_id/sslot_id set good

storcli64 /ccontroller_id/fall import

storcli64 /ccontroller_id/eenclosure_id/sslot_id start rebuild

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card for drives.

-

enclosure_id

Specifies the ID of the enclosure where the drives are installed.

-

slot_id

Specifies a member drive slot number.

-

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

The hard drives in slots 1 and 5 are in the UBad F state, as shown in Figure 4-309. Perform the following steps to restore the state to online.

Figure 4-309 Drive status

1. Set the state of the hard drives in slots 1 and 5 to UGood.

domino:~# ./storcli64 /c0/e0/s1,5 set good
Controller = 0 
Status = Success 
Description = Set Drive Good Succeeded.

2. Import foreign configurations.

domino:~# ./storcli64 /c0/fall import
Controller = 0 
Status = Success 
Description = Successfully imported foreign configuration

3. If the RAID array needs to be rebuilt, run the following command:

domino:~# ./storcli64 /c0/e0/s1 start rebuild
Controller = 0 
Status = Success 
Description = Start Drive Rebuild Succeeded.

Query Supercapacitor Information

Function

Query supercapacitor information, such as the supercapacitor name and the cache capacity of the TFM Flash card.

Format

storcli64 /ccontroller_id/cv show all

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of a RAID controller card.

If the value is all, information about all RAID controllers will be queried.

For details about how to query the RAID controller card ID, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Example

# Query supercapacitor information.

[root@localhost ~]# ./storcli64 /c0/cv show all
CLI Version = 007.0409.0000.0000 Nov 06, 2017
Operating system = Linux3.10.0-514.el7.x86_64
Controller = 0
Status = Success
Description = None


Cachevault_Info :
===============

--------------------
Property    Value
--------------------
Type        CVPM02
Temperature 28 C
State       Optimal
--------------------


Firmware_Status :
===============

---------------------------------------
Property                         Value
---------------------------------------
Replacement required             No
No space to cache offload        No
Module microcode update required No
---------------------------------------


GasGaugeStatus :
==============

------------------------------
Property                Value
------------------------------
Pack Energy             294 J
Capacitance             108 %
Remaining Reserve Space 0
------------------------------


Design_Info :
===========

------------------------------------
Property                 Value
------------------------------------
Date of Manufacture      04/11/2016
Serial Number            22417
Manufacture Name         LSI
Design Capacity          288 J
Device Name              CVPM02
tmmFru                   N/A
CacheVault Flash Size    8.0 GB
tmmBatversionNo          0x05
tmmSerialNo              0xee7d
tmm Date of Manufacture  09/12/2016
tmmPcbAssmNo             022544412A
tmmPCBversionNo          0x03
tmmBatPackAssmNo         49571-13A
scapBatversionNo         0x00
scapSerialNo             0x5791
scap Date of Manufacture 04/11/2016
scapPcbAssmNo            1700134483
scapPCBversionNo          A
scapBatPackAssmNo        49571-13A
Module Version           6635-02A
------------------------------------


Properties :
==========

--------------------------------------------------------------
Property             Value
--------------------------------------------------------------
Auto Learn Period    27d (2412000 seconds)
Next Learn time      2018/08/03  17:48:38 (586633718 seconds)
Learn Delay Interval 0 hour(s)
Auto-Learn Mode      Transparent
--------------------------------------------------------------
  • In the command output, Device Name CVPM02 indicates that the supercapacitor name is CVPM02, and CacheVault Flash Size 8.0GB indicates that the cache capacity of the TFM Flash card is 8.0 GB.
  • If State is FAILED, replace the supercapacitor.

Upgrading the Hard Drive Firmware

Function

Upgrade the hard drive firmware.

Format

./storcli64 /ccontroller_id /eenclosure_id/sslot_id download src=FW_name.bin

Parameters

Parameter

Description

Value

controller_id

Specifies the ID of the RAID controller card.

enclosure_id

Specifies the ID of the enclosure housing the drives.

slot_id

Specifies the slot number of the hard drive.

FW_name

Specifies the hard drive firmware name.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Example

# Upgrade the hard drive firmware.

[root@localhost ~]# ./storcli64 /c0/e64/s5 download src=5200_D1MU004_Releasefullconcatenatedbinary.bin
Starting microcode update  .....please wait...
Flashing PD image  ..... please wait...
CLI Version = 007.0504.0000.0000 Nov 22,2017
Operation system = Linux 3.10.0-514.el7.x86_64
Controller = 0 
Status = Success 
Description = Firmware Download succeeded. 

Drive Firmware Download : 
======================== 
-------------------------------------------------------------------------------- 
Drive     Status  ErrCd    ErrMsg 
-------------------------------------------------------------------------------- 
/c0/e64/s5 Success   0        -
-------------------------------------------------------------------------------- 

Rebuilding the RAID Array Manually

Function

Rebuild the RAID array manually.

Format

storcli64 /ccontroller_id/eenclosure_id/sslot_id insert dg=DG array=Arr row=Row

storcli64 /ccontroller_id/eenclosure_id/sslot_id start rebuild

Parameter Description

Parameter

Parameter Description

Value

controller_id

ID of the RAID controller card.

enclosure_id

ID of the enclosure housing the hard drive.

slot_id

Slot number of the hard drive to be added to the RAID array.

DG

ID of the DG where the hard drive is faulty.

Arr

ID of the RAID array where the hard drive is faulty.

Row

Row number of the RAID array where the hard drive is faulty.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

To rebuild a RAID array, perform the following steps:

1. Run the ./storcli64/c0 show command to query the DG, Arr, and Row information of the faulty hard drive.

2. Run the storcli64 /ccontroller_id/eenclosure_id/sslot_id insert dg=DG array=Arr row=Row command to add the hard drive to the RAID array.

3. Run the storcli64 /ccontroller_id/eenclosure_id/sslot_id start rebuild command to manually rebuild the RAID array.

Example

# Add the hard drive to the RAID array.

[root@localhost ~]# storcli64 /c0/e252/s1 insert dg=0 array=0 row=0
CLI Version = 007.0504.0000.0000 Nov 22, 2017
Operating system = Linux 3.10.0-693.el7.x86_64
Controller = 0
Status = Success
Description = Insert Drive Succeeded.

# Rebuild the RAID array.

[root@localhost ~]# storcli64 /c0/e252/s1 start rebuild
CLI Version = 007.0504.0000.0000 Nov 22, 2017
Operating system = Linux 3.10.0-693.el7.x86_64
Controller = 0
Status = Success
Description = Start Drive Rebuild Succeeded.

Setting the Cache Status of a Hard Drive

Function

Set the cache status of member drives in a RAID array.

Format

storcli64 /ccontroller_id/vvd_id set pdcache=action

Parameter description

Parameter

Description

Value

controller_id

ID of the RAID controller card.

vd_id

ID of a RAID array

action

Operation to be performed.

  • on: enables the cache function of the hard drive.
  • off: disables the cache function of the hard drive.
  • default: sets the hard drive cache to the default status.

For details about how to query the IDs, see Querying RAID Controller Card/RAID Array/Physical Drive Information.

Usage Guidelines

None

Example

# Enable the hard drive cache of RAID array 0.

./storcli64 /c0/v0 set pdcache=on
Controller = 0
Status = Success
Description = None

Detailed Status :
===============

---------------------------------------
VD Property Value Status  ErrCd ErrMsg
---------------------------------------
 0 PdCac    On    Success     0 -
---------------------------------------
Translation
Download
Updated: 2019-11-01

Document ID: EDOC1000004186

Views: 713830

Downloads: 20606

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next