Maybe it’s obvious in hindsight but you can’t just update the disk size through the dashboard. Well technically you can but there’s a bit more work to be done before it’s reflected in your VM. Just follow the steps.
Let’s 🚀
In Cloud Console
Goto Compute Engine > Disks > Edit
- Update to a different size and save
- I’m resizing mine from 10GB to 50GB
In the VM shell
1. Resize the partition
2. Get PV information
3. Resize physical volume
4. Resize Logical volume
5. Expand fs to use the space
Voilà, my disk is now utilising all the extra space I allocated through the Cloud Console earlier.