I've Adaptec RAID 1 set via 5405 PCI card. I know how to get check the health of Adaptec RAID array under Linux, but how do I find information about my RAID card, RAID status, disk failure and other information via command line?
aac is Adaptec AdvancedRAID Controller driver under FreeBSD operating system that works with HP NetRAID, IBM ServeRAID, Sun STK RAID, Dell PERC / CERC, and Adaptec SCSI / SATA systems. The Adaptec AAC family of SCSI Ultra2, Ultra160, and Ultra320, SATA and SAS RAID controllers.
Find Out Information About Your RAID Device
Type the following commands:
# dmesg | grep -i RAID
Sample Outputs:
aac0:mem 0xe8000000-0xe81fffff irq 16 at device 0.0 on pci6 aacd0: on aac0
# pciconf -l | grep -i aac
Output:
aac0@pci0:6:0:0: class=0x010400 card=0x02d19005 chip=0x02859005 rev=0x09 hdr=0x00
FreeBSD arcconf
arcconf is command Line Interface for the Adaptec SCSI RAID family of RAID controllers, used to configure and manage connected storage devices. It can be used to get detailed information about RAID configuration including health status.
FreeBSD Install arcconf
Type the following commands:
# portsnap fetch update
# cd /usr/ports/sysutils/arcconf
# make install clean && rehash
How Do I Use arcconf To Information About The Health Of My Adaptec RAID Array?
Type the following command at a shell prompt to get the information controller # 1:
# /usr/local/sbin/arcconf getconfig 1
Sample Outputs:
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Channel description : SAS/SATA
Controller Model : Adaptec 5405
Controller Serial Number : 8C4310BD20D
Physical Slot : 2
Temperature : 58 C/ 136 F (Normal)
Installed memory : 256 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 : 1/0/0
--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS : 5.2-0 (16501)
Firmware : 5.2-0 (16501)
Driver : 5.2-0 (16501)
Boot Flash : 5.2-0 (16501)
--------------------------------------------------------
Controller Battery Information
--------------------------------------------------------
Status : Optimal
Over temperature : No
Capacity remaining : 99 percent
Time remaining (at current draw) : 3 days, 0 hours, 52 minutes
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name : RAID1-A
RAID level : 1
Status of logical device : Optimal
Size : 285686 MB
Read-cache mode : Enabled
Write-cache mode : Enabled (write-back)
Write-cache setting : Enabled (write-back) when protected by battery
Partitioned : Yes
Protected by Hot-Spare : No
Bootable : Yes
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0 : Present (0,0) 3LM44BDA00009839M228
Segment 1 : Present (0,1) 3LM4C6B000009841PEW9
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
Device #0
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SAS 3.0 Gb/s
Reported Channel,Device(T:L) : 0,0(0:0)
Reported Location : Connector 0, Device 0
Vendor : SEAGATE
Model : ST3300655SS
Firmware : 0004
Serial number : 3LM44BDA00009839M228
World-wide name : 5000C50006EDAD74
Size : 286102 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
Device #1
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SAS 3.0 Gb/s
Reported Channel,Device(T:L) : 0,1(1:0)
Reported Location : Connector 0, Device 1
Vendor : SEAGATE
Model : ST3300655SS
Firmware : 0004
Serial number : 3LM4C6B000009841PEW9
World-wide name : 5000C50006EF88D8
Size : 286102 MB
Write Cache : Enabled (write-back)
FRU : None
S.M.A.R.T. : No
Command completed successfully. You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 3 comments… read them below or add one }
Hey agreeable Information. It is much of use Soon you Apply it. Much obliging. Mahalo.
So many thanks Vivek. Great post. It is just what I needed. I will sleep better knowing I can monitor my array
Hi
This is exactly what I was looking for but I am getting no results from the dmesg or pciconf commands.
When I run arcconf I get this:
bsd# /usr/local/sbin/arcconf getconfig 1
Controllers found: 0
Invalid controller number.
I use FreeBSD 8.2 and have two RAID arrays. One is a 2ch Adaptec SCSI controller with two disks attached. The other is a Highpoint Rocketraid 2320 with 8 SATA2s attached.
Is the advice above still relevant on 8.2? I would expect so.
Thanks :)