Operating System - HP-UX
1826860 Members
2977 Online
109704 Solutions
New Discussion

RE: Mirrored disk but not same PE ?

 
Charles Ooi Chia Lun
Occasional Advisor

RE: Mirrored disk but not same PE ?

Dear Sir,
We got a weird scenario here, we got a system that have mirrorred the 2 disks but doesn't same size PE found. How to troubleshoot these? thank you a lot.
4 REPLIES 4
Sundar_7
Honored Contributor

Re: RE: Mirrored disk but not same PE ?

Sorry, the question is not clear.

PE size is defined at the VG level, not at the PV level. So once you create a VG and add the PVs to the VG, the PE size is the same for all the PVs.
Learn What to do ,How to do and more importantly When to do ?
A. Clay Stephenson
Acclaimed Contributor

Re: RE: Mirrored disk but not same PE ?

I assume that we are talking about LVM. All the physical volumes (PV's -> disks, LUN's) within a VG must have the same PE size. Therefore, if you are seeing different PE sizes then these PV's must belong to different VG's. You should also note that mirroring does not occur at the disk level but rather at the LVOL level.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: RE: Mirrored disk but not same PE ?

HI Charles:

It would be easist if you post what you are looking at.

Remember, however, that mirroring is done at the *LOGICAL VOLUME* level. Thus you should use :

# lvdisplay -v /dev/vgNN/lvolX

...to see the state and number of your mirrored extents.

If you are looking at the output from:

# vgdisplay -v vgNN

...then it is very possible that the PHYSICAL volumes comprising the volume group are of slightly different sizes (in terms of number of physical extents). This is meaningless.

Regards!

...JRF...
Granite
Frequent Advisor

Re: RE: Mirrored disk but not same PE ?

Hi Charles,

It cant be possible of having diff. PE(size)in a single VG. As it is obvious that, once the second disk is added to the VG for mirroring its PE size will be defined automatically as same as defined for that VG.You cant change after that unless you scratch that VG.

You can post your vgdisplay o/p better.

regds, Granite
HPmania - The World of HP