After expanding the size of the disk on my Proxmox hypervisor from 8GB to 18GB I am trying to see this new space on my Ubuntu 20.04 VM:
These are the commands I'd run on the VM
# Physical volume is called /dev/sda3
sudo pvs
# resize the Physical Volume (PV)
sudo pvresize /dev/sda3
# root logical volume is
df -h
# expand the logical volume
sudo lvextend -r -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
# resize my number 3 partition (this gave me 17GB on sda3)
sudo growpart /dev/sda 3
I can see it on the sda3 partition!
Want to see the 18GB on /dev/mapper/ubuntu--vg-ubuntu--lv
https://unix.stackexchange.com/a/583544 - am following these instructions
Any pointers would be great!