• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 881
  • Last Modified:

Hardware Raid

We have configured Raid 1 with two hard disks. We can check the hardware raid status by raidctl -l devicename in solaris .How to check the hardware RAID status in redhat linux?
0
linuxraja
Asked:
linuxraja
  • 2
  • 2
  • 2
  • +2
1 Solution
 
woolmilkporcCommented:
You need a software provided by the manufacturer of your RAID controller.
wmp
0
 
linuxrajaAuthor Commented:
Its Sun x4200 server
0
 
arnoldCommented:
Check on Sun's site for software for the linux flavor you use.
The below article seems to ask this question, but requires that you have access to the resource
http://sunsolve.sun.com/search/document.do?assetkey=1-61-207610-1

http://www.sun.com/servers/entry/x4100/downloads.jsp

You might be able to use ipmitool to query the status of the RAID.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
DavidCommented:
I have one of my old Redhat boxes set up for software RAID1, using 2 partitions (one for /, the other for /boot).  To check, just enter cat /proc/mdstat
the [UU] means everything good and the 2 disks are synced up.
=========================

[root@boss root]# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb1[1] sda1[0]
      48064 blocks [2/2] [UU]
     
md1 : active raid1 sdb2[1] sda2[0]
      35222400 blocks [2/2] [UU]
     
unused devices: <none>
[root@boss root]#

===========



























0
 
jghelfman40Commented:
Check out "mdadm"

It is front-end management utility for the raid device.
0
 
arnoldCommented:
mdadm uses software RAID as you pointed out, the asker uses hardware RAID and needs the tool/utility that can talk to the LSI SAS RAID controller to determine the condition of the RAID.
0
 
DavidCommented:
Sorry, was first to respond with checking status of RAID1 before original poster entered anything about a RAID controller..

In case of the LSI RAID, you can get health and configuration via a commercial product, smartmon-ux, here is output for what it looks like on LSI RAID in LINUX:  
Full link to the LSI RAID reporting function is below, sample output follows:

http://www.santools.com/smart/unix/manual/lsi_mpt_internal_raid_engines.htm

==========================================
[root@w13 /scratch/common]# ./smartmon-ux -zd
SMARTMon-UX [Release 1.38, Build 30-OCT-2008] - Copyright 2001-2008 SANtools(R), Inc. http://www.SANtools.com

(TRUNCATING SOME OUTPUT NOT RELEVENT TO RAID HEALTH, BELOW SHOWS DEGRADED)

Discovered LSILOGIC Logical Volume S/N "" on RAID (Not Enabling SMART) (69618 MB)
1 volume is active, 2 physical disks are
Volume 0 is Bus 0 Target 4, Type IM (Integrated Mirroring)
Volume Name:
Volume WWID:  0a0cade5ed79d4ab
Volume State:  degraded, enabled
Volume Settings:  write caching disabled, auto configure
Volume draws from Hot Spare Pools:  0
Volume Size 69618 MB, Stripe Size 0 KB, 2 Members
Volume Device:
 Member 1 is PhysDisk 0 at (Bus 0 Target 5)

Discovered HP DF072BAFDT S/N "BJL4P86004TB0862" at Bus 0 Target 5 (70007 MB)  state=online PhysDisk=0
Discovered HP DF072BABUD S/N "J2YD2PCA" at Bus 0 Target 8 (70007 MB)  state=missing, out of sync PhysDisk=1

Volume 0 State:  degraded, enabled
Volume 1 State:  optimal, disabled

Note you can get health through the BIOS, but that doesn't do you much good if you want it online.  the smartmon-ux program may be overkill, but it will do the job and runs from the O/S.
0
 
jghelfman40Commented:
There is an LSI controller utility available for download on their site. I've used it on FreeBSD, but not in any Linux. I do recall seeing the utility posted though for Linux.
0
 
linuxrajaAuthor Commented:
okay
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now