Dell/LSI Mega raid CLI command cheatsheet

Wanted to remember these for later:

DELL PERC 6i & LSI RAID CHEAT SHEET:

To add a RAID 10:
./MegaCli64 -CfgSpanAdd -R10 -Array0[17:0,17:1] -Array1[17:2,17:3] -Array2[17:4,17:5] -Array3[17:6,17:7] -Array4[17:8,17:9] WB NORA  -strpsz64 -a0

(WB is write back, WT is write through)
(NORA is no read ahead, RA is read ahead)

To delete a Logical device:
./MegaCli64 -cfgLDDel -l0 -a0

To Start inilization:
./MegaCli64 -LDInit -Start -L0 -a0

TO Display the background initialization
./MegaCli64 -LDBI -ProgDsply -L0 -a0

To Display all the physical and logical devices on the array:

./MegaCli64 -LDPDInfo -aall

docs are here:

http://www.lsi.com/files/docs/techdocs/storage_stand_prod/sas/mr_sas_sw_ug.pdf

This entry was posted in hardware, linux, raid. Bookmark the permalink.

One Response to Dell/LSI Mega raid CLI command cheatsheet

  1. FYI. Your lsi.com link is broken.

    You can find the driver and docs at http://www.lsi.com/obsolete/megaraid_sas_8480e.html

Comments are closed.