The below is a collaboration of useful information I’ve found while attempting to build and maintain a RAID5 array consisting of 4 HDDs. This tutorial is a work in progress and I’m learning everything as I go. I’ve left relevant links in each section for more information and if you spot anything that could be done better or that I’m missing let me know in the comments below!
Installing RocketRaid 2760a drivers on Ubuntu 12.10
So I don’t forget, here’s a tutorial on installing the RocketRaid 2760a drivers and management utilities on Ubuntu 12.10. I’m using 64-bit but 32-bit should be the same – just substitute where appropriate.
Installing the Driver
The installation disc comes with an out of date version of the driver and kernel module. The way the installation works, we need to download and compile the kernel module then download the driver installer, drop the module into place and run the installer. Make sure you have appropriate compiler tools installed – to be safe just run
sudo apt-get install ubuntu-dev-tools |
Download and extract the ones with kernel 3.x support from the HighPoint website:
mkdir ~/driver cd ~/driver # driver wget http://www.highpoint-tech.com/BIOS_Driver/RR276x/linux/Ubuntu/rr276x-ubuntu-11.10-x86_64-v1.1.12.0502.tgz tar -xvzf rr276x-ubuntu-11.10-x86_64-v1.1.12.0502.tgz # kernel module mkdir module cd module wget http://www.highpoint-tech.com/BIOS_Driver/RR276x/linux/RR276x-Linux-Src-v1.1-120424-1734.tar.gz tar -xvzf RR276x-Linux-Src-v1.1-120424-1734.tar.gz |
Build and compress the kernel module for our driver installer:
cd rr276x-linux-src-v1.1/product/rr276x/linux/ make # Ignore the warning about not being able to find him_rr2760x.o...doesn't seem to matter gzip rr276x.ko mv rr276x.ko.gz ~/driver/boot/rr276x$(uname -r)$(uname -m).ko.gz |
And finally install the driver
cd ~/driver sudo bash preinst.sh |
This step succeeded! Now you can press ALT+F1 to switch back to the installation screen!
sudo bash install.sh |
Update initrd file /boot/initrd.img-3.5.0-17-generic for 3.5.0-17-generic
Please reboot the system to use the new driver module.
sudo shutdown -r now |
That should be everything! You can now test with
cat /proc/scsi/rr276x/* |
Installing the RAID Management Software
Annoyingly the RAID management console is difficult to install to say the least. The GUI deb packages error when trying to install and HighPoint don’t even provide a deb for the command line version and to top it off the version of the command line utility on the driver CD is newer than the version on their site! For this reason I’ve provided the newer command line RPMs here.
Let’s get this thing installed.
Web version:
mkdir ~/driver/utility mkdir ~/driver/utility/console mkdir ~/driver/utility/web cd ~/driver/utility/web echo "rr276x" | sudo tee -a /etc/hptcfg > /dev/null wget http://www.highpoint-tech.com/BIOS_Driver/GUI/linux/WebGui/WebGUI-Linux-v2.1-120419.tgz tar -xzvf WebGUI-Linux-v2.1-120419.tgz sudo apt-get -y install alien sudo alien -d hptsvr-https-2.1-12.0419.$(uname -m).rpm sudo dpkg -i hptsvr-https_2.1-13.0419_amd64.deb |
Command Line version:
cd ~/driver/utility/console wget https://www.flynsarmy.com/wp-content/uploads/2012/11/LinuxRaidUtilityConsole.tar.gz sudo alien -d hptraidconf-3.5-1.$(uname -m).rpm sudo alien -d hptsvr-3.13-7.$(uname -m).rpm sudo dpkg -i hptraidconf_3.5-2_amd64.deb |
Run the web server:
sudo hptsvr |
You should now be able to connect to it from your browser by navigating to http://localhost:7402 with username RAID and password hpt.
Further Reading
HOWTO: Get GUI hptsvr & hptraid 3.13 working on Ubuntu
HighPoint driver download page for RocketRaid 2760a