• Rob's side project: I recently started Gun-Forums.com and we currently have a $100 raffle - if you're into guns, join up and enter the raffle to win $100.00. Gun Forums

Is there is a way to expand LVM partition


New Member

I'm struggling with LVM partition on Debian Booster.
I cloned debian server from 16GB sdcard to 32GB card and I want to expand LVM root partition using all free space on my card.

$sudo fdisk -l
Device     Boot  Start      End  Sectors  Size Id Type
/dev/sdb1  *      2048   499711   497664  243M 83 Linux
/dev/sdb2       501758 62521343 62019586 29.6G  5 Extended
/dev/sdb5       501760 31115263 30613504 14.6G 8e Linux LVM
$sudo lvdisplay
  --- Logical volume ---
  LV Path                /dev/debian-vg/root
  LV Name                root
  VG Name                debian-vg
  LV UUID                TBX6DC-ZajH-xeEx-7zrS-zCwr-uAiE-VAL4nh
  LV Write Access        read/write
  LV Creation host, time debian, 2019-12-09 23:28:30 +0200
  LV Status              available
  # open                 1
  LV Size                14.59 GiB
  Current LE             3736
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1
$sudo vgs
 VG        #PV #LV #SN Attr   VSize  VFree
debian-vg   1   1   0 wz--n- 14.59g    0
Thanks in advance.
Last edited:


Well-Known Member

Members online