Check LSI Raid status in Centos

How do I check LSI MegaRAID controller and raid array status on a  linux server

Use the LSI MegaRAID megarc command line cli tool

Download the megarc tool

Download the megarc.bin utility which can be downloaded from LSI website at http://www.lsi.com/downloads/Public/MegaRAID Common Files/ut_linux_megarc_1.11.zip

# mkdir /opt/LSI_MegaRAID
# unzip ut_linux_megarc_1.11.zip
# chmod 700 megarc

How to check LSI MegaRAID status with megarc

Check all Logical drives on Adapter “0″

# ./megarc -ldInfo -a0 -Lall

Output will similar to:

**********************************************************************              MEGARC MegaRAID Configuration Utility(LINUX)-1.11(12-07-2004)              By LSI Logic Corp.,USA        **********************************************************************          [Note: For SATA-2, 4 and 6 channel controllers, please specify          Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)]
 Type ? as command line arg for help

 Finding Devices On Each MegaRAID Adapter...        Scanning Ha 0, Chnl 0 Target 15
 *******Information Of Logical Drive 0*******
 Logical Drive : 0( Adapter: 0 ):  Status: OPTIMAL
---------------------------------------------------
 SpanDepth :01     RaidLevel: 1  RdAhead : No  Cache: CachedIo
StripSz   :064KB   Stripes  : 2  WrPolicy: WriteBack
Logical Drive 0 : SpanLevel_0 Disks
Chnl  Target  StartBlock   Blocks      Physical Target Status
----  ------  ----------   ------      ----------------------
0      00    0x00000000   0xe8e06000   ONLINE
0      01    0x00000000   0xe8e06000   ONLINE

Supported LSI Controllers

MegaRAID SCSI 320-0
MegaRAID SCSI 320-1
MegaRAID SCSI 320-2
MegaRAID SCSI 320-0X
MegaRAID SCSI 320-2X
MegaRAID SCSI 320-4X
MegaRAID SCSI 320-2E
MegaRAID SATA 150-4
MegaRAID SATA 150-6
MegaRAID SATA 300-4x
MegaRAID SATA 300-8x

 

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
Fabio Milano has written 80 articles for us. Fabio Milano is a certified RHCE, MCP, and CFOI. He runs an IT consulting and services company called RDS Support inc. Website:http://www.rdssupport.com
The information provided is for educational purposes only. All content including links and comments is provided "as is" with no warranty, expressed or implied. Use is at your own risk and you are solely responsible for what you do with it.

No Comments

Leave a reply