Operating System - Linux
1825882 Members
2854 Online
109689 Solutions
New Discussion

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 3
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