I'm running out of a hard disk on my VM and after doing some research, VMs are more performant when they have one large drives rather than multiple small drives
Here's the correct procedure to resize your disk
- Expand the partition
sudo growpart /dev/sda 3
- Resize the physical partition
sudo pvresize /dev/sda3
- Extend the logical volume
sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
- Resize the filesystem
sudo resize2fs /dev/ubuntu-vg/ubuntu-lv
- Verify the new size
df -h