MegaRAID Storage Manager on Ubuntu for LSI cards

Getting MegaRAID Storage Manager and CLI tools installed on Ubuntu is no fun. This is what worked for me:

echo "deb squeeze main" >> /etc/apt/sources.list
apt-get update
apt-get -y --force-yes install megacli megactl libc6-i386 lib32gcc1 lib32z1 lib32stdc++6 ia32-libs lib32icu42
dpkg -i libstdc++5_3.3.6-21ubuntu1_amd64.deb
dpkg-deb -x libstdc++5_3.3.6-21ubuntu1_i386.deb lib32stdc++5
cp ./lib32stdc++5/usr/lib/ /usr/lib32
ln -s /usr/lib32/ /usr/lib32/
dpkg-deb -x libxerces-c28_2.8.0+deb1-2build1_i386.deb lib32xerces-c28
mkdir -p /opt/lsi/Apache/
cp ./lib32xerces-c28/usr/lib/ /opt/lsi/Apache/
ln -s /opt/lsi/Apache/ /opt/lsi/Apache/
ln -s /opt/lsi/Apache/ /usr/lib/

dpkg -i megaraid-storage-manager_8.10-04_amd64.deb

dpkg -i getlibs-all.deb
getlibs -y -l

## Launch GUI (make sure X11 forwarding is enabled on SSH session):
## /usr/local/MegaRAID\ Storage\ Manager/

Now you can monitor and manage many different LSI SAS cards (including Dell Perc and some others).

3 Responses to MegaRAID Storage Manager on Ubuntu for LSI cards

  1. ronfish says:

    Texas A&M and I thank you!

  2. sirkingchase says:

    Thanks alot from University of Southern Mississippi!

    Installed successfully on Kubuntu 12.04!

    Changes –
    MegaRAID link is out of data use –

    Use libstdc5++ in Ubuntu repo instead of –

    Everything else is the same!

  3. sirkingchase says:

    A year later and I come back to this same tuturial. Upgraded motherboad to GA-990XA-UD3 and MSM was not decting my card. I switch the it to the 1st PCI slot and it dected it.

    I thought it was a software problem and literally searched for weeks trying to figure it out. As last resort I switch the damn slots and it worked again.