Adaptec RAID status - CLI on Linux

Robert Leong -

Command line in Linux to get status of Adaptec (PMC) RAID controllers.  

Save all the logs in the support  archive.  See output example AA below.

# /usr/StorMan/arcconf savesupportarchive

 

Examples below for controller 2, change the number accordingly for the desired controller.

Get status of running task (rebuild, verify, etc...) of a controller, this is NOT current status of the RAID, see getconfig for that.

# /usr/StorMan/arcconf getstatus 2

 

Commands to get logs of failed drive, see output example A below.  NOTE, this is a dead drive log and does not represent the current status of the drives, so drives might had been replaced be okay now.  See "getconfig" below to get current state.

# /usr/StorMan/arcconf getlogs 1 dead
# /usr/StorMan/arcconf getlogs 2 dead tabular

 

Command to get logs of device (drives)

 # /usr/StorMan/arcconf getlogs 1 device

 

Command to clear the dead drive log entries.   

# /usr/StorMan/arcconf getlogs 2 dead clear

 

Command to get complete controller configuration and current status, see output example B below. 

Specifically for failed drives, look for "Status of logical device" entries, if it is not Optimal then need to investigate more closely under "Status of logical device" and see if there are any missing (failed) drives (Segment).

Also looks for "Degraded" to narrow down the search

# /usr/StorMan/arcconf getconfig 2
# /usr/StorMan/arcconf getconfig 2 | grep "Status of"
# /usr/StorMan/arcconf getconfig 2 | grep "Degraded"
# /usr/StorMan/arcconf getconfig 2 | grep "warnings"
# /usr/StorMan/arcconf getconfig 2 | grep "Segment"

 
Command to get the event log.

# /usr/StorMan/arcconf getlogs 2 event tabular

 

Command to set / change rebuild priority.

# ./arcconf setpriority

 

Output examples

Output example AA for savesupportarchive.

# /usr/StorMan/arcconf savesupportarchive
Controllers found: 1

 Usage: SAVESUPPORTARCHIVE [Path] [Firmware|GUI|CIM|Arcconf|Storlib|Agent|Basecode]
 ===================================================================================

 Saves  all the logs
    Path          : directory other than default
    Firmware      : saves Firmware logs
    GUI           : saves GUI logs
    CIM           : saves CIM logs
    Arcconf       : saves Arcconf logs
    StorLib       : saves StorLib logs
    Agent         : saves Agent logs
    Basecode      : saves Basecode logs


The path is not specified, Using the default.
The logs are saved in relevant folders in /var/log/Support

Command completed successfully.

 

Output example A for getlogs command shows info of the failed drive, examples show.

# /usr/StorMan/arcconf getlogs 1 dead
Controllers found: 1
<ControllerLog controllerID="0" type="5" time="1424719380" version="1">
    <deadDriveEntry vendorID="ATA     " rtcSeconds="27" rtcMinutes="8" rtcHours="12" rtcDay="23" rtcMonth="2" rtcYear="2015" serialNumber="NAG28NAP            " productID="HGST HUS" wwn="0000000000000000" failureReasonCode="2"/>
</ControllerLog>
Command completed successfully.

# /usr/StorMan/arcconf getlogs 2 dead tabular
Controllers found: 3
 
   ControllerLog                  
      controllerID ..................... 1
      type ............................. 5
      time ............................. 1390333395
      version .......................... 1
 
      deadDriveEntry              
         vendorID ......................... Hitachi 
         rtcSeconds ....................... 23
         rtcMinutes ....................... 11
         rtcHours ......................... 7
         rtcDay ........................... 21
         rtcMonth ......................... 12
         rtcYear .......................... 2013
         serialNumber ..................... JK11A5YAKE2BUX
         productID ........................ HUA72202
         wwn .............................. 0000000000000000
         failureReasonCode ................ 2

 

Output example B for getconfig command.

Controllers found: 3
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec 51245
   Controller Serial Number                 : 9A1110F7337
   Physical Slot                            : 3
   Temperature                              : 50 C/ 122 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          : 3/0/0
   SSDs assigned to MaxIQ Cache pool        : 0
   Maximum SSDs allowed in MaxIQ Cache pool : 8
   NCQ status                               : Enabled
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (17544)
   Firmware                                 : 5.2-0 (17544)
   Driver                                   : 1.1-5 (2455)
   Boot Flash                               : 5.2-0 (17544)
   --------------------------------------------------------
   Controller Battery Information
   --------------------------------------------------------
   Status                                   : Optimal
   Over temperature                         : No
   Capacity remaining                       : 99 percent
   Time remaining (at current draw)         : 3 days, 7 hours, 40 minutes
 
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : sb_system
   RAID level                               : 1
   Status of logical device                 : Optimal
   Size                                     : 238289 MB
   Read-cache mode                          : Enabled
   MaxIQ preferred cache setting            : Disabled
   MaxIQ cache setting                      : Disabled
   Write-cache mode                         : Enabled (write-back)
   Write-cache setting                      : Enabled (write-back) when protected by battery/ZMM
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Segment 0                                : Present (0,2) 100614FC1L20NEJW93SG
   Segment 1                                : Present (0,3) 100614FC1L20NEJVSMLG
 
Logical device number 1
   Logical device name                      : Meta_SSD
   RAID level                               : 1
   Status of logical device                 : Optimal
   Size                                     : 152489 MB
   Read-cache mode                          : Enabled
   MaxIQ preferred cache setting            : Disabled
   MaxIQ cache setting                      : Disabled
   Write-cache mode                         : Enabled (write-back)
   Write-cache setting                      : Enabled (write-back) when protected by battery/ZMM
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : No
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Segment 0                                : Present (0,0) CVPR137003L9160DGN
   Segment 1                                : Present (0,1) CVPR136303J7160DGN
 
