Operating System - HP-UX
1757081 Members
2528 Online
108858 Solutions
New Discussion юеВ

Can not increase size on lv

 
SOLVED
Go to solution

Can not increase size on lv

Hi

I added 5 disks in a VG follow all procedures:
ioscan-FnC, insf-e pvcreate and lvextend
But in the lvextend'm getting the following message:
lvextend: Not enough free physical extents available
Logical volume "/ dev/vguxd01/lv_restore" could Not Be Extended.
VG Information:
vgdisplay vguxd01
--- Volume groups ---
VG Name /dev/vguxd01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 17
Open LV 17
Max PV 16
Cur PV 8
Act PV 8
Max PE per PV 8959
VGDA 16
PE Size (Mbytes) 4
Total PE 71664
Alloc PE 26855
Free PE 44809
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

LV information

vdisplay /dev/vguxd01/lv_restore
--- Logical volumes ---
LV Name /dev/vguxd01/lv_restore
VG Name /dev/vguxd01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 41820
Current LE 10455
Allocated PE 10455
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default

Can someone help me with some information?
Thanks.
rodriguescj
8 REPLIES 8
Hakki Aydin Ucar
Honored Contributor

Re: Can not increase size on lv

What is the command to extend LV , full syntax of lvextend ??
SoorajCleris
Honored Contributor

Re: Can not increase size on lv

Hi

From the information provided.

vgdisplay vguxd01
--- Volume groups ---
VG Name /dev/vguxd01

Total PE 71664
Alloc PE 26855
Free PE 44809 ==> Shows enough PE available
Total PVG 0 ==> But no PVG defined.

-----------------
--- Logical volumes ---
LV Name /dev/vguxd01/lv_restore
VG Name /dev/vguxd01

Allocation PVG-strict/distributed ==> allocaion policy is the issue. configure it accordingly.

Regards,
Sooraj




"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie

Re: Can not increase size on lv

Sooraj,

Please

What is the correct parmenters to:

Allocation PVG-strict/distributed

?

Thanks
rodriguescj
SoorajCleris
Honored Contributor

Re: Can not increase size on lv

Hi,

Which is your Operating system version?

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: Can not increase size on lv

Please go throuhg

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02023734/c02023734.pdf

Page 42

============
#man lvmpvg

============
#man lvchange

check allocation policies
=================================

Up to your requirement , you may create PVGgroup. I dont know if it is really useful your environment.

if it is not required , you may change the prolicies to nonstrict nondistributed..


When the distributed allocation policy
is turned off, all available free
extents are allocated from each
available physical volume before
proceeding to the next available
physical volume.


The distributed allocation policy
REQUIRES the PVG-strict allocation
policy ( -s g ) to ensure that mirrors
of distributed extents do not overlap
(for maximum availability).

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: Can not increase size on lv

http://forums11.itrc.hp.com/service/forums/helptips.do?#28
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie

Re: Can not increase size on lv

Hello All

Thanks for your answers.

I changed the file / etc / lvmpvg, and then added the VG and extendlv extendfs and was successful.
Thanks
rodriguescj
SoorajCleris
Honored Contributor
Solution

Re: Can not increase size on lv

Hi,

"You have assigned points to 0 of 81 responses to your questions".

Would you mind if I request you to assign points if the answers helped you to resolve the issue??

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie