System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

logical vvolume increase problem

SOLVED
Go to solution
Asif_8
Regular Advisor

logical vvolume increase problem

vgdisplay show
Space Available in Volume Group (Mbytes): 143552
when I try to increase dev/vg00/lvol3 volume i got following error

lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol3" could not be extended
Failure possibly caused by contiguous allocation policy.
Failure possibly caused by strict allocation policy
6 REPLIES
Johnson Punniyalingam
Honored Contributor
Solution

Re: logical vvolume increase problem

bdf /dev/vg00/lvol3 ? -

why do you need to increase ?
looks like are you trying to extend / file system ?

You can't do that you need use Ignite option to increase the / file system
Problems are common to all, but attitude makes the difference
Asif_8
Regular Advisor

Re: logical vvolume increase problem

my file sytem 94% full

/dev/vg00/lvol3 1015808 956984 58400 94% /

Johnson Punniyalingam
Honored Contributor

Re: logical vvolume increase problem

>>my file sytem 94% full

/dev/vg00/lvol3 1015808 956984 58400 94% /<<

You can't extend / root file system , becoz its contiguous.

so we need find out why /94 %

please can you try couple of things

Need to check any core files created ?
=====================================

cd /

ll core*

look for file large files create
==================================

find / -xdev -type f -size +5000000c -exec ll {} \; | sort -nk 5
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: logical vvolume increase problem

Hi Asif,

I'll be going out for dinner. mean time

you need check below thread, especially on "Bills" comments to check .

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1257598576791+28353475&threadId=842012

Hope this helps :)

Best Regards,
Johnson
Problems are common to all, but attitude makes the difference
Rahul Rai_1
Frequent Advisor

Re: logical vvolume increase problem

Hello Asif,

we can not increase root fs easily, and I can see, your root fs is near to 1 gig and it quite ok, what you need to do, just check core/crash files if it is there then remove it first, there is few things which you need to remember:- check if /var is not a seperate fs, then search under

#/var/adm

and move any unwanted files from there,

# find / -xdev -size +1000 -exec ll {} \;

and go with Johnson`s thread that will be quite helpfull for your issue.

Regards,
Rahul Rai.
sujit kumar singh
Honored Contributor

Re: logical vvolume increase problem

hi


LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 15360
Current LE 480
Allocated PE 960
Used PV 2

--- Physical volumes ---
PV Name /dev/dsk/c0t0d0s2
PV Status available
Total PE 4346
Free PE 2243
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c0t2d0s2
PV Status available
Total PE 4346
Free PE 2243
Autoswitch On
Proactive Polling On


you can do a pvmove of the lvol4(15360MB) to move that to the available that is 32*2243 MB, once that done you can increase the /dev/vg00/lvol3 that is root LV as that needs to have contiguous free space behind that to faclilitate the extension.

take the system to the LVM maintenance mode,
do
pvmove -n /dev/vg00/lvol4
lvextend -L NEW_SIZE_in_MB_should_be_less_than_or_equla_to_present_size_of_lvol3+15360MB /dev/vg00/lvol3.
extendfs /dev/vg00/rlvol3.


Ensure that you have an Ignite of the system available before performing the same.


regards
sujit