Top

Using MegaRAID storcli64 to setup RAID10 and RAID6

Dec 18, 2020 | 3950 views

#Linux #Storage


Create RAID10:


# Create RAID10, 
# HELP sudo storcli /cx add vd type=[RAID0(r0)|RAID1(r1)|...] drives=[EnclosureID:SlotID|:SlotID-SlotID|:SlotID,SlotID]
  820  storcli64 /c0 add vd r10 drives=8:0,1,2,3 pdperarray=2
# find which virtual group is raid10, which is v0 in here
  821  storcli64 /c0 show 
  822  storcli64 /c0/v0 show
  823  storcli64 /c0/v0 show all
  824  storcli64 /c0/v0 show all | less
# initialize RAID10
  825  storcli64 /c0/v0 start init
  826  storcli64 /c0/v0 show init
  827  storcli64 /c0/v0 show all | less
  828  storcli64 /c0/vall show all | less

Create RAID 6:

# Create RAID 6
  831  storcli64 /c0 add vd type=raid6 drives=8:4-15
  832  storcli64 /c0/vall show all | less
# find which virtual device id is raid 6 just created
  833  storcli64 /c0/vall show 
  834  storcli64 /c0/v2 show
  835  storcli64 /c0/v2 show  all
  836  storcli64 /c0 show  all
  838  storcli64 /c0/v2 show  all
  839  storcli64 /c0/v2 show  all | more
# initialize RAID6
  841  storcli64 /c0/v2 start init
  842  storcli64 /c0/v2 show init
  843  storcli64 /c0/v2 show
  844  storcli64 /c0/v2 show all
  845  storcli64 /c0/vall show


Example of Creating RAID 50, RAID 60


StorCLI:
# RAID 10
C:\>storcli64 /C0 add vd type=raid10 drives=83:5,6,7,8 pdperarray=2
# RAID 50
C:\>storcli64 /C0 add vd type=raid50 drives=83:5,6,7,8,9,10 pdperarray=3
# RAID 60
C:\>storcli64 /C0 add vd type=raid60 drives=83:5,6,7,8,9,10,11,12 pdperarray=4

Refer to 


Leave a comment

0 comments