Linux Check The Health of Adaptec RAID array

by on April 4, 2008 · 14 comments· LAST UPDATED January 15, 2009

in , ,

Q. How do I check the health of Adaptec RAID array under Fedora / CentOS / Red Hat Enterprise Linux / Debian / Ubuntu Linux server from a shell prompt?

A. First, visit official Adaptec web site to download utilities. You can also install utility software from CD / Floppy disk. Install the rpm file.

arcconf command

To view and modify other RAID configuration use arcconf program to view health of RAID array. Simply, login as the root and type the following command at a shell prompt:
# /usr/StorMan/arcconf getconfig 1
Sample output:

Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec 3405
   Controller Serial Number                 : 7C2110BD455
   Physical Slot                            : 3
   Temperature                              : 49 C/ 120 F (Normal)
   Installed memory                         : 128 MB
   Copyback                                 : Disabled
   Background consistency check             : Disabled
   Automatic Failover                       : Enabled
   Defunct disk drive count                 : 0
   Logical devices/Failed/Degraded          : 1/0/0
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (15753)
   Firmware                                 : 5.2-0 (15753)
   Driver                                   : 1.1-5 (2453)
   Boot Flash                               : 5.2-0 (15753)
   --------------------------------------------------------
   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                      : RAID10
   RAID level                               : 10
   Status of logical device                 : Optimal
   Size                                     : 279800 MB
   Stripe-unit size                         : 256 KB
   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
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (0,0) 3LN3BY8Q00009823KDMV
   Group 0, Segment 1                       : Present (0,1) 3LN3V6AQ00009829MMLC
   Group 1, Segment 0                       : Present (0,2) 3LN1AYYD00009747RGSB
   Group 1, Segment 1                       : Present (0,3) 3LN2GAEC00009813AQW6
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
      Device #0
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SAS 3.0 Gb/s
         Reported Channel,Device            : 0,0
         Reported Location                  : Enclosure 0, Slot 0
         Reported ESD                       : 2,0
         Vendor                             : SEAGATE
         Model                              : ST3146855SS
         Firmware                           : 0002
         Serial number                      : 3LN3BY8Q00009823KDMV
         World-wide name                    : 5000C50007BCFA20
         Size                               : 140014 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            : 0,1
         Reported Location                  : Enclosure 0, Slot 1
         Reported ESD                       : 2,0
         Vendor                             : SEAGATE
         Model                              : ST3146855SS
         Firmware                           : 0002
         Serial number                      : 3LN3V6AQ00009829MMLC
         World-wide name                    : 5000C50002F017B8
         Size                               : 140014 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
      Device #2
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SAS 3.0 Gb/s
         Reported Channel,Device            : 0,2
         Reported Location                  : Enclosure 0, Slot 2
         Reported ESD                       : 2,0
         Vendor                             : SEAGATE
         Model                              : ST3146855SS
         Firmware                           : 0002
         Serial number                      : 3LN1AYYD00009747RGSB
         World-wide name                    : 5000C50005020B14
         Size                               : 140014 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
      Device #3
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SAS 3.0 Gb/s
         Reported Channel,Device            : 0,3
         Reported Location                  : Enclosure 0, Slot 3
         Reported ESD                       : 2,0
         Vendor                             : SEAGATE
         Model                              : ST3146855SS
         Firmware                           : 0002
         Serial number                      : 3LN2GAEC00009813AQW6
         World-wide name                    : 5000C50007BD43C0
         Size                               : 140014 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
      Device #4
         Device is an Enclosure services device
         Reported Channel,Device            : 2,0
         Enclosure ID                       : 0
         Type                               : SES2
         Vendor                             : ADAPTEC
         Model                              : Virtual SGPIO  0
         Firmware                           : 0001
         Status of Enclosure services device
            Temperature                     : Normal
Command completed successfully.

Where,

  • 1: Controller number
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 14 comments… read them below or add one }

1 Dilip May 9, 2008 at 12:22 pm

And how can do I check the RAID array health please suggest me.

Reply

2 nixCraft June 18, 2008 at 2:42 pm

is it software or hardware raid array? For Adaptec use above command. Read help page for more info.

Reply

3 Zack March 30, 2011 at 4:35 am

What Dilip is asking is how to check the RAID rebuilding progress, specially the percentage.

I don’t see anywhere on GETCOFIG where it shows this progress.

The GETSTATUS option returns no tasks in progress, even know the array is rebuilding.

Reply

4 TryMe June 25, 2011 at 2:44 pm

Use GETSTATUS command:

 /usr/StorMan/arcconf GETSTATUS 1

Reply

5 Jason December 17, 2008 at 8:44 pm

arcconf is included with the Adaptec Storage Manager download and is installed in /usr/StorMan/arcconf as described above.

Reply

6 Ivo Simicevic February 12, 2009 at 2:29 pm

I think Dilip is looking for automated way of checking (meaning, he probably doesn’t want to read all those lines arcconf reports back).

Maybe this link could help …

Reply

7 a471856 July 28, 2009 at 7:24 am

How to determine the controller battery is in a good status from the command.

Controller Battery Information
—————————————————
Status : Okay
Over temperature : No
Capacity remaining : 100 percent
Time remaining (at current draw) : 5 days, 13 hours, 19 minutes
—————————————————

Reply

8 nixCraft July 28, 2009 at 7:36 am

Look out for status line, it should be always okay

Reply

9 superw4w May 26, 2010 at 3:48 pm

Status : Charging is fine also

Reply

10 a471856 July 28, 2009 at 7:39 am

what exactly the following line tell us.
Time remaining (at current draw) : 5 days, 13 hours, 19 minutes

Is there any min value for this.

Reply

11 shiny November 17, 2010 at 2:57 pm

Hi,
I have two Adaptec 3405 RAIDs on my machine. I checked the link http://www.adaptec.com/en-US/downloads/storage_manager/sm?productId=SAS-3405&dn=Adaptec+RAID+3405, and I do not find any Adaptec Storage Manager software for ubuntu. It seems it has the arcconf utility to do the health check of RAID. But as I see, it has inbuilt SMART support. Hence when I run SMART on my ubuntu machine it fails as below :

{{{
# smartctl -a /dev/sda -T permissive
smartctl 5.40 2010-10-16 r3189 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Device: Adaptec Array 0 Version: V1.0
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
>> Terminate command early due to bad response to IEC mode page

Error Counter logging not supported
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
Device does not support Self Test logging
}}}

I have tried to specify scsi and sat as device types for the utility, but it fails.

The only command that ever ran is “smartctl -H /dev/sda”.
Smartd just doesn’t budge either.

Could you tell me how to proceed.
Any kind of help would be greatly appreciated.

Thanks
Shiny

Reply

12 Ron March 22, 2011 at 6:23 pm

The Adaptec bash commnds didn’t work for me.
I had to run GUI /usr/StorMan/./StorMan.sh while as root.

Reply

13 Tim January 10, 2014 at 3:46 pm

is there a way to read SMART values for disks behind Adaptec card? None of the methods i’ve found so far work.

Reply

14 Nix Craft January 10, 2014 at 3:56 pm

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: