I am running Ubuntu Server in VirtualBox (I am on a Mac) as a web development server. My Mysql server has stopped starting (and wont start) and I highly suspect it is because I have no disk space left so I am trying to increase the space available.
I used the disk resizer utility (VBoxManage modifyhd Ubuntu\ Server.vdi --resize 80000
) to increase the disk size and then I booted into Ubuntu live and, using GParted, created a new 30gb partition. I made it an ext2
filesystem.
But when I boot I first see that this hasn't helped:
And here is the output from fdisk -l
:
I am stuck at this part - how do I now tell my machine that it can use the new space so I don't get disk space errors?
UPDATE:
I deleted the 30gb partition I made and tried to just resize but I am unable to use Gparted to resize the partition because Gparted says lvm2 is not supported(?):