Penguin
Annotated edit history of ArecaNotes version 10, including all changes. View license author blame.
Rev Author # Line
2 CraigBox 1 [Areca|http://www.areca.com.tw/] make some [SATA] [RAID] controllers, noted for having an [open source|OpenSource] driver (arcmsr).
1 CraigBox 2
3 !![Red Hat Enterprise|RedHatEnterpriseLinux]/[CentOS|CentOs]/OpenFiler notes
4
5 A driver disk for ARC-1110/1120/1160/1170 (4/8/12/16/24-port PCI-X to SATA ll RAID Controller) for CentOS can be found at [http://www.bodgit-n-scarper.com/code.html#centos].
6
7 !![Debian] notes
8
9 Installation CDs with Areca support can be found at http://www.tienhuis.nl/areca/.
10
11 !![Ubuntu] notes
12
13 Installed Dapper Flight 5 to an Areca RAID controller. It found the controller, installed/partitioned fine etc, but on the reboot into the new system it could not find /dev/sda1 so could not proceed with boot.
14
15 This can be fixed by booting into a recovery console, mounting the disk, adding 'arcmsr' to /etc/mkinitramfs/modules, and running dpkg-reconfigure linux-image-`uname -r`.
3 CraigBox 16
17 * [Launchpad bug for this issue|https://launchpad.net/distros/ubuntu/+source/hw-detect/+bug/40075]
4 CraigBox 18
19 ! Management interface
20
21 Get the Areca web interface from [Areca's FTP site|ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/HTTP/].
22
23 <pre>
24 wget ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/HTTP/20060321-1.71.200Beta.zip
25 unzip 20060321-1.71.200Beta.zip
26 cd 20060321-1.71.200
27 cp archttp32 /usr/local/sbin/
28 </pre>
7 JasonAllen 29
30 If you just want to fire up the web interface right away, go ahead and run it - but remember to run it w/ root privileges (ie: 'sudo archttp32/64'). Areca will *not* remind you about the root privileges and will silently fail to find the controllers.
4 CraigBox 31
32 I have created this init script, with help from [Gentoo's wiki page on Areca hardware|http://gentoo-wiki.com/HARDWARE_Areca]:
33
34 <pre>
35 #! /bin/sh
36
37 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
38 DAEMON=/usr/local/sbin/archttp32
39 NAME=archttp32
40 DESC="Areca RAID controller management interface"
41
42 test -x $DAEMON || exit 0
43
44 . /lib/lsb/init-functions
45
46 set -e
47
48 case "$1" in
49 start)
50 log_begin_msg "Starting $DESC..."
51 start-stop-daemon --start --quiet -b -m --pidfile /var/run/$NAME.pid \
52 --exec $DAEMON -- $DAEMON_OPTS 2>/dev/null || log_end_msg 1
53 log_end_msg 0
54 ;;
55 stop)
56 log_begin_msg "Stopping $DESC..."
57 start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
58 -s INT --exec $DAEMON --oknodo || log_end_msg 1
6 CraigBox 59 sleep 5
4 CraigBox 60 log_end_msg 0
61 ;;
62 restart|force-reload)
63 log_begin_msg "Restarting $DESC..."
64 start-stop-daemon --stop --quiet --exec $DAEMON --pidfile \
65 /var/run/$NAME.pid --oknodo
6 CraigBox 66 sleep 6
4 CraigBox 67 start-stop-daemon --start -m -b --quiet --pidfile \
68 /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS || log_end_msg 1
69 log_end_msg 0
70 ;;
71 *)
72 N=/etc/init.d/$NAME
73 # echo "Usage: $N {start|stop|restart|force-reload}" >&2
74 echo "Usage: $N {start|stop|restart|force-reload}" >&2
75 exit 1
76 ;;
77 esac
78
79 exit 0
80 </pre>
81
82 Then, set it to run on start with:
83
84 <pre>
85 update-rc.d archttp32 defaults
86 </pre>
87
88 If you're on 64-bit Linux, replace all instances of 32 above with 64 (the zip file comes with both).
89
10 CraigBox 90 You can drop an [archttpsrv.conf|http://debian.unnet.nl/pub/areca/RaidCards/AP_Drivers/FreeBSD/HTTP/20051208-1.6/archttpsrv.conf] in the same directory, which is how you configure SMTP notifications.
4 CraigBox 91
9 CraigBox 92 You connect to http://server:81/; the default username is 'admin', password is '0000'
5 CraigBox 93
94 CategoryHardware%%%
95 CategoryNotes