问题
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.
回答1:
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
回答2:
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.
回答3:
I actually ran into this problem because the disk, where I save all my VM disks, was full. So I cleared some space and I was able to resume the VM.
来源:https://stackoverflow.com/questions/24564644/virtualbox-returning-errorid-blkcache-ioerr