Skip to main content

RAID configuration using StorCLI

For our Root Server Duals and the Root Server Storages Nine uses Intel Server Hardware, which have a dedicated RAID Controller Integrated RAID Module RMS25CB080.

StorCLI

To configure the hardware RAID, and to edit or monitor it afterwards you can use the tool 'StorCLI'

StorCLI is a commandline-tool to manage the LSI Controller (used to be MegaRAID Controller and the successor of MegaCLI.)

Download

StorCLI Phase 2.0 is downloadable through the Intel Download Site and is to be used as root.

Download here: https://downloadcenter.intel.com/download/25499/StorCLI-Phase-2-0.

The package for Debian/Ubuntu is after unpacking in the subfolder called ubuntu. For Cent0S the package can be found under Linux.

root@root-server-dual:~/dpkg -i Ubuntu/storcli_1.17.08_all.deb
dpkg: warning: parsing file '/var/lib/dpkg/tmp.ci/control' near line 17 package 'storcli':
missing maintainer
Selecting previously unselected package storcli.
(Reading database ... 67627 files and directories currently installed.)
Preparing to unpack storcli_1.17.08_all.deb ...
Unpacking storcli (1.17.08) ...
Setting up storcli (1.17.08) ...

Usage

root@root-server-dual:~# cd /opt/MegaRAID/storcli
root@root-server-dual:/opt/MegaRAID/storcli# ./storcli64
  • information about every controller

    ./storcli64 show

  • informations to selected controller and its configuration

    ./storcli64 /c0 show

  • informations to the available hard drives and their current state (Serial Number, temperature )

    ./storcli64 /c0 /eall /sall show [all]

  • informations to the available virtual drives and their current state.

    ./storcli64 /c0 /vall show [all]

  • show the progress of ongoing rebuilds

    ./storcli64 /c0 /eall /sall show rebuild

  • create a RAID 1

    ./storcli64 /c0 add vd type=raid1 size=10gb names=tmp1 drives=0:2-3

  • create a RAID 5

    ./storcli64 /c0 add vd type=raid5 size=10gb names=tmp1 drives=0:2-6

  • create a RAID 6

    ./storcli64 /c0 add vd type=raid6 size=10gb names=tmp1 drives=0:2-7

  • create a RAID 10

    ./storcli64 /c0 add vd type=raid10 size=2gb,3gb,4gb names=tmp1,tmp2,tmp3 drives=0:2-3,5,7 pdperarray=2

Manual

There is a manual with all the usable parameters provided by avagotech (the succsessor of the producer LSI) to be found here.

controller overview in detail

information regarding every controller

./storcli64 show

root@root-server-dual:# ./storcli64 show

... SNIPP ...

System Overview :
===============
---------------------------------------------------------------------------------------------------
Ctl Model Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth
---------------------------------------------------------------------------------------------------
0 Intel(R)IntegratedRAIDModuleRMS25CB080 8 2 1 0 1 0 Opt On 1&2 Y 3 Opt
---------------------------------------------------------------------------------------------------

configuration overview

information regarding the selected controller and its configuration

./storcli64 /c0 show

root@root-server-dual:# ./storcli64 /c0 show
Generating detailed summary of the adapter, it may take a while to complete.

... SNIPP ...

Product Name = Intel(R) Integrated RAID Module RMS25CB080
Serial Number = QSIP23600494
SAS Address = 5001e6756eda0000
PCI Address = 00:05:00:00
System Time = 01/25/2016 14:34:15
Mfg. Date = 09/07/12
Controller Time = 01/25/2016 13:34:14
FW Package Build = 23.12.0-0013
BIOS Version = 5.42.00_4.12.05.00_0x05270000
FW Version = 3.240.25-2382
Driver Name = megaraid_sas
Driver Version = 06.805.06.01-rc1
Vendor Id = 0x1000
Device Id = 0x5B
SubVendor Id = 0x8086
SubDevice Id = 0x3513
Host Interface = PCI-E
Device Interface = SAS-6G
Bus Number = 5
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
--------------------------------------------------------------------------
0 - - - - RAID1 Optl N 930.390 GB dflt N N none N
0 0 - - - RAID1 Optl N 930.390 GB dflt N N none N
0 0 0 252:0 8 DRIVE Onln N 930.390 GB dflt N N none -
0 0 1 252:1 9 DRIVE Onln N 930.390 GB dflt N N none -
--------------------------------------------------------------------------

