Operating System - HP-UX
1752803 Members
5615 Online
108789 Solutions
New Discussion юеВ

Re: warning!! in lvextend

 
SOLVED
Go to solution
Jairo Campana
Trusted Contributor

warning!! in lvextend

as it is limits ?
I can have problems ?

nms1 # lvextend -L 1750 /dev/vg00/lvol11
Warning: rounding up logical volume size to extent boundary at size "1752" MB.
Logical volume "/dev/vg00/lvol11" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
legionx
6 REPLIES 6
Colin Topliss
Esteemed Contributor
Solution

Re: warning!! in lvextend

Nope - will cause you no problems.

If you have Online JFS and you're about to fsadm the filesystem, just remember that you'll be doing:

fsadm -F vxfs -b 1794048

where 1794048 = size of lvol (1752, the rounded up size) * 1024

Col.
erics_1
Honored Contributor

Re: warning!! in lvextend

Jairo,

This is simply a reminder that lvm will extend the lvol to the next multiple you specified in relation to the PE size. The default PE size is 4mb. Since you specified 1750 which is not a multiple of 4, lvm is telling you that the size will actually be 1752mb. You wouldn't be able to allocate 'part' of an extent. Nothing to worry about here.

Regards,
Eric
Uday_S_Ankolekar
Honored Contributor

Re: warning!! in lvextend

No Problem It's just a warning mesage.

-USA..
Good Luck..
Michael Duthie
Trusted Contributor

Re: warning!! in lvextend

Nope just rounded up to the nearest 4Mb, bigger is better :-)
S.K. Chan
Honored Contributor

Re: warning!! in lvextend

In addition ..
If you do not want to do the math you can use the "-l" option instead of "-L" option. The "-l" option let you specify the number of logical extend. Check lvextend man pages for details.
Geoff Wild
Honored Contributor

Re: warning!! in lvextend

Another tip:

If you use the -L with lvextend, IE:

lvextend -L 4096 /dev/vg01/vlol9

then for fsadm, no need to calculate the kb's, just add a capital M:

fsadm -F vxfs -b 4096M /yuorfilesystem


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.