To get MegaCLI running on my Unraid server I did the following:

  1. Downloaded MegaCLI for linux from here:

https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip

  1. Unzipped the file on a Windows machine
  2. Found the RPM file for Linux in the archive and used 7z to unpack the RPM file.
  3. Copied all three files in the RPM to a folder on Unraid
  4. Opened an SSH to the server and changed directory to where I placed the files
  5. Ran: chmod 777 MegaCli64
  6. Ran: ./MegaCli64 -h
  7. Enable JBOD on the controller

/opt/MegaRAID/MegaCli/MegaCli64 -AdpSetProp -EnableJBOD 1 -a0

  1. Put drives in “UnconfiguredGood” state

/opt/MegaRAID/MegaCli/MegaCli64 -pdmakegood -physdrv [252:0,252:1,252:2,252:3,252:4,252:5] -force –a0

  1. Make drives JBOD

/opt/MegaRAID/MegaCli/MegaCli64 -pdmakejbod -physdrv [252:0,252:1,252:2,252:3,252:4,252:5] –a0