$ sudo vgdisplay --- Volume group --- VG Name ubuntu-vg System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 2 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 1 Max PV 0 Cur PV 1 Act PV 1 VG Size <96.95 GiB PE Size 4.00 MiB Total PE 24818 Alloc PE / Size 12409 / 48.47 GiB Free PE / Size 12409 / 48.47 GiB VG UUID zaKkwe-YemQ-dRcV-mrhe-v181-0Ixc-0KVaVL
$ sudo pvdisplay --- Physical volume --- PV Name /dev/sda3 VG Name ubuntu-vg PV Size <96.95 GiB / not usable 3.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 24818 Free PE 12409 Allocated PE 12409 PV UUID 3FWWGz-CbIQ-BI9e-vMMd-p0Hu-eWUa-rZSeK8
$ sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv resize2fs 1.47.0 (5-Feb-2023) Filesystem at /dev/mapper/ubuntu--vg-ubuntu--lv is mounted on /; on-line resizing required old_desc_blocks = 7, new_desc_blocks = 13 The filesystem on /dev/mapper/ubuntu--vg-ubuntu--lv is now 25413632 (4k) blocks long.