Operating System - HP-UX
1827701 Members
2896 Online
109967 Solutions
New Discussion

Re: Error while extending filesystem for "Logical Extents Number"

 
Nazaf Khan
Frequent Advisor

Error while extending filesystem for "Logical Extents Number"

Hi Experts,

I am not able to extend the filesystem and logical volume mentioned below. I beleive this is becase it had reached the MAX PE/PV. But still not sure. Is there any way that I can extend my filesystem as when I try it gives me the error below becase my filesystem is about to get full.


#lvextend -L 1171875 /dev/vg01/lvol1
Warning: rounding down logical volume size to extent boundary at size "1171872" MB.
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 30
Open LV 30
Max PV 32
Cur PV 24
Act PV 8
Max PE per PV 34048
VGDA 16
PE Size (Mbytes) 16
Total PE 215646
Alloc PE 203930
Free PE 11716 <==== Near abt 183GB free.

--- Logical volumes ---
LV Name /dev/vg01/lvol1
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1048560
Current LE 65535 <=== Max PE/PV
Allocated PE 65535 <=== Max PE/PV
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c32t0d0 33275 33275
/dev/dsk/c32t0d1 32260 32260

#bdf /betdata
/dev/vg01/lvol1 1073725440 1047098099 24964872 98% /betdata


Thanks.
6 REPLIES 6
Shibin_2
Honored Contributor

Re: Error while extending filesystem for "Logical Extents Number"

What's your OS version?

If you are running with HP-UX 11.23, you need to patch for vgmodify. Then you can use vgmodify to alter your MaxPE value.
Regards
Shibin
Nazaf Khan
Frequent Advisor

Re: Error while extending filesystem for "Logical Extents Number"

Hi Shibin,


Thanks for your reply. My OS version is...

HP-UX Hampshire B.11.23 U ia64 2113858192 unlimited-user license.

But how will that be possible to increate the LV or filesytem with vgmodify patch.

Just check in previous forum but was not able to get the exact hit for vgmodify related to extending the filsytem or LV issue.
Matti_Kurkela
Honored Contributor

Re: Error while extending filesystem for "Logical Extents Number"

The "MaxPE/PV" value is about Physical Volumes only. It should not limit the size of your LVs.

What's your HP-UX version? If you're using an old version, you might need some patches to enable the creation of very large LVs.

Your current LV size is just under 1 TiB. I cannot find any documents about the specific limits of HP-UX 11.00 and older at the moment (all I can quickly find is about 11.11 or later), but I seem to recall that 11.00 might have had a limit of some sort at 1 TiB. If I recall correctly, there was no patch to overcome that limit.

MK
MK
Shibin_2
Honored Contributor

Re: Error while extending filesystem for "Logical Extents Number"

You have reached the implementation limit of 65,535 physical extents.

All that you can do is, increase the PE size to accommodate larger LV. To do this online, you need to patch vgmodify. If you already have vgmodify installed, modify your PE size.

then you can easily do the changes and can extend as you wish.
Regards
Shibin
Nazaf Khan
Frequent Advisor

Re: Error while extending filesystem for "Logical Extents Number"

Thanks Mat,

As updated before my OS version is 11.23.

Thanks again Shibin,

Actually as said in my initial post that my PE/PV is 65535. But as you said to apply the patch for vgmodify will that be useful. If yes, then what will be the limit after applying the patch as what 65535 is in present. Just to update you that I do not have vgmodify patch applied in my system at present. Also as I apply the patch I will have to deactivate the vg then actvate in single user mode and then extend the max PE/PV with at present is 34048. Please correct me if I am wrong.

Previously I was able to access and get the patches easily from the PATCH Database from this ITRC. But now a days HP had made that tough too we are not able to get the PATCH Database like before as it asked for Agrement and Contact ID for that system which indeed gets difficult if you are supporting the remote client. So any other way to get this vgmodify patch for 11.23.


Thanks for your help agian..
Nazaf Khan
Frequent Advisor

Re: Error while extending filesystem for "Logical Extents Number"

I was not able to get the complete solution for the issue but did got the idea related to this.

Thanks all for the help.