How to setup Megaraid Volume in Petitboot using Storcli

If this is your first time bringing up a OpenPOWER server and you wanted a to setup a megaRAID volume before you do an install: You should be reading this.

In order to  do this

  1. Power on the server and wait for Petitboot menu to show on your VGA or Out of Band console. This should take 4-5 mins .
  2. When should get to Petitboot menu and then press “Exit to Shell” option as show below:

Screen Shot 2016-06-09 at 11.31.40 AM

3. Once in petitboot shell, you can access a plugged in thumb drive with storcli64 binary or scp / wget the same binary from Petitboot shell. I am providing the binary corresponding to latest here:

4.  change ‘storcli64’ permissions :   “chmod 777 storcli64”

5.  Now you can use this storcli64 binary to create a VD that you can subsequently install. Here is a dictionary of Storcli commands you can use for doing the same:

Show all physical drives:

./storcli64 /c0 /eall /sall show

Show existing VD

 ./storcli64 /c0 /vall show

Delete ALL Existing VD

./storcli64 /c0 /vall del force

Configure: Add everything to RAID 0 ( Based on number of drives you have, command changes, in my case it was 14 drives)

 ./storcli64 /c0 add vd type=r0 drives=0:0-14

Show new VD

 ./storcli64 /c0 /vall show

Initiate:

 ./storcli64 /c0 /vall start init

Check if everything is online:

./storcli64 /c0 /eall /sall show

 

Advertisement