Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

Logical volume extend on linux

GTFSpanneer
Frequent Advisor

Logical volume extend on linux

Hi Experts,

i am new for linux,Kinldy tell me step by step how to extend the LV in linux. And aslo i have attached DF and vgdisplay details .
3 REPLIES
Rob Leadbeater
Honored Contributor

Re: Logical volume extend on linux

Hi,

A Google search for "lvextend linux" will lead you to lots of examples.

Regards,

Rob
Modris Bremze
Esteemed Contributor

Re: Logical volume extend on linux

man lvextend
man resize2fs
FLQ
Valued Contributor

Re: Logical volume extend on linux

Hi GTFSpanneer,

lvextend -L +100G /dev/vgroot/lv_name
resize2fs /dev/vgroot/lv_name $SIZE

If the filesystem is mounted, it can be used to expand the size of the mounted
filesystem, assuming the kernel supports on-line resizing

$SIZE is in blocksize or may be suffixed by one of the following the units designators

S,K,M,G

If size parameter is not specified, it will default to the size of the partition