≡ Menu

Linux Check The Health of Adaptec RAID array

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

First, visit the official Adaptec web site to download utilities. You can also install utility software from CD / Floppy disk. Install the rpm file. You need to use the arcconf command which is a uniform command line interface for Adaptec based cards.

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 outputs:

Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec 5405Z
   Controller Serial Number                 : 9A5011438A2
   Controller World Wide Name               : 50000D1102255A80
   Controller Alarm                         : Enabled
   Physical Slot                            : 6
   Temperature                              : 41 C/ 105 F (Normal)
   Installed memory                         : 512 MB
   Global task priority                     : High
   Performance Mode                         : Default/Dynamic
   Host bus type                            : PCIe
   Host bus speed                           : 2500 MHz
   Host bus link width                      : 8 bit(s)/link(s)
   Stayawake period                         : Disabled
   Spinup limit internal drives             : 0
   Spinup limit external drives             : 0
   Defunct disk drive count                 : 1
   Logical devices/Failed/Degraded          : 1/0/1
   NCQ status                               : Enabled
   Statistics data collection mode          : Enabled
   --------------------------------------------------------
   RAID Properties
   --------------------------------------------------------
   Copyback                                 : Disabled
   Background consistency check             : Disabled
   Background consistency check period      : 30
   Automatic Failover                       : Enabled
   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
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (18950)
   Firmware                                 : 5.2-0 (18950)
   Driver                                   : 1.2-1 (40709)
   Boot Flash                               : 5.2-0 (18950)
   --------------------------------------------------------
   Controller ZMM Information
   --------------------------------------------------------
   Status                                   : ZMM Optimal

----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : RAID10-A
   Block Size of member drives              : 512 Bytes
   RAID level                               : 10
   Unique Identifier                        : 0D9B27A7
   Status of logical device                 : Degraded
   Additional details                       : Initialized with Build/Clear
   Size                                     : 381190 MB
   Parity space                             : 381200 MB
   Stripe-unit size                         : 256 KB
   Read-cache setting                       : Disabled
   Read-cache status                        : Off
   Write-cache setting                      : Disabled
   Write-cache status                       : Off
   maxCache read cache setting              : Disabled
   maxCache read cache status               : Off
   Partitioned                              : No
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Group 0, Segment 0                       : Present (Controller:1,Connector:0,Device:0)             5G000KSJ
   Group 0, Segment 1                       : Missing
   Group 1, Segment 0                       : Present (Controller:1,Connector:0,Device:2)             5G000CVL
   Group 1, Segment 1                       : Present (Controller:1,Connector:0,Device:3)             5G000A9P


----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
      Device #0
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,0(0:0)
         Reported Location                  : Connector 0, Device 0
         Vendor                             : 
         Model                              : SG9XCS2D200GESLT
         Firmware                           : SA03L370
         Serial number                      : 5G000KSJ
         World-wide name                    : 50000D1102255A92
         Reserved Size                      : 186520 KB
         Used Size                          : 190600 MB
         Unused Size                        : 64 KB
         Total Size                         : 190782 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full power,Powered off
         SSD                                : Yes
         maxCache Capable                   : No
         maxCache Assigned                  : No
         Temperature                        : Not Supported
         NCQ status                         : Enabled
      Device #1
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,2(2:0)
         Reported Location                  : Connector 0, Device 2
         Vendor                             : 
         Model                              : SG9XCS2D200GESLT
         Firmware                           : SA03L370
         Serial number                      : 5G000CVL
         World-wide name                    : 50000D1102255A91
         Reserved Size                      : 186520 KB
         Used Size                          : 190600 MB
         Unused Size                        : 64 KB
         Total Size                         : 190782 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full power,Powered off
         SSD                                : Yes
         maxCache Capable                   : No
         maxCache Assigned                  : No
         Temperature                        : Not Supported
         NCQ status                         : Enabled
      Device #2
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,3(3:0)
         Reported Location                  : Connector 0, Device 3
         Vendor                             : 
         Model                              : SG9XCS2D200GESLT
         Firmware                           : SA03L370
         Serial number                      : 5G000A9P
         World-wide name                    : 50000D1102255A93
         Reserved Size                      : 186520 KB
         Used Size                          : 190600 MB
         Unused Size                        : 64 KB
         Total Size                         : 190782 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full power,Powered off
         SSD                                : Yes
         maxCache Capable                   : No
         maxCache Assigned                  : No
         Temperature                        : Not Supported
         NCQ status                         : Enabled



Command completed successfully.

Where,

  • 1: Controller number

See the actual status of the RAID

Type the following command:
# arcconf GETCONFIG 1 LD
Sample outputs:

See the status of the drives

# arcconf GETCONFIG 1 PD
# arcconf GETCONFIG 1 PD | more

Screen Shot 2016-08-19 at 5.43.42 PM
OR try the following egrep command to filter out and find most important info about the drives:
# arcconf getconfig 1 pd|egrep "Device #|State\>|Reported Location|Reported Channel|S.M.A.R.T. warnings"
Sample outputs:
Screen Shot 2016-08-19 at 5.44.46 PM

Sysadmin because even developers need heroes!!!

Share this tutorial on:
{ 14 comments… add one }
  • Dilip May 9, 2008, 12:22 pm

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

  • nixCraft June 18, 2008, 2:42 pm

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

    • Zack March 30, 2011, 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.

      • TryMe June 25, 2011, 2:44 pm

        Use GETSTATUS command:

         /usr/StorMan/arcconf GETSTATUS 1
  • Jason December 17, 2008, 8:44 pm

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

  • Ivo Simicevic February 12, 2009, 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 …

  • a471856 July 28, 2009, 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
    —————————————————

    • nixCraft July 28, 2009, 7:36 am

      Look out for status line, it should be always okay

      • superw4w May 26, 2010, 3:48 pm

        Status : Charging is fine also

  • a471856 July 28, 2009, 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.

  • shiny November 17, 2010, 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

  • Ron March 22, 2011, 6:23 pm

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

  • Tim January 10, 2014, 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.

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: , , , , , , , , , , , , , , , , , , ,