HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to check Hardware Mirror(done via BIOS) for boot disk for RHEL 5.3

 
SOLVED
Go to solution
Anshumali
Esteemed Contributor

How to check Hardware Mirror(done via BIOS) for boot disk for RHEL 5.3

Hi people,

I will try to keep it short and concise so you dont have to read a lot. :)
Environment:
============
Disk mirrored at BIOS.
HP Smart Array P410i Controller
Linux xxxx 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux (RHEL 5.3)
***
system.hardware.product = 'ProLiant BL460c G6' (string)
system.hardware.vendor = 'HP' (string)
***
Need
=====
To query the health status of the mirrored drives from the OS.

Already tried:
==================
root@xxxx:/tmp # ./hrconf RESCAN
Controllers found: 0
==================
root@xxxx:/tmp # hpacucli "ctrl all show"
Error: No controllers detected.
===================
Below gives me the controller and the RAID info but not the individual disk information inside it.
root@sustd3:/tmp # cat /proc/driver/cciss/cciss0
cciss0: HP Smart Array P410i Controller
Board ID: 0x3245103c
Firmware Version: 3.30
IRQ: 98
Logical drives: 1
Sector size: 2048
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 118
Max # commands on controller since init: 159
Max SG entries since init: 31
Sequential access devices: 0
cciss/c0d0: 146.77GB RAID 1(1+0)

What I am looking for is output like sasmgr on hp-ux:

sasmgr get_info -D /dev/sasd0 -q raid

Thu Apr 28 12:43:35 2011

---------- LOGICAL DRIVE 1 ----------

Raid Level : RAID 1
Volume sas address : 0x55e82c2e4e1c784
Device Special File : /dev/rdsk/c7t0d0
Raid State : OPTIMAL
Raid Status Flag : ENABLED
Raid Size : 139236
Rebuild Rate : 0.00 %
Rebuild Progress : 100.00 %

Participating Physical Drive(s) :

SAS Address Enc Bay Size(MB) Type State

0x5000c5000a5016bd 1 2 140014 SECONDARY ONLINE
0x5000c50013874c85 1 1 140014 PRIMARY ONLINE

Is there a way I can get it on Linux? Or basically how do I query HP Smart Array P410i Controller on Linux?


Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
4 REPLIES
Tim Nelson
Honored Contributor

Re: How to check Hardware Mirror(done via BIOS) for boot disk for RHEL 5.3

Do you have the hpacucli RPM installed ? Can be gotten from biz support site.

then
hpacucli help

show controllers
hpacucli controller all show detail

show physical devices
hpacucli controller slot=0 physicaldrive all show

show logical devices
hpacucli controller slot=0 logicaldrive all show



Bob_Vance
Esteemed Contributor
Solution

Re: How to check Hardware Mirror(done via BIOS) for boot disk for RHEL 5.3

Did you download the latest version of hpacucli?

Its release notes specifically mention support for the P410i,
but not until version

Version: 8.25-5 (19 Feb 2009)


http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3902575&prodTypeId=329290&prodSeriesId=3902574&swLang=8&taskId=135&swEnvOID=4004



Also, the cpqacuxe is supported, now without needing SMH.
It will use the Firefox browser, so you would run it under GUI, or using X, or under VNC (the simplest IMHO).


bv
"The lyf so short, the craft so long to lerne." - Chaucer
radek zima_1
Frequent Advisor

Re: How to check Hardware Mirror(done via BIOS) for boot disk for RHEL 5.3

The key is this:
===
root@xxxx:/tmp # hpacucli "ctrl all show"
Error: No controllers detected.
===
Something is old, either hpacucli or cciss driver, recommend to upgrade the full psp ... Radek
Anshumali
Esteemed Contributor

Re: How to check Hardware Mirror(done via BIOS) for boot disk for RHEL 5.3

I had older version but now upgraded it to

root@sustd3:/tmp # hpacucli
HP Array Configuration Utility CLI 8.70-8.0

*****
Works very well now. Points assigned: :)


root@sustd3:/tmp # hpacucli "ctrl slot=0 pd all show"

Smart Array P410i in Slot 0 (Embedded)

array A

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!