1751975 Members
4719 Online
108784 Solutions
New Discussion юеВ

Re: Raid configuration

 
SOLVED
Go to solution
Jenny John
Advisor

Raid configuration

Hi all,
how can i view Drive/RAID configuration in HPUX?
4 REPLIES 4
Torsten.
Acclaimed Contributor
Solution

Re: Raid configuration

This depends if we talk about hardware or software RAIDs.

For LVM software RAID you can check with

# lvdisplay -v /dev/vgxx/lvolx

and look at "mirror copies".

For hardware RAIDs it depends on the hardware ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jenny John
Advisor

Re: Raid configuration

thanks

Anyways how can i find the hardware raid configuration... is there any command to view?
Torsten.
Acclaimed Contributor

Re: Raid configuration

Many different possibilities.

1) RAID on hardware arrays (e.g. EVA, XP, etc.)
-> check with appropriate management tools

2) RAID HBAs

2.1)
Smartarray controllers

Example:

# saconfig /dev/ciss0

******************** SmartArray RAID Controller /dev/ciss0 ********************

Auto-Fail Missing Disks at Boot = disabled
Cache Configuration Status = cache enabled
Cache Ratio = 25% Read / 75% Write

---------- PHYSICAL DRIVES ----------

Location Ct Enc Bay WWID Size Status

Internal 1I 1 6 0x5000c50000ae1234 36.4 GB OK
Internal 2I 1 1 0x500000e0176a1234 36.4 GB OK
Internal 2I 1 2 0x5000c50000ae1234 36.4 GB OK
Internal 2I 1 4 0x5000c50000ae1234 36.4 GB OK

---------- LOGICAL DRIVE 0 ----------

Device File = c0t0d0
RAID Level = 1+0
Size = 34699 MB
Stripe Size = 128 KB
Status = OK


2.2)
SAS controllers

Example:

# sasmgr get _info -D /dev/sasd0 -q raid

Wed May 21 13:55:17 2008

---------- LOGICAL DRIVE 7 ----------

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

Participating Physical Drive(s) :

SAS Address Enc Bay Size(MB) Type State

0x5000c5000a651234 1 8 70007 SECONDARY ONLINE
0x5000c5000a651234 1 7 70007 PRIMARY ONLINE

2.3)
older RAID HBAs (e.g. RAID 4si)

# irm
# irdisplay

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jenny John
Advisor

Re: Raid configuration

thanks a lot