Logical device number 2
   Logical device name                      : sb_data_1
   RAID level                               : 5
   Status of logical device                 : Optimal
   Size                                     : 13332463 MB
   Stripe-unit size                         : 256 KB
   Read-cache mode                          : Enabled
   MaxIQ preferred cache setting            : Disabled
   MaxIQ cache setting                      : Disabled
   Write-cache mode                         : Enabled (write-back)
   Write-cache setting                      : Enabled (write-back)
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : No
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Segment 0                                : Present (0,4)       JK11A5YAKBP17X
   Segment 1                                : Present (0,5)       JK11A5YAKE2M6X
   Segment 2                                : Present (0,6)       JK11A5YAKBN2EX
   Segment 3                                : Present (0,7)       JK11A5YAKBNY4X
   Segment 4                                : Present (0,8)       JK11A5YAKBP0DX
   Segment 5                                : Present (0,9)       JK11A5YAKE2M5X
   Segment 6                                : Present (0,10)       JK11A5YAKE3ETX
   Segment 7                                : Present (0,11)       JK11A8B9GUT7PF
 
 
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
      Device #0
         Device is a Hard drive
         State                              : Online
         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                             : INTEL
         Model                              : SSDSA2BW16
         Firmware                           : 4PC10362
         Serial number                      : CVPR137003L9160DGN
         Size                               : 152627 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 rpm,Powered off
         SSD                                : Yes
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #1
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,1(1:0)
         Reported Location                  : Connector 0, Device 1
         Vendor                             : INTEL
         Model                              : SSDSA2BW16
         Firmware                           : 4PC10362
         Serial number                      : CVPR136303J7160DGN
         Size                               : 152627 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 rpm,Powered off
         SSD                                : Yes
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #2
         Device is a Hard drive
         State                              : Online
         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                             : Hitachi
         Model                              : HTE723225L9A360
         Firmware                           : FCDOC30F
         Serial number                      : 100614FC1L20NEJW93SG
         Size                               : 238475 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #3
         Device is a Hard drive
         State                              : Online
         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                             : Hitachi
         Model                              : HTE723225L9A360
         Firmware                           : FCDOC30F
         Serial number                      : 100614FC1L20NEJVSMLG
         Size                               : 238475 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #4
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,4(4:0)
         Reported Location                  : Enclosure 0, Slot 4
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : Hitachi
         Model                              : HUA722020ALA330
         Firmware                           : JKAOA3EA
         Serial number                      : JK11A5YAKBP17X
         Size                               : 1907729 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #5
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,5(5:0)
         Reported Location                  : Enclosure 0, Slot 5
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : Hitachi
         Model                              : HUA722020ALA330
         Firmware                           : JKAOA3EA
         Serial number                      : JK11A5YAKE2M6X
         Size                               : 1907729 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #6
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,6(6:0)
         Reported Location                  : Enclosure 0, Slot 6
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : Hitachi
         Model                              : HUA722020ALA330
         Firmware                           : JKAOA3EA
         Serial number                      : JK11A5YAKBN2EX
         Size                               : 1907729 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #7
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,7(7:0)
         Reported Location                  : Enclosure 0, Slot 7
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : Hitachi
         Model                              : HUA722020ALA330
         Firmware                           : JKAOA3EA
         Serial number                      : JK11A5YAKBNY4X
         Size                               : 1907729 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #8
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,8(8:0)
         Reported Location                  : Enclosure 1, Slot 8
         Reported ESD(T:L)                  : 2,1(1:0)
         Vendor                             : Hitachi
         Model                              : HUA722020ALA330
         Firmware                           : JKAOA3EA
         Serial number                      : JK11A5YAKBP0DX
         Size                               : 1907729 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #9
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,9(9:0)
         Reported Location                  : Enclosure 1, Slot 9
         Reported ESD(T:L)                  : 2,1(1:0)
         Vendor                             : Hitachi
         Model                              : HUA722020ALA330
         Firmware                           : JKAOA3EA
         Serial number                      : JK11A5YAKE2M5X
         Size                               : 1907729 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #10
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,10(10:0)
         Reported Location                  : Enclosure 1, Slot 10
         Reported ESD(T:L)                  : 2,1(1:0)
         Vendor                             : Hitachi
         Model                              : HUA722020ALA330
         Firmware                           : JKAOA3EA
         Serial number                      : JK11A5YAKE3ETX
         Size                               : 1907729 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #11
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SATA 3.0 Gb/s
         Reported Channel,Device(T:L)       : 0,11(11:0)
         Reported Location                  : Enclosure 1, Slot 11
         Reported ESD(T:L)                  : 2,1(1:0)
         Vendor                             : Hitachi
         Model                              : HUA722020ALA330
         Firmware                           : JKAOA3EA
         Serial number                      : JK11A8B9GUT7PF
         Size                               : 1907729 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 rpm,Powered off,Reduced rpm
         SSD                                : No
         MaxIQ Cache Capable                : No
         MaxIQ Cache Assigned               : No
         NCQ status                         : Enabled
      Device #12
         Device is an Enclosure services device
         Reported Channel,Device(T:L)       : 2,0(0:0)
         Enclosure ID                       : 0
         Type                               : SES2
         Vendor                             : ADAPTEC
         Model                              : Virtual SGPIO
         Firmware                           : 0001
         Status of Enclosure services device
            Temperature                     : Normal
      Device #13
         Device is an Enclosure services device
         Reported Channel,Device(T:L)       : 2,1(1:0)
         Enclosure ID                       : 1
         Type                               : SES2
         Vendor                             : ADAPTEC
         Model                              : Virtual SGPIO
         Firmware                           : 0001
         Status of Enclosure services device
            Temperature                     : Normal
 
 
Command completed successfully.

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.