LSI Embedded MegaRAID

Old LSI Embedded MegaRAID and Embedded RAID-II are fakeraid controllers. Historically they was only supported by proprietary driver named megasr, available only as RPM for RHEL with kernels 2.6.18.x. Luckily most functions of megasr unofficially supported by opensource mptsas driver.

No Warranty notice
Since in this guide we use undocumented and unofficial features of mptsas drivers, there is NO WARRANTY of proper work of fakeraid. Please, before any actions on actual data perform backup first!

(Unofficial) supported cards
This list is not complete.

Make mpt-sas to support controller
By default mpt-sas no handles with megasr-compatible controllers. You need to provide corresponding PCI ID. First let's find out it:

In this example PCI ID is 1000:0057. Give it to mpt-sas:

Now, if all goes right, your disks will be appear in system (check dmesg). For permanent effect you need add mpt-sas to and 'echo "1000 0057" > /sys/bus/pci/drivers/mptsas/new_id' to :

RAID capabilities
For RAID capabilities you'll need to install mdadm package. mdadm daemon will automatically take RAID configuration and provide it to system as /dev/mdX block device. At first time mdadm will start resynchronization, that OK.