Skip to content

Instantly share code, notes, and snippets.

@fxkraus
Last active June 27, 2024 05:41
Show Gist options
  • Save fxkraus/595ab82e07cd6f8e057d31bc0bc5e779 to your computer and use it in GitHub Desktop.
Save fxkraus/595ab82e07cd6f8e057d31bc0bc5e779 to your computer and use it in GitHub Desktop.
Install LSI MegaCli .deb package on Debian/Ubuntu

download

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

unzip

unzip 8-07-14_MegaCLI.zip

create debian package

cd Linux
sudo alien MegaCli-8.07.14-1.noarch.rpm

install debian package

sudo dpkg -imegacli_8.07.14-2_all.deb

run MegaCli

/opt/MegaRAID/MegaCli/MegaCli64 -h
@xavghub
Copy link

xavghub commented Jun 23, 2024

Works well on Proxmox (based on Debian):

  1. Install necessary tools
    apt-get install unzip
    apt-get install alien
  2. Install necessary lib
    apt install libncurses5
  3. Download
    wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip
  4. Unzip
    unzip 8-07-14_MegaCLI.zip
  5. Create debian package
    cd Linux
    sudo alien MegaCli-8.07.14-1.noarch.rpm
  6. Install debian package
    sudo dpkg -i megacli_8.07.14-2_all.deb
  7. run MegaCli
    `/opt/MegaRAID/MegaCli/MegaCli64 -h

yup that worked for me on Proxmox
Thanks alot !

@nyaky2
Copy link

nyaky2 commented Jun 26, 2024

Hi I'm wondering if someone can help me out

Followed all of the steps, but get

./libstorelibir-2.so: cannot open shared object file: No such file or directory

 Internal Error.
ERROR:Could not detect controller.
Failed to get ControllerId List.
Failed to get CpController object.

I'm also using proxmox. Tnx

@jesussuarz
Copy link

Hi I'm wondering if someone can help me out

Followed all of the steps, but get

./libstorelibir-2.so: cannot open shared object file: No such file or directory

 Internal Error.
ERROR:Could not detect controller.
Failed to get ControllerId List.
Failed to get CpController object.

I'm also using proxmox. Tnx

Follow the following steps and tell me if they work for you:

apt install apt-file
apt-file update
apt-file search libstorelibir-2.so

If you find the library, create a symbolic link:

ln -s /path/libstorelibir-2.so ./libstorelibir-2.so

or you can also try to install just the library.

apt install libstorelibir-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment