- The VM needs to be powered off
- Back up your VM to usb drive or otherwise
- Delete the snapshots associated to the VM
- Expand the drive(make sure you have space on the host)
- Resize the drive within the Ubuntu vm in this case
Confirm the disk your expanding by running the command lsblk
Resizing the partition