SDB:Areca RAID controllers
tagline: From openSUSE
|This article is being considered for deletion!|
Please do not blank, merge, or move this article, or remove this notice. Refer to this article's discussion page and our deletion policy for more information.
|This article or section refers to the version '10.1/10.2' and it is now obsolete!|
Please refer to this article's discussion page for more information.
The storage system developer Areca has developed and release several types of hardware RAID controllers. Along with the typical PCI-X controller cards (ARC-11XX Series) that are used on many servers, they also released a series of cards (ARC-12XX) that run on the new PCIe bus.
The availability of scaleable PCIe RAID controllers is important because it allows the SOHO server builder to use commonly available (inexpensive) components to build solid and high-quality storage solutions at a fraction of the cost of full blown Xeon/Opteron solutions with just PCI-X support. Moreover, the PCIe system bus has higher overall bandwidth overhead for improved scaleability.
Note that the cards come in the following flavours
- 4 port SATA II - ARC-1210
- 8 port SATA II - ARC-1220
- 12 port SATA II - ARC-1230
- 16 port SATA II - ARC-1260
- Motherboard with available 8x PCIe slot or universal PCIe (a 16x slot, but usually electrically wired as 4x or 8x)
- Areca (ARC-12XX) 8x PCIe SATA II Hardware RAID card
- Linux Kernel 2.6.19. or higher
- Kernel Sources and GCC installed
Releases from 10.3 onwards already have the driver installed since it was merged in kernel 2.6.19.
The manufacturer has provided a pre-built driver for 10.1. But not for the kernel update to 184.108.40.206.
For 10.2 and earlier, we are going to need to build the driver and install it manually.
Don't worry, this is pretty straightforward.
Building Areca arcmsr driver
You can build the driver for openSUSE release 10.2 only on the same machine where the controller is installed (in that case, you need to install on a different disk than the controller's one) or on a different machine (provided that it has EXACTLY the same openSUSE and kernel version).
First, get the most recent version of the driver sources from Areca's FTP Server and extract it in some place (maybe the root users home folder).
In the console, log in as root and change to the kernel-version-2.6.x/arcmsr directory
From here execute the following command to build the module
make -C /lib/modules/$(uname -r)/build M=$(pwd) CONFIG_SCSI_ARCMSR=m modules
Then install the module with the following command (if you are on the machine with the controller)
mv arcmsr.ko /lib/modules/$(uname -r)/updates/
Installation of openSUSE 10.2 on Areca managed drives
You can build a driver update diskette and boot off directly from the machine, doing the openSUSE installation at the same time.
Download the driver diskette update image from Areca FTP site  (10.1 version is fine), write the image on a floppy, and mount the floppy. Open the floppy and move to the directory where system updates are installed (/floppy/linux/suse); copy the x86_64-10.1 or i386-10.1 folders to x86_64-10.2 or i386-10.2, respectively. Enter your preferred folder and go into install, then extract update.tar.gz.
Cd in lib/modules and copy one of the folders to a new one, giving it the name of your kernel (uname -r will help). Inside this newly created folder cd to kernel/drivers/scsi and subsitute the driver module arcmsr.ko with the one you just built (WARNING: remember to build the kernel module on a machine with exactly the same kernel version, openSUSE version, and CPU architecture of the one you will install openSUSE on). Go back to the directory where you extracted the gzipped tar, delete update.tar.gz and compress the lib folder with tar and gzip, afterwards changing its name to install.tar.gz.
Now modify the patch scripts in /floppy: patch.i386 or patch.x86_64. Open one of them with your editor and change all the occurrences of "10.1" to "10.2"; go to line 36 and change the kernel number in the if command to match your version (leave the * at the end): e.g., the existing 220.127.116.11-4-* should be changed to 18.104.22.168-34-* for a brand new 10.2 install. Thats'it!
Save the file and close the editor, unmount the floppy, and prepare to boot the new machine. When booting for installation, at the first screen, choose F5 and select "YES": this will cause the installer to ask you the floppy with the drivers. Now, start the installation; at some point, it will pop up a window where you have to specify where the driver update medium is located: insert the just prepared drivers floppy and select fd0.
Then, a status window will show up with information on the diskette being read and the driver update being found. After that, you will be able to see the Areca controller and the installation process will go flawlessly (in my case, I did not even perform the steps requested for post installation: at the subsequent boot, the arcsmr module was correctly loaded and the machine went up without problems.)
Configuring /etc/sysconfig for release 10.1/10.2
From YAST -> System -> /etc/sysconfig Editor add the arcmsr driver to the initial ram disk
Also, install configure the module to be installed at boot.
Accept the changes
Reboot the computer
After you reboot the machine, you should be able to see the new space from the My Computer dialog on the desktop.