Virtualbox returning errorID=BLKCACHE_IOERR

macos, virtual-machine, virtualbox, virtualization

Solution

I ended up finding a fix with the help of antiduh: I cloned my old vdi into a new vdi using: `VBoxManage clonehd Linux.vdi LinuxClone.vdi` Once that happened I opened up VirtualBox and created a new VM and when it came to the Hard Disk section, instead of creating a new virtual disk I selected my existing LinuxClone.vdi file and when I started it up, it ran! I got the idea from this article.

Problem

I was using a guide in order to create a basic Jira plugin as sort of a experimental/hands-on way to get comfortable and familiar with the Jira SDK and with creating plugins regarding Listeners. I am running Ubuntu on a VM, and I followed all the steps included in the guide. My VM started to freeze, and I thought it was maybe Jira at first but now I know there is something wrong with the VM itself. I get this error: An error has occurred during virtual machine execution! The error details are shown below. You may try to correct the error and resume the virtual machine execution. The I/O cache encountered an error while updating data in medium "ahci-0-0"(rc=VERR_DEV_IO_ERROR). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards. The details say: fatal=false, errorID=BLKCACHE_IOERR I looked into the log file and this is right where it goes wrong/throws an error: 00:01:06.499361 I/O cache: Error while writing entry at offset 102912000 (110592 bytes) to medium "ahci-0-0" (rc=VERR_DEV_IO_ERROR) Not really sure what to do. I have important stuff in the VM and I really don't want to set it up all over again.

Original source