To get MegaCLI running on my Unraid server I did the following:
Downloaded MegaCLI for linux from here:
https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip
Unzipped the file on a Windows machine
Found the RPM file for Linux in the archive and used 7z to unpack the RPM file.
Copied all three files in the RPM to a folder on Unraid
Opened an SSH to the server and changed directory to where I placed the files
Ran: chmod 777 MegaCli64
Ran: ./MegaCli64 -h
Enable JBOD on the controller
/opt/MegaRAID/MegaCli/MegaCli64 -AdpSetProp -EnableJBOD 1 -a0
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
Make drives JBOD
/opt/MegaRAID/MegaCli/MegaCli64 -pdmakejbod -physdrv [252:0,252:1,252:2,252:3,252:4,252:5] –a0