1753604 Members
6100 Online
108797 Solutions
New Discussion юеВ

Re: lvextend fails

 
Idham
Frequent Advisor

lvextend fails

Need Help...I encountered some problem while extending my LV.Kindly refer below output

>bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 211648 310608 41% /
/dev/vg00/lvol1 311296 167672 142552 54% /stand
/dev/vg00/lvol8 4718592 1613128 3081360 34% /var
/dev/vg00/lvol11 4194304 17496 3915765 0% /var/adm/crash
/dev/vg00/lvol7 5947392 2494328 3426088 42% /usr
/dev/vg00/lvol4 1048576 13520 1026992 1% /tmp
/dev/vg00/lvol6 3833856 1661000 2160416 43% /opt
/dev/vg00/lvol12 2097152 218734 1761081 11% /log
/dev/vg00/lvol5 81920 11080 70344 14% /home
/dev/vg00/lvol10 20480000 1769622 17541019 9% /appl


:>lvextend -L 102400 /dev/vg00/lvol5
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol5" could not be extended.
Failure possibly caused by strict allocation policy
camwebd01:>vxlicrep

VERITAS License Manager vxlicrep utility version 3.02.006
Copyright (C) 1996-2004 VERITAS Software Corp. All Rights reserved.

Creating a report on all VERITAS products installed on this system

-----------------***********************-----------------

License Key = 3JZH-CNP6-DP3N-RP40-4HSP-ZNPP-P
Product Name = VERITAS File System
Serial Number = 1
License Type = PERMANENT
OEM ID = 4095

Features :=
HP_OnlineJFS = Enabled

CPU Count = Not Restricted

5 REPLIES 5
SKR_1
Trusted Contributor

Re: lvextend fails

Check for the free PE extents with command

vgdisplay vg00

Thanks

SKR
Eric SAUBIGNAC
Honored Contributor

Re: lvextend fails

Bonjour ldham,

OnlineJFS has no relation with LVM admin. It will be only necessary to increase size of the FS with "fsadm" after you extend lvol5.

What is said is that you have not enough PE. So, how many free PE in vg00 (vgdisplay) ?
Now, even you could have suficient PE, allocation policy can also restricts the use of them. So what is allocation policy of lvol5 (lvdisplay) ?

Eric
Idham
Frequent Advisor

Re: lvextend fails

camwebd01:>vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 12
Open LV 12
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4328
VGDA 4
PE Size (Mbytes) 16
Total PE 8636
Alloc PE 5052
Free PE 3584
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

So..which part of output that i need to refer?
Idham
Frequent Advisor

Re: lvextend fails

Thanks I think found the cause...which is my fault..I want to extend to 1GB..

should be
lvextend -L 1024 /dev/vg00/lvol5
I forgot that value after "-L" sholud be in MB size.

Anyway thanks for the help
Idham
Frequent Advisor

Re: lvextend fails

Thanks again