... SNIPP ...

Virtual Drives = 1

VD LIST :
=======
---------------------------------------------------------------
DG/VD TYPE State Access Consist Cache Cac sCC Size Name
---------------------------------------------------------------
0/0 RAID1 Optl RW No RWBC - ON 930.390 GB
---------------------------------------------------------------

... SNIPP ...

Physical Drives = 2

PD LIST :
=======
-------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
-------------------------------------------------------------------------------
252:0 8 Onln 0 930.390 GB SATA HDD N N 512B WDC WD1000CHTZ-04JCPV1 U
252:1 9 Onln 0 930.390 GB SATA HDD N N 512B WDC WD1000CHTZ-04JCPV1 U
-------------------------------------------------------------------------------

... SNIPP ...

Cachevault_Info :
===============
---------------------------------------------------------
Model State Temp Mode MfgDate Next Learn
---------------------------------------------------------
CVPM02 Optimal 23C - 2012/12/19 2016/02/22 13:07:20
---------------------------------------------------------

Information regarding the disks

Information regarding the available disks and their current state (serial number,temperature etc.)

root@root-server-dual:# ./storcli64 /c0 /eall /sall show all
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
-------------------------------------------------------------------------------
252:0 8 Onln 0 930.390 GB SATA HDD N N 512B WDC WD1000CHTZ-04JCPV1 U
-------------------------------------------------------------------------------

... SNIPP ...

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

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


Drive /c0/e252/s0 Device attributes :
===================================
SN = WD-WXS1E64JNL0D
Manufacturer Id = ATA
Model Number = WDC WD1000CHTZ-04JCPV1
NAND Vendor = NA
WWN = 50014ee65a68f4c4
Firmware Revision = 04.06A01
Raw size = 931.512 GB [0x74706db0 Sectors]
Coerced size = 930.390 GB [0x744c8000 Sectors]
Non Coerced size = 931.012 GB [0x74606db0 Sectors]
Device Speed = 6.0Gb/s
Link Speed = 6.0Gb/s
NCQ setting = N/A
Write cache = N/A
Logical Sector Size = 512B
Physical Sector Size = 4 KB
Connector Name = Port 0 - 3 x1


Drive /c0/e252/s0 Policies/Settings :
===================================
Drive position = DriveGroup:0, Span:0, Row:0
Enclosure position = 0
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
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 =
7a 42 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00
00 00 00 00 20 20 20 20 57 20 2d 44 58 57 31 53
36 45 4a 34 4c 4e 44 30 00 00 00 00 00 00 34 30
30 2e 41 36 31 30 44 57 20 43 44 57 30 31 30 30
48 43 5a 54 30 2d 4a 34 50 43 31 56 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80
00 40 00 2f 01 40 00 00 00 00 07 00 ff 3f 10 00
3f 00 10 fc fb 00 00 01 ff ff ff 0f 00 00 07 00



Drive /c0/e252/s1 :
=================

-------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
-------------------------------------------------------------------------------
252:1 9 Onln 0 930.390 GB SATA HDD N N 512B WDC WD1000CHTZ-04JCPV1 U
-------------------------------------------------------------------------------

... SNIPP ...

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

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


Drive /c0/e252/s1 Device attributes :
===================================
SN = WD-WXT1E64TZEFP
Manufacturer Id = ATA
Model Number = WDC WD1000CHTZ-04JCPV1
NAND Vendor = NA
WWN = 50014ee6afbe6dc0
Firmware Revision = 04.06A01
Raw size = 931.512 GB [0x74706db0 Sectors]
Coerced size = 930.390 GB [0x744c8000 Sectors]
Non Coerced size = 931.012 GB [0x74606db0 Sectors]
Device Speed = 6.0Gb/s
Link Speed = 6.0Gb/s
NCQ setting = N/A
Write cache = N/A
Logical Sector Size = 512B
Physical Sector Size = 4 KB
Connector Name = Port 0 - 3 x1


Drive /c0/e252/s1 Policies/Settings :
===================================
Drive position = DriveGroup:0, Span:0, Row:1
Enclosure position = 0
Connected Port Number = 1(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
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 0x4433221101000000
-----------------------------------------