12 February 2025
Linux, CLI, StorageWhenever we are working with an LVM system, there are several steps you have to do to expand a single-PV single-VG environment...
Find the physical volume (PV) by running lsblk to list the block storage:

See the free logical space by running df -h to get the disk free in human readable format (GB):

sudo growpart /dev/sda 3sudo pvresize /dev/sda3sudo lvresize -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lvsudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv