Adaptec

How to generate and capture controller log files using ARCCONF

ARCCONF SAVESUPPORTARCHIVE

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)

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

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.

Put ext3 journal on other (SSD) device (greatly improves write performance on hardware raid controllers)

# Before:
# /dev/someSdX is an ext3 data partition with internal (default) journal
# /dev/theSsdY is a partion of (max) 400MB on SSD
# Hint: Have all the Partitions aligned to MiB for optimal performance

# After:
# /dev/someSdX automatically uses external journal (idenfied by fs label)

# Turn off internal journal (takes some time)
tune2fs -O ^has_journal /dev/someSdX

# Create journal with speaking label
mke2fs -O journal_dev -L someSdX_journal /dev/theSsdY

# Make data partition use the journal device
tune2fs -o journal_data -j -J device=LABEL=someSdX_journal /dev/someSdX

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            

HWraid for GNU/Linux