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

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