Resizing volumes on Ubuntu Server
01 February 2022 Updated on
I recently created a new Ubuntu Server VM and failed to make the virtual hard disk big enough. Despite the solution being simple, I spent some time this morning wrestling with finding the correct method to fix this, so am documenting it here for future use.
Firstly, resize the virtual hard disk. In VirtualBox, which I am using, this is done in Tools > Hard disks > Size. From there, you need to resize the physical volume.