One day I got for misc setup server with some SAS controller. In dmesg command output I got following:
scsi 6:3:0:0: Enclosure LSILOGIC SASX36 A.1 7017 PQ: 0 ANSI: 3
Hmm, it looks like some LSI controller. But in dmesg also presents:
Adaptec aacraid driver 1.1-5[2461]-ms
aacraid 0000:03:00.0: PCI INT A -> GSI 26 (level, low) -> IRQ 26
aacraid 0000:03:00.0: setting latency timer to 64
IRQ 26/aacraid: IRQF_DISABLED is not guaranteed on shared IRQs
scsi6 : aacraid
So, this is adaptec.com arcconf utility. For Centos 6.2 x64 I used asm_linux_x64_v7_30_18837.tgz from adaptec.com.
This isn’t one step operation because we need to install compat-libstdc++-33 RPM package for utility.
After all installed (arcconf and compatability libs) I have ability to manage raid.
Follow some typically tasks.
1. Getting controller status. And logical drives information. Digit one in command line is a controller number.
[root@srv ~]# arcconf GETCONFIG 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Channel description : SAS/SATA
Controller Model : Adaptec 5445
Controller Serial Number : 1D04118EBB6
Physical Slot : 2
Temperature : 84 C/ 183 F (Normal)
Installed memory : 512 MB
Copyback : Disabled
Background consistency check : Disabled
Automatic Failover : Enabled
Global task priority : High
Performance Mode : Default/Dynamic
Stayawake period : Disabled
Spinup limit internal drives : 0
Spinup limit external drives : 0
Defunct disk drive count : 0
Logical devices/Failed/Degraded : 4/0/0
SSDs assigned to MaxCache pool : 0
Maximum SSDs allowed in MaxCache pool : 8
MaxCache Read Cache Pool Size : 0.000 GB
MaxCache flush and fetch rate : 0
MaxCache Read, Write Balance Factor : 3,1
NCQ status : Enabled
Statistics data collection mode : Enabled
--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS : 5.2-0 (17899)
Firmware : 5.2-0 (17899)
Driver : 1.1-5 (2461)
Boot Flash : 5.2-0 (17899)
--------------------------------------------------------
Controller Battery Information
--------------------------------------------------------
Status : Not Installed
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name : r6-1
RAID level : 6 Reed-Solomon
Status of logical device : Optimal
Size : 7618550 MB
Stripe-unit size : 256 KB
Read-cache mode : Enabled
MaxCache preferred read cache setting : Enabled
MaxCache read cache setting : Disabled
Write-cache mode : Enabled (write-back)
Write-cache setting : Enabled (write-back)
Partitioned : No
Protected by Hot-Spare : No
Bootable : Yes
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0 : Present (Controller:1,Enclosure:0,Slot:0) JK1101B9J6EBKR
Segment 1 : Present (Controller:1,Enclosure:0,Slot:1) JK1101B9J3AHRF
Segment 2 : Present (Controller:1,Enclosure:0,Slot:2) JK11A4B8J2JP1W
Segment 3 : Present (Controller:1,Enclosure:0,Slot:3) JK11A4B8J22TBW
Segment 4 : Present (Controller:1,Enclosure:0,Slot:4) JK11A4B8HY1T0W
Segment 5 : Present (Controller:1,Enclosure:0,Slot:5) JK11A4B8HUEM3W
2. Getting specific logical drive information (controller 1 and logical drive 1 )
[root@srv ~]# arcconf GETCONFIG 1 LD 1
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 1
Logical device name : r6-2
RAID level : 6 Reed-Solomon
Status of logical device : Optimal
Size : 7618550 MB
Stripe-unit size : 256 KB
Read-cache mode : Enabled
MaxCache preferred read cache setting : Enabled
MaxCache read cache setting : Disabled
Write-cache mode : Enabled (write-back)
Write-cache setting : Enabled (write-back)
Partitioned : No
Protected by Hot-Spare : No
Bootable : No
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0 : Present (Controller:1,Enclosure:0,Slot:6) JK11A4B8HRTVSW
Segment 1 : Present (Controller:1,Enclosure:0,Slot:7) JK11A4B8J22RVW
Segment 2 : Present (Controller:1,Enclosure:0,Slot:8) JK11A4B8J22S9W
Segment 3 : Present (Controller:1,Enclosure:0,Slot:9) JK11A4B8J22WDW
Segment 4 : Present (Controller:1,Enclosure:0,Slot:10) JK11A4B8J22X7W
Segment 5 : Present (Controller:1,Enclosure:0,Slot:11) JK11A4B8J22S0W
Command completed successfully.
3. Creating RAID6 Logical drive
[root@srv ~]# arcconf create 1 logicaldrive name r6-1 max 6 0 8 0 9 0 10 0 11 0 12 0 13 noprompt
Where 1 – controller number, name – raid name (like john raid 1), max – is capacity, 6 – raid type number (RAID0-RAID10), 0 8 (to 0 13) means
that I use controller line 0 and drive in port 8.
4. Deleting logical drive (RAID drive)
[root@srv ~]# arcconf delete 1 logicaldrive 1
Delete logical drive 1.
NOTE: After creation RAID, we got “Status of logical device” as Impact. This mean that controller works on rebuilding drive procedure. So nothing for panic.
Ivan Shebanov.




