[cc lang='bash']
# Get controller type and model - Hardware RAID
\$ lspci | grep -i raid
1b:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS
2208 [Thunderbolt] (rev 05)
# MegaRAID SAS is the current high-end RAID controllers series by LSI.
It is fully hardware RAIDs controllers supporting RAID5, at least, with
SAS or SATA interfaces.
\$ lspci | grep -i lsi
1b:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic
SAS2004 PCI-Express Fusion-MPT SAS-2 [Spitfire] (rev 03)
# The FusionMPT SAS is a low-end card from LSI. It only supports RAID0
and RAID1.
[/cc]
[cc lang='bash']
# RedHat
\$ lspci | grep -i raid
1b:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS
2208 [Thunderbolt] (rev 05)
\$ rpm -ivh
\$ /opt/MegaRAID/storcli/storcli64 /c0 show
\$ /opt/MegaRAID/storcli/storcli64 /c0/bbu show
\$ /opt/MegaRAID/storcli/storcli64 /c0/v0 show
\$ /opt/MegaRAID/storcli/storcli64 /c0/v1 show
\$ /opt/MegaRAID/storcli/storcli64 /c0/e252/s2 start initialization
\$ /opt/MegaRAID/storcli/storcli64 /c0 add vd type=raid0 drives=252:2
strip=512
\$ /opt/MegaRAID/storcli/storcli64 /c0/v0 set wrcache=awb
[/cc]
http://www.lsi.com/downloads/Public/MegaRAID Common Files/StorCLI_RefMan_revf.pdf
[cc lang='bash']
# Debian
\$ lspci | grep -i raid
03:00.0 RAID bus controller: LSI Logic / Symbios Logic LSI MegaSAS 9260
(rev 05)
\$ echo 'deb http://hwraid.le-vert.net/debian wheezy main' >>
/etc/apt/sources.list
\$ wget -O -
http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | apt-key
add -
\$ apt-get update
\$ apt-get install megacli
\$ megacli -AdpAllInfo -aAll
\$ megacli -LDInfo -L0 -a0
\$ megacli -PDList -a0
[/cc]