Adaptec RAID controller / arcconf

arcconf GETLOGS 1 DEVICE 
 
# list logical devices
arcconf GETCONFIG 1 LD
 
# list phisical devices
arcconf GETCONFIG 1 PD
 
# start adaptec verifi
arcconf TASK START 1 DEVICE 0 0 VERIFY
 
arcconf GETSTATUS 1
 
# create JBOD on all devices
# get device count
COUNT=$(arcconf GETCONFIG 1 PD | grep "Hard drive" | wc -l)
 
# create JBOD on all devices
for CHANNEL in `echo $(seq 1 ${COUNT})`; do
    CHANNEL=$((CHANNEL-1))
    echo ${CHANNEL}
 
    arcconf CREATE 1 JBOD 0 ${CHANNEL} noprompt
done
 
# delete devices
arcconf DELETE 1 LOGICALDRIVE ALL noprompt
 
# delete all JBOD devices
arcconf DELETE 1 JBOD ALL noprompt
 
# create RAID 10
arcconf CREATE 1 LOGICALDRIVE MAX 10 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 noprompt

Links
http://wiki.hetzner.de/index.php/Adaptec_RAID_Controller/en
http://www.thomas-krenn.com/de/wiki/Festplattenausfall_bei_Adaptec_RAID_Controller_mit_ARCCONF_beheben