Expanding disk in LVM, doesn't show free space

I expanded my debian 9 running on vmware OS-disk with 100GB

The diskpace shows up in LVM, this the output of the lvdisplay command

—cut—
— Logical volume —
LV Path /dev/OS/OS
LV Name OS
VG Name OS
LV UUID dhHKyq-u1er-dCZo-TWOr-uuLt-g2eC-WEczs6
LV Write Access read/write
LV Creation host, time mycloud, 2017-03-30 13:31:37 +0200
LV Status available

open 1

LV Size 126.27 GiB
Current LE 32325
Segments 2
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:1
    —end cut—

however i do not get it available when i use the command df, this the output of df
After adding 100GB to the 30Gb disk, it still shows the ammount of free space from BEFORE the expantion

–cut—
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/OS-OS 26982268 6575892 19012712 26% /
—end cut----

when i ask vgdisplay to run, it show allso the 100GB had been added

—cut—
— Volume group —
VG Name OS
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 2
Act PV 2
VG Size 126.27 GiB
PE Size 4.00 MiB
Total PE 32325
Alloc PE / Size 32325 / 126.27 GiB
Free PE / Size 0 / 0
—end cut—

Has anybody any idea what i need to do to get the 100GB available to my “OS” disk

Kind Regards
Gerard

Hi Gerard,

It seems that you extended the logical volume, but did not resized the file system. Please review the extend logical volume step in the LVM guide, more precisely the resize2fs command.

The filesystem does not grow automatically just because it could, that must be the admin’s decision.

Thank you so much, that was exactly the step i was missing

Kind Regards
Gerard

1 Like