How to check the health of RAID and individual hard drives on APM-9600

book

Article ID: 167974

calendar_today

Updated On:

Products

XOS

Issue/Introduction

How to check the health of RAID and individual hard drives on APM-9600If a VAP group is configured to use RAID on APM-9600, the traditional 'smartctl' command doesn't work:

CBS# show running-config vap-group V9600
vap-group V9600 xslinux_v5_64
  raid 1

  max-load-count 1
  ap-list ap9
  load-balance-vap-list 1 2 3 4 5 6 7 8 9 10
  ip-flow-rule lb
    action load-balance
    activate

CBS# show ap-vap-mapping
Module  Slot  Status  VAP IP Address  VAP Group  Index  Master (true/false)
AP3     5     Active  1.1.21.102      fw         2      false
AP5     7     Active  1.1.21.101      fw         1      true
AP6     8     Active  1.1.21.105      V8650      1      true
AP9     11    Active  1.1.21.106      V9600      1      true
(4 rows)
 
CBS# show module status ap9 disk

 Slot 11:
  Board Type                   AP9600
  Hard Disk                    450(GB)
  Second Hard Disk             450(GB)
  Hard Drive Error             None
  Second Hard Drive Error      None
  RAID Status                  Active, RAID 1

CBS# unix su
[[email protected] admin]# rsh V9600_1

V9600_1 (CBS): ~# smartctl -d scsi -a /dev/sda
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is
http://smartmontools.sourceforge.net/ 
Smartctl open device: /dev/sda failed: No such file or directory

V9600_1 (CBS): ~# smartctl -d scsi -a /dev/sdb
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is
http://smartmontools.sourceforge.net/ 
Smartctl open device: /dev/sdb failed: No such file or directory

 

Cause

The smartctl utility on the APMs doesn't have the ability to access the LSI SAS controller on APM-9600.

Resolution

The verify the health of RAID and hard disks on APM-9600, the utility 'sas2ircu' can be used.

Linux command 'sas2ircu 0 DISPLAY' shows the healthy of the RAID and individual HDDs. In the below sample output, 'Status of volume: Okay (OKY)' and 'Status: Optimal (OPT)' show the RAID and the HDDs are healthy.

V9600_1 (CBS): ~# sas2ircu 0 DISPLAY
LSI Corporation SAS2 IR Configuration Utility.
Version 6.00.00.00 (2010.04.29)
Copyright (c) 2009-2010 LSI Corporation. All rights reserved.

Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
  Controller type                         : SAS2008
  BIOS version                            : 0.00.00.00
  Firmware version                        : 7.00.00.00
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 0
  Maximum physical devices                : 255
  Concurrent commands supported           : 2239
  Slot                                    : Unknown
  Segment                                 : 0
  Bus                                     : 8
  Device                                  : 0
  Function                                : 0
  RAID Support                            : Yes
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
IR volume 1
  Volume ID                               : 323
  Status of volume                        : Okay (OKY)
  RAID level                              : RAID1
  Size (in MB)                            : 428199
  Physical hard disks                     :
  PHY[0] Enclosure#/Slot#                 : 1:0
  PHY[1] Enclosure#/Slot#                 : 1:1
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
Initiator at ID #0

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 0
  SAS Address                             : 5000cca-0-0000-0000
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 429247/879097967
  Manufacturer                            : HITACHI
  Model Number                            : HUC106045CSS600
  Firmware Revision                       : A202
  Serial No                               : PNG5LSGA
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 1
  SAS Address                             : 5000cca-0-0000-0000
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 429247/879097967
  Manufacturer                            : HITACHI
  Model Number                            : HUC106045CSS600
  Firmware Revision                       : A202
  Serial No                               : PNG5M9BA
  Protocol                                : SAS
  Drive Type                              : SAS_HDD
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
  Enclosure#                              : 1
  Logical ID                              : 500d0c9e:0000061d
  Numslots                                : 8
  StartSlot                               : 0
------------------------------------------------------------------------
SAS2IRCU: Command DISPLAY Completed Successfully.
SAS2IRCU: Utility Completed Successfully.

Workaround

N/A