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

 

Advertisements
How to setup Megaraid Volume in Petitboot using Storcli

4 thoughts on “How to setup Megaraid Volume in Petitboot using Storcli

  1. Cameron says:

    I see the issue now… When I checked the binary on RHEL6, the information wasn’t very concise. I checked it on a much more modern dist/release and it’s clearly a PPC64 binary.

    Will these PPC64 MegaRAID utilities be released formally? I’d imagine so. Having just this binary is a good start, but I would expect the full suite has prebuilt tools for notifying you of drive errors, etc. For now, I can write my own scripts around this tool so this is fine. Thank you for providing this binary!

    Like

    1. adigangidi says:

      Hi Cameron, These binaries are also official released in a deb / rpm package. I provided the final binary in my blog post mainly to help people get started quickly. Would you like a link to the official version ?

      Like

      1. Cameron says:

        Yes, please! Thank you for your help!

        In my research to find a fully functioning RAID controller for OpenPOWER, I’ve been unable to find any userspace management utilities except for your blog. I’ve specifically looked for such utilities for LSI MegaRAID, as well as Microsemi Adaptec. All the controllers I’ve checked are listed on the OpenPOWER foundation site too.

        I don’t have an OpenPOWER box just yet, but I have a POWER9 system pre-ordered.

        Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s