unable to extend lv

 
guna81_m
Advisor

unable to extend lv


LV Extend Error

# lvextend -L 3000 /dev/vg00/lvol3
Warning: rounding up logical volume size to extent boundary at size "3008"
MB.
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

bdf output :

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 1048576 0 100% /
/dev/vg00/lvol1 1835008 80496 1740912 4% /stand
/dev/vg00/lvol8 6029312 2106744 3893232 35% /var
/dev/vg00/lvol7 7372800 2523848 4811128 34% /usr
/dev/vg00/lvol4 524288 16712 503616 3% /tmp
/dev/vg00/lvorastage
40960000 13324223 25908577 34% /orastage
/dev/vg00/lvoracle 2064384 16974 1919454 1% /oracle
/dev/vg00/lvoraep1 2064384 16989 1919439 1% /oracle/EP1
/dev/vg00/lvol6 7864320 3797520 4035072 48% /opt
/dev/vg00/lvol5 131072 8496 121624 7% /home


# vgdisplay -v 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 1
Act PV 1
Max PE per PV 3731
VGDA 2
PE Size (Mbytes) 32
Total PE 3721
Alloc PE 2761
Free PE 960
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0


how can i extend the lvol3 ?



9 REPLIES 9
Mridul Shrivastava
Honored Contributor

Re: unable to extend lv

You can not extend /dev/vg00/lvol3 since it is root and contiguous. If you want to increase the size the only way to take the ignite backup and install using it. At the time of install modify the filesystem sizes.

lvol1, lvol2 and lvol3 must be contiguous hence either you have to follow the above option or re-install the OS with the new filesystem sizes.
Time has a wonderful way of weeding out the trivial
Rasheed Tamton
Honored Contributor

Re: unable to extend lv

What Mridhul said above is correct. You cannot extend the root LV as it is, even though you have 30GB free space left on vg00. You have to use ignite for that.

lvdisplay /dev/vg00/lvol3
will show
Allocation strict/contiguous

The immediate thing you need to do is clean the root file system and get some free space because you have already used up the 1GB totally.

Rgds.
Mridul Shrivastava
Honored Contributor

Re: unable to extend lv

you have assigned points to 1 of 21 responses. Take some time to assign points so the person get credit in terms of credit for the time spent.

You may see more answers coming in if they see you assign points to all the posts.
Time has a wonderful way of weeding out the trivial
Sajjad Sahir
Honored Contributor

Re: unable to extend lv

Dear Mukesh

u can't increarse this logical volume because it is root
/dev/vg00/lvol3 1048576 1048576 0 100% /
if u want u have to use ignite tool

immediattely u have to decrease the file system size

thanks and regards

Sajjad Sahir
Sajjad Sahir
Honored Contributor

Re: unable to extend lv


dear Mukesh

try to find which files consuming more space
then take an action

thanks and regards
sajjad
MarkSyder
Honored Contributor

Re: unable to extend lv

Before taking drastic action such as an ignite backup and restore, check why the / filesystem has filled. The most common reason is that someone has mistyped a tape device name and created a large text file in /dev.

Also, check to see if any applications are writing to / that would be better writing to a dedicated filesystem.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
guna81_m
Advisor

Re: unable to extend lv

thanks for reply

gunasekaran
Ivan Krastev
Honored Contributor

Re: unable to extend lv

If you have OnlineJFS and MirrorDisk/UX you can extend it without any backups/restores.


regards,
ivan
guna81_m
Advisor

Re: unable to extend lv

thanks