1834058 Members
2485 Online
110063 Solutions
New Discussion

Lvextend error

 
SOLVED
Go to solution
jmckinzie
Super Advisor

Lvextend error

I am receiving this error when trying to extend my lv.

# lvextend -m 1 /dev/vg_ora2/db newhit

LVM: Unable to map all the LEs to unique PEs.
lvextend: The LVM device driver could not extend the logical volume.

I have the new SAN disks added to the VG and I have successfully mirrored two other lvols.

Any ideas?

-TIA

Jody
11 REPLIES 11
Sandman!
Honored Contributor

Re: Lvextend error

What is newhit? Is it a PV or something else. It is not clear so could you provide more details.

thanks
jmckinzie
Super Advisor

Re: Lvextend error

i am using pvg strict mirroring as to not allow mirroring to devices that reside on the same controller.

New hit is the name of the physical volume group that I assignmed to my new disks.

Thanks,
jmckinzie
Super Advisor

Re: Lvextend error

PVG Name newhit
PV Name /dev/dsk/c9t0d0
PV Name /dev/dsk/c9t0d1
PV Name /dev/dsk/c9t0d2
PV Name /dev/dsk/c9t0d3
PV Name /dev/dsk/c9t0d4
PV Name /dev/dsk/c9t0d5
PV Name /dev/dsk/c9t0d6
PV Name /dev/dsk/c9t0d7
PV Name /dev/dsk/c9t1d0
PV Name /dev/dsk/c9t1d1
PV Name /dev/dsk/c9t1d2
PV Name /dev/dsk/c9t1d3
PV Name /dev/dsk/c9t1d4
PV Name /dev/dsk/c9t1d5
PV Name /dev/dsk/c9t1d6
PV Name /dev/dsk/c9t1d7
PV Name /dev/dsk/c9t2d0
PV Name /dev/dsk/c9t2d1
PV Name /dev/dsk/c9t2d2
PV Name /dev/dsk/c9t2d3
PV Name /dev/dsk/c9t2d4
PV Name /dev/dsk/c9t2d5
PV Name /dev/dsk/c9t2d6
PV Name /dev/dsk/c9t2d7
PV Name /dev/dsk/c9t3d0
PV Name /dev/dsk/c9t3d1
PV Name /dev/dsk/c9t3d2
PV Name /dev/dsk/c9t3d3
PV Name /dev/dsk/c9t3d4
PV Name /dev/dsk/c9t3d5
PV Name /dev/dsk/c9t3d6
PV Name /dev/dsk/c9t3d7
James R. Ferguson
Acclaimed Contributor
Solution

Re: Lvextend error

Hi Jody:

For 11.11, patch PHKL_35970 addresses this defect.

Regards!

...JRF...
jmckinzie
Super Advisor

Re: Lvextend error

THis is on hp-ux 11.00.

Why will it work for the other lvols?
Do you know how to fix it for 11.00?
Sandman!
Honored Contributor

Re: Lvextend error

Sandman!
Honored Contributor

Re: Lvextend error

The fix would be to take out some PVs out of the newhit PVG so that the total number of PEs within that PVG falls to below 64K.
jmckinzie
Super Advisor

Re: Lvextend error

Is there a way to fix this in 11.00?
James R. Ferguson
Acclaimed Contributor

Re: Lvextend error

Hi Jody:

I didn't see any 11.0 patches. More importantly, 11.0 fell out-of-support in December 2006, so I think that you are going to have to adjust your configuration accordingly (i.e. without the help of any patch(es)).

Regards!

...JRF...
jmckinzie
Super Advisor

Re: Lvextend error

I am confused....
How do i fix this? i am already mirroring two other lvols using pvg-strict.

Can i remove disks from pvg without reducing the vg?

So, the disk would still be on the other lvols?
jmckinzie
Super Advisor

Re: Lvextend error

created pvg strict volume group by figuring out the correct syntax.