Benutzer-Werkzeuge

Webseiten-Werkzeuge


pc:lsimegaraid

LSI MegaRAID

MegaCLI

Install MegaCLI on Ubuntu 12.04 x64

Source: http://action-jackson.de/wp/2012/05/08/how-to-install-lsi-megacli-on-ubuntu-12-04-2/

$ wget http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/8.07.07_MegaCLI.zip
$ unzip 8.07.07_MegaCLI.zip
$ sudo apt-get install alien
$ sudo alien MegaCli-8.07.07-1.noarch.rpm
$ sudo apt-get install lib32gcc1 lib32ncurses5 libc6-i386 lib32stdc++6 lib32tinfo5
$ sudo dpkg -i megacli_8.07.07-2_all.deb
$ sudo setarch x86_64 --uname-2.6 /opt/MegaRAID/MegaCli/MegaCli64 -adpCount
Controller Count: 1.
Exit Code: 0x01
$ sudo vim /usr/bin/megacli
#!/bin/bash
sudo setarch x86_64 --uname-2.6 /opt/MegaRAID/MegaCli/MegaCli64 $@ >> /usr/bin/megacli
$ sudo chmod +x /usr/bin/megacli
$ sudo megacli  -adpCount

Get Controller Count

# megacli -adpCount

Controller Count: 1.

Exit Code: 0x01
pc/lsimegaraid.txt · Zuletzt geändert: 2013/10/23 17:59 von pixeldoc