For those interested I have expanded on this fix in great detail in this video of my enlarging an Ubuntu Server on virtual box.
I find it helpful to have a virtual machine running ubuntu desktop with all the utilities needed, simply attached your servers virtual hard drive to thi smachine so it can be worked on.
https://youtu.be/Ow5Y4iqe7MQ
IMPORTNAT: This instruction will consume all free space on your VLM!
The following is a summary of what's shown in the video above:
You need Ubuntu Desktop running the following utilities:
apt-get install lvm2
apt-get install gparted
Or a GPARTED LIVE disk with LVM support.
Shut all Vboxes down.
Expand virtual disk and attached it to ubuntu desktop virtual machine.
Boot into Ubuntu Desktop with Gparted installed.
Open GPARTED and click FIX on the error that comes up.
Deactivate LVM partition.
Modify partition to max size, there should be 1MB unallocated at the end after doing this. Apply.
Activate the partition again and check for errors.
Open terminal and run super user
sudo -i
Verify that there is free space ready for allocation now:
vgdisplay
Get the path:
lvdisplay
My path is /dev/ubuntu-vg/ubuntu-lv
Fill the unallocated part of the newly expanded partition with LVM
lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
Verify the unallocated space has been consumed:
vgdisplay
MOUNT THE DRIVE UNDER DISKS NOW
Resize EXT4 filesystem that lives in the LVM to actually get the space:
resize2fs /dev/ubuntu-vg/ubuntu-lv
Verify EXT4 file system is now filling the VLM
df -hT