Maintained by Thijmen Heuvelink
After expanding the space on your disk ubuntu won't automatically use the entire volume, in Windows you'd open Disk Manager and do it in there. This is a bit harder to do on the terminal though.
Expanding your logical volume on your system via the following commands:
apt install -y parted
parted
2a.
2b.
resizepart
2c.
quit
pvresize /dev/sda3
lvextend /dev/ubuntu-vg/ubuntu-lv -l+100%FREE
resize2fs /dev/ubuntu-vg/ubuntu-lv
This knowledge base serves as a valuable tool to simplify installations, troubleshoot common problems and to enhance the overall developer / admin experience. mail@thijmenheuvelink.nl - all rights reserved