Virtualbox returning errorID=BLKCACHE_IOERR

davzaman picture davzaman · Jul 4, 2014 · Viewed 33.3k times · Source

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.

Answer

borchvm picture borchvm · May 27, 2016

The solution is simply to enable the cache I/O host. It can be activated in the configuration of the machine, Storage »SATA Controller" Use the cache I/O host (all other values are those used by default VirtualBox). After this change the error disappears

example screenshot