Operating System - HP-UX
1826502 Members
2029 Online
109693 Solutions
New Discussion

Hi All I am unable to extend the logical volume?

 
SOLVED
Go to solution
Sudhaadm
Regular Advisor

Hi All I am unable to extend the logical volume?

Thanks in advance.

I am unable to allocate space in lv.Is allocation=Stricct option causing the problem.If that is the problem how can i proceed to extend LV>
--- Logical volumes ---
LV Name /dev/vg01_apps/lvbilink
VG Name /dev/vg01_apps
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 81500
Current LE 20375
Allocated PE 20375
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation strict
IO Timeout (Seconds) default


7 REPLIES 7
Peter Godron
Honored Contributor

Re: Hi All I am unable to extend the logical volume?

Hi,
if your PE size is 4Mb then you have allocated and used all your space (20375 * 4 = 81500Mb).
If you want to extend the LV do you have space available in the VG to allocate?
Sudhaadm
Regular Advisor

Re: Hi All I am unable to extend the logical volume?

I have available space in VG.
Please check it and give the syntax to extend the LV?
--- Volume groups ---
VG Name /dev/vg01_apps
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 6
Act PV 6
Max PE per PV 8631
VGDA 12
PE Size (Mbytes) 4
Total PE 32361
Alloc PE 32314
Free PE 47
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

TommyT
Valued Contributor

Re: Hi All I am unable to extend the logical volume?

Hi.
As Peter said you don't have any free disk space.
Free PE is 47...
PE size 4meg
total free space on disk = 4 * 47 = 188 meg

regards
/T
tompa
Senthil Kumar .A_1
Honored Contributor

Re: Hi All I am unable to extend the logical volume?

Hi Sudhaadm,

How much are you trying to increase.
you can't increase the space more than 188MB, unless you add a new disk to ur VG.

Please provide us the command syntax you tried to use in this thread so that we can confirm you why you received the error. Also paste the error message exactly over here.

Regards,
Senthil.
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Geoff Wild
Honored Contributor
Solution

Re: Hi All I am unable to extend the logical volume?

Strict isn't the problem - only if it was strict/contiguous...

As others have stated - you need to add another disk to the volume group - or only extend by 188 MB...

Example, you could increase /dev/vg01_apps/lvbilink like so:

lvextend -L 81688 /dev/vg01_apps/lvbilink
fsadm -b 81688M /yourmountpointforthelvol

Course, that is if you have online jfs...

Otherwise, you have to un mount, and use extendfs....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
AshishJain_USA
Frequent Advisor

Re: Hi All I am unable to extend the logical volume?

U can always do an lvextend on the specified lvol and increase the size by an additional 188MB ( 47*4). However, if u don't have online JFS, u will have to unmount the filesystem and then run extendfs.

rgds...Ashish
Sudhaadm
Regular Advisor

Re: Hi All I am unable to extend the logical volume?

Hi all,
Thanks for the great support.