Posts Tagged ‘storcli’

Using storcli to create RAID50 arrays

Wednesday, October 29th, 2014

The storcli command line can be installed on linux, vmware, windows and macos to provide management of raid devices on booted ibm 3650.  The MegaRaid GUI provides a guided wizard for RAID50 disk creation, but the storcli command line options aren’t as clear.  It turns out that you must provided an arrangement for the disks in order to create a raid 50 group.  For example:

./storcli /c0 add vd r50 name=446SSDRaid50 drives=9:3-8 strip=128
Controller = 0
Status = Failure
Description = operation not possible for current RAID level, Invalid RAID level

The above fails because it is missing the pdperarray options, which tells storcli how to arrange the disks:

/opt/StorCLI # ./storcli /c0 add vd type=raid50 name=446SSDRaid50 drives=9:6-11  \
pdperarray=3 strip=128
Controller = 0
Status = Success
Description = Add VD Succeeded

Click  here
for some further examples of the storcli command.