Operating System - HP-UX
1834458 Members
3358 Online
110067 Solutions
New Discussion

Re: help! unable to do lvextend on vg00

 
SOLVED
Go to solution
Alan Casey
Trusted Contributor

help! unable to do lvextend on vg00

vg00: (mirrored)
/dev/dsk/c1t15d0
/dev/dsk/c3t15d0
800MB free space
I want to increase an lvol by 200MB
When I do this in single user mode I get:
"Not enough free physical extents available"
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: help! unable to do lvextend on vg00

Hi Alan:

Well, that's not a great deal of information to go on. What logical volume? Is that the complete message, or is it that you do not have enough contiguous extents? Did you specify your new size in *extents* when you meant to do so in megabytes? Is it simply that you do not have enough free space to keep mirrored extents on separate physical volumes (the default action)? I suspect that this is the most likely reason.

Regards!

...JRF...
Alan Casey
Trusted Contributor

Re: help! unable to do lvextend on vg00

I was trying
lvextend -L 852 /dev/vg00/lvol8

warehse1(root)/> lvdisplay /dev/vg00/lvol8
--- Logical volumes ---
LV Name /dev/vg00/lvol8
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 636
Current LE 159
Allocated PE 318
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default


warehse1(root)/> vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 13
Open LV 13
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8426
Free PE 254
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
James R. Ferguson
Acclaimed Contributor

Re: help! unable to do lvextend on vg00

Hi Alan:

OK, it looks like you do not have enough free extents on *both* physical* volumes. You have 254 free PE in the volume group, but you must you are asking for (852 / 4) or 213 PE on *EACH* logical volume. Thus you need 426 PE available which you don't have. Hence, "not enough free physical extents".

Regards!

...JRF...
Alan Casey
Trusted Contributor

Re: help! unable to do lvextend on vg00

thanks James,
I'll see if there is anything I can move from vg00 to another vg