System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to confirm Local Disks are configured with Raid 0+1

 
SOLVED
Go to solution

How to confirm Local Disks are configured with Raid 0+1

Hi There..

Under HP LVM can you verify that the local disks are configured with Raid 0+1 ? If not, how can I find this out?

Server details:

Platform info:
model string = "ia64 hp server rx2660"

OS info:
sysname = HP-UX
release = B.11.23
version = U (unlimited-user license)
machine = ia64

Thanks in advance
Eddie
11 REPLIES
Michael Steele_2
Honored Contributor

Re: How to confirm Local Disks are configured with Raid 0+1

vgdisplay -v (* use for cross referencing next two commands *)
lvdisplay /dev/vg##/lvol#
pvdisplay /dev/dsk/c#t#d#

Paste in a lv and pv display from one vg and we'll go over it.
Support Fatherhood - Stop Family Law

Re: How to confirm Local Disks are configured with Raid 0+1

Hi Michael.

Heres theoutputs:

# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4304
VGDA 2
PE Size (Mbytes) 16
Total PE 4294
Alloc PE 2963
Free PE 1331
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 19
Allocated PE 19
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 1280
Allocated PE 1280
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 512
Allocated PE 512
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 384
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c1t0d0s2
PV Status available
Total PE 4294
Free PE 1331
Autoswitch On
Proactive Polling On


# lvdisplay /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 19
Allocated PE 19
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

# pvdisplay /dev/dsk/c1t0d0s2
--- Physical volumes ---
PV Name /dev/dsk/c1t0d0s2
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 16
Total PE 4294
Free PE 1331
Allocated PE 2963
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On

Tingli
Esteemed Contributor

Re: How to confirm Local Disks are configured with Raid 0+1

There is no software mirror in your lvm. But it is more likely in hardware mirror.

Re: How to confirm Local Disks are configured with Raid 0+1


How do you check that hardware mirroring (Raid 0+1) is in place ?

Eddie
James R. Ferguson
Acclaimed Contributor

Re: How to confirm Local Disks are configured with Raid 0+1

Hi Eddie:

Use 'sasmgr' as for example:

# sasmgr get_info -D /dev/sasd0 -q raid

Regards!

...JRF...

Re: How to confirm Local Disks are configured with Raid 0+1

Command Fails ...

# ioscan -kfnCfc
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
fc 0 0/2/0/0/0/0 fclp CLAIMED INTERFACE HP AD299-60001 4Gb PCIe 1-port Fibre Channel Adapter
/dev/fclp0
fc 1 0/4/0/0/0/0 fclp CLAIMED INTERFACE HP AD299-60001 4Gb PCIe 1-port Fibre Channel Adapter
/dev/fclp1
# sasmgr get_info -D /dev/fclp0 -q raid
ERROR: Unable to find library '/opt/sas/fclp/lib/libfclputil.so'.
sasmgr expects a HBA specific library to be provided by the driver, fclp.
#
Tingli
Esteemed Contributor
Solution

Re: How to confirm Local Disks are configured with Raid 0+1

Try do this first:
ioscan -fnd sasd

It supposed to give you /dev/sasd0, then:
sasmgr get_info -D /dev/sasd0 -q raid

Re: How to confirm Local Disks are configured with Raid 0+1

Thanks for the info .. got it..

Cheers
Eddie
James R. Ferguson
Acclaimed Contributor

Re: How to confirm Local Disks are configured with Raid 0+1

Eddie:

Gee, if you had copy-and-pasted the command I suggested it might have worked the first time.

...JRF...
Torsten.
Acclaimed Contributor

Re: How to confirm Local Disks are configured with Raid 0+1

Eddie,

please post

# ioscan -fn

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!   

Re: How to confirm Local Disks are configured with Raid 0+1

The command worked as adivised. My bad.