Here we show you how to expand an LVM volume or partition in Linux by first resizing logical volume followed by resizing the file system to take advantage of the additional space.

List your devices and partitions


List your volume group


List your logical volume


--- Logical volume ---
  LV Path                /dev/lvm/var
  LV Name                var
  VG Name                lvm
  LV UUID                8dFDdO-NTWh-nn2J-ryxX-lLzy-9gfU-rMtYql
  LV Write Access        read/write
  LV Creation host, time localhost, 2018-10-21 13:49:47 +0200
  LV Status              available
  # open                 1
  LV Size                10.00 GiB
  Current LE             2560
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:5

Resize the LV

lvextend -L+3.7G /dev/lvm/usr
lvextend -L 15G /dev/lvm/usr

Resize the file system

 resize2fs /dev/lvm/var