This is to explain the simplest way to get the Highpoint RocketRAID 2640x4 RAID controller card to work with Ubuntu. I will get to the problems I faced later, let me just say that it is a sad state of affairs when you have to recommend others NOT to use the driver installer that is posted on the manufacturers web site. Building the driver on your system means no worries about the kernel version not matching the driver.
I chose Ubuntu 10.04 because it is the most recent long term support version.
- Highpoint RocketRAID 2640x4 RAID controller
- two Patriot TorqX 64GB SSD drives on the RAID controller
- one Patriot TorqX 64GB SSD drive on the mainboard SATA controller for the OS
- Install the card in your system and connect the SATA drives.
- Boot the system, and a new BIOS setup screen will come up that is controlled by the RAID controller
-Hit CTRL-H to get into the RAID controller setup.
- Create a RAID array
Note that you can setup a RAID array without installing any drivers.
- Start Ubuntu
- Verify that the hardware is present and recognized:
- Download the source code archive rr264x-linux-src-v1.3-legacy_single-101203-0910.tar.gz fromCode:lspci
(It is called "Linux Open Source" and the link is v1.3)
- Now install the build environment
- change into the source directory:Code:sudo apt-get install build-essential checkinstall
- Build the driverCode:cd rr2640-linux-src-v1.3-legacy_single/product/rr2640/linuxls
- Load the driverCode:sudo make install
- Verify that the driver is loadedCode:sudo modprobe rr26xx
If everything went well, you can now use gparted to verify that a new volume is available (on my system, it is /dev/sdb).Code:lsmod
- use gparted to create a partition table and a partition
- add an according line to /etc/fstab:
- create a mount locationCode:/dev/sdb1 /mnt/raid ext4 errors=remount-ro 0 1
- change permissions to your username:Code:sudo mkdir /mnt/raid
- mount the new volumeCode:sudo chown -R username:username /mnt/raid
You should now be able to use the RAID array like any other storage.Code:sudo mount /mnt/raid
The manufacturer offers a GUI to control the RAID array, and that is where the problems start. There are only RPMs, no deb packages, and when you convert the RPMs to deb's with alien as suggested, you end up with broken packages.
More info on this:
Once it works, the performance is pretty good: 200 MB/s read, and between 100-200 MB/s write. An SSD-RAID server for Christmas!