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
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click
here
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.
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.