HWraid for GNU/Linux

installing Adaptec StorMan v7_00_18781 on debian

wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v7_00_187...
upack StorMan-7.00.x86_64.rpm
alien StorMan-7.00.x86_64.rpm

dpkg -i storman_7.00-18782_amd64.deb

aptitude -R install sun-java6-jre
aptitude install libxtst6 libxi6

--- StorMan.sh  2011-03-21 03:26:12.000000000 +0300
+++ StorMan.sh.new      2011-09-14 12:47:42.000000000 +0400
@@ -133,9 +133,9 @@
            if [ "$Arch" = "ia64" ];then 
              JAVA_HOME="./IBMJava2-ia64-13"   # use bundled JRE 64
           else            

Setting cache on RAID controller

Real RAID controllers (not those found onboard of mainboards) normally have a battery backed cache (or an ultracapacitor + flash memory "zero maintenance cache") which is used for buffering writes to improve speed. Even if it's battery backed, the individual hard disk write caches need to be turned off, as they are not protected from a powerfail and will just lose all contents in that case.

Adaptec failureReasonCode

0 or 0x00 Unknown failure
1 or 0x01 Device not ready
2 or 0x02 Selection timout
3 or 0x03 User marked the drive dead
4 or 0x04 Hardware error
5 or 0x05 Bad block
6 or 0x06 Retries failed
7 or 0x07 No Response from drive during discovery
8 or 0x08 Inquiry failed
9 or 0x09 Probe(Test Unit Ready/Start Stop Unit) failed
A or 0x0A Bus discovery failed

Support for 3TB drives on Adaptec Controllers

Support for 3TB drives is available on the following controllers:

Series 7 (7805, 7805Q, 71605E, 71605, 71605Q, 71685, 72405)
Series 6, 6E, 6Q, and 6T (6405, 6445, 6805, 6405E, 6805E, 6405T, 6805T, 6805Q, 6805TQ)
Series 2 (2405, 2045, 2805): using firmware/BIOS version 5.2.0 Build 17911 (or later)
Series 5 (5405, 5445, 5805, 5085, 51245, 51645, 52445): using firmware/BIOS version 5.2.0 Build 17911 (or later)
Q Series (5805Q, 2405Q): using firmware/BIOS version 5.2.0 Build 17911 (or later)

How to generate and capture controller log files using ARCCONF

ARCCONF SAVESUPPORTARCHIVE

User tags

equalizer video iowait pulseaudio exim gre sg fio vlan hotplug exim4 tar find openvpn glxinfo StorMan bash .htaccess lenny htop source java RT chroot qemu AMD apache arping ulimit idmapd ardour OpenSSL Adaptec ha cache apt nfs4 sysrq top regex LSI leap second iops sftp slab keyboard freedos HDFS ps profiling xen swap netfilter deb kernel nginx perlbrew rkhunter vim CPAN parallel performance quagga ip firefox shorewall vrrp gtk dhcp lxc flash rtl8723be mysql Swift gpg sysresccd bscan noop puppet dovecot sysctl groups mount grub docker-compose alien CentOS dhclient opreport arch php Areca lstat tftp bridge in-addr.arpa newgrp oprofile squeeze ubuntu backtrace vtysh tzdata lubuntu graylog2 bacula soa APU debootstrap SuperMicro xfs glusterfs KVM cluster usb ddos mariadb radeon pacemaker PTR sysfs mdadm NFS rpm iSCSI dns search lts LVM cpu usage tin raid bug iptables pvmove youtube SSD shellshock limit_conn debian tun X forwarding xargs OpenStack core dump su zRam git drupal rsync backup HTTPS taskset PXE boot conntrack raid5 route elliptics perl virsh routing language dpkg docker scsi MegaRAID fido7 arp munin encrypt wordpress numa tiger storage initrd mkfs cpu SYN Salt proxy jackd rtsp cgroups pam ipmitool security erase centos 7 ssh opcontrol asoundrc gdb etch iostat corosync sysctl.conf xhost virtualbox alsa 3Ware replication MODx cfq wget qcow2 hdparm build /etc/network/interfaces chromium sublime virt-install vrrpd ansible ipmi nvidia tool fail2ban dstat cpanm SpamAssassin bonding bind DRBD