That did it, thank you @justarobert. Here are the detailed instructions for the future:
# cat /etc/issue
Ubuntu 10.04.2 LTS \n \l
install two packages:
#apt-get install unzip rpm2cpio
unzip everything
#unzip 8.00.46_Linux_MegaCLI.zip
#unzip -d MegaCliLin MegaCliLin.zip
#unzip -d 8.00.46_Linux_MegaCLI 8.00.46_Linux_MegaCLI.zip
unpack RPMs (make sure you are in the right directory)
#rpm2cpio MegaCli-8.00.46-1.i386.rpm | cpio -idmv
#rpm2cpio Lib_Utils-1.00-08.noarch.rpm | cpio -idmv
(libsysfs.so.2.0.2 is required library, it comes from LSI in Lib_Utils-1.00-08.noarch.rpm, apt-get install libsysfs did not do it for me):
#cp opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2.0.2 /usr/lib64/
#cp ./opt/MegaRAID/MegaCli/MegaCli64 /usr/local/sbin/
#ln -s /usr/local/sbin/MegaCli64 /usr/local/sbin/MegaCli
and voila, check RAID!
# MegaCli -LDInfo -Lall -aALL
Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0
Size : 1.809 TB
**State : Optimal**
Strip Size : 128 KB
Number Of Drives : 2
Span Depth : 1
Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU
Access Policy : Read/Write
Disk Cache Policy : Disabled
Encryption Type : None
Default Power Savings Policy: Controller Defined
Current Power Savings Policy: None
Can spin up in 1 minute: Yes
LD has drives that support T10 power conditions: No
LD's IO profile supports MAX power savings with cached writes: No