MegaRAID megacli install?


Recommended Posts

  • 1 year later...

I came here because I too am looking for this.  Not because I'm disagreeing with the point above, but because MegaCli can query information on the card from the cli which is very useful.  I am currently trying to figure out why a raid cabinet is not hot swapping disks properly which has led me down a whole path with mpt2sas and mpt3sas which ended up me wanting this tool to get info.  I think it would be great to have as part of nerd tools or something.

 

e.g

MegaCli64 -LDInfo -LALL -aALL

Link to comment
  • 11 months later...

Hi,

 

Old post, but just throught I would share.

 

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

 

2. Unzipped the fil on a Windows machine

3. Found the RPM file for Linux in the archive and used 7z to unpack the RPM file. 

4. Copied all three files in the RPM to a folder on Unraid

5. Opened an SSH to the server and changed dir to where i placed the files

6 ran: chmod 777 MegaCli64

7 ran: ./MegaCli64 -h

 

That's it. Nothing really needs to be installed. I tried to change the rebuild speed and check info on disks etc. and all works as expected

 

Hope this helps :)

 

Happy MegaCli'ing.

 

/Christian

  • Like 1
  • Thanks 1
Link to comment
  • 1 year later...

I know this is an old topic, but some will probably end up here like I did with a search.

 

I was able to use the Linux binaries for storcli from Broadcom to check full status, along with temperature using the steps above with this zip. I used the 64 bit binary under the Linux folder and chmod 777 to make it executable once copied to the /tmp folder on unraid.

 

This worked for a 9300-8i

https://docs.broadcom.com/docs/1232743501

 

./storcli64 /c0 show temperature

CLI Version = 007.2707.0000.0000 Dec 18, 2023
Operating system = Linux 6.1.74-Unraid
Controller = 0
Status = Success
Description = None


Controller Properties :
=====================

--------------------------------------
Ctrl_Prop                       Value 
--------------------------------------
ROC temperature(Degree Celsius) 44    
--------------------------------------

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.