Error ID: BLKCACHE_IOERR

Discussions related to using VirtualBox on Linux hosts.
khiar
Posts: 8
Joined: 26. Jul 2012, 21:19

Error ID: BLKCACHE_IOERR

Post by khiar »

During the installation of guest os (ubuntu 12.04 64bit), I get this error

Code: Select all

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_DISK_FULL). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Error ID: BLKCACHE_IOERR
Severity: Non-Fatal Error
Actually there is plenty of space (27GB). Also the ubuntu installer at the first step confirmed that more than 4.5GB space is available. So what does this error mean exaclty?

VB: 4.1.18 r78361
host: scientific linux (carbon)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error ID: BLKCACHE_IOERR

Post by Perryg »

Post the results of df -h from the host terminal.
khiar
Posts: 8
Joined: 26. Jul 2012, 21:19

Re: Error ID: BLKCACHE_IOERR

Post by khiar »

Well the problem has been fixed by using a fixed size VDI file instead of dynamic one.
I think there is some bugs in the dynamic VDI file because after receiving the error, I checked the size of VDI file and it was 2GB.
However there is no problem with fixe size VDI file
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error ID: BLKCACHE_IOERR

Post by mpack »

Just about every VirtualBox user uses dynamic VDI. Strange that no one else has reported a bug.

Was your fixed disk on the same partition as the dynamic one?
pslechta
Posts: 4
Joined: 6. Aug 2012, 15:47

Re: Error ID: BLKCACHE_IOERR

Post by pslechta »

I am getting this same error on windows and I have plenty of space.

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_UNRESOLVED_ERROR). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Error ID: BLKCACHE_IOERR
Severity: Non-Fatal Error
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error ID: BLKCACHE_IOERR

Post by mpack »

The VM log file is generally required before we can investigate problems of this sort. Post as .zip attachment please.

A common mistake is to locate the VDI on a FAT32 volume, forgetting that FAT32 limits files to 4GB max.
pslechta
Posts: 4
Joined: 6. Aug 2012, 15:47

Re: Error ID: BLKCACHE_IOERR

Post by pslechta »

Happened again when I left the VM idle for lunch.

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_UNRESOLVED_ERROR). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Error ID: BLKCACHE_IOERR
Severity: Non-Fatal Error
Attachments
Logs.zip
VM Logs
(78.95 KiB) Downloaded 261 times
pslechta
Posts: 4
Joined: 6. Aug 2012, 15:47

Re: Error ID: BLKCACHE_IOERR

Post by pslechta »

My file system is NTFS and I have 35 GB available.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error ID: BLKCACHE_IOERR

Post by mpack »

There is no need to post logs from multiple sessions. Only one log (which shows the problem) is needed.
VBox.log wrote: 01:08:35.800897 RTC: period=0x200 (512) 64 Hz
01:28:44.696229 AIO/win: Request 0x0000000e91d7d0 returned rc=VERR_UNRESOLVED_ERROR (native 665
01:28:44.696237 )AioMgr0-N: Request 0x0000000e7790f0 failed with rc=VERR_UNRESOLVED_ERROR, migrating endpoint C:\Users\pslechta.DIGITILITIPROD\VirtualBox VMs\Dev_Win7 x64 VS2010\Win7x64 Dev VS2010-disk1.vmdk to failsafe manager.
01:28:44.696393 AIO/win: Request 0x0000000e91c7d0 returned rc=VERR_UNRESOLVED_ERROR (native 665
01:28:44.696396 )AIO/win: Request 0x0000000e9de4a0 returned rc=VERR_UNRESOLVED_ERROR (native 665
01:28:44.696418 )AIO/win: Request 0x0000000e91d050 returned rc=VERR_UNRESOLVED_ERROR (native 665
01:28:44.696432 )AIO/win: Request 0x0000000e9dd520 returned rc=VERR_UNRESOLVED_ERROR (native 665
01:28:44.696443 )AIO/win: Request 0x000000082ba420 returned rc=VERR_UNRESOLVED_ERROR (native 665
Beats me! Perhaps someone else recognizes this.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error ID: BLKCACHE_IOERR

Post by Perryg »

If you enable the hosts IO/Cache for the sata controller in the guest settings do the errors go away?

If so I would post a ticket at bugtracker
pslechta
Posts: 4
Joined: 6. Aug 2012, 15:47

Re: Error ID: BLKCACHE_IOERR

Post by pslechta »

I am getting this issue again on a new Virtual box.



The I/O cache encountered an error while updating data in medium "ahci-0-0" (rc=VERR_UNRESOLVED_ERROR). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Error ID: BLKCACHE_IOERR
Severity: Non-Fatal Error


Anyone know why?
Attachments
Untitled.png
Untitled.png (35.21 KiB) Viewed 50983 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error ID: BLKCACHE_IOERR

Post by mpack »

Well, Perry's question above remains unanswered.
AliasRecord
Posts: 2
Joined: 14. Apr 2013, 05:23

Re: Error ID: BLKCACHE_IOERR

Post by AliasRecord »

+1

Am seeing the EXACT same issue. 273 GB Free. 4GB RAM VM / Win7
SATA III HD

...investigating...
AliasRecord
Posts: 2
Joined: 14. Apr 2013, 05:23

Re: Error ID: BLKCACHE_IOERR

Post by AliasRecord »

May have fixed the issue - but I don't know for sure. I examined the disk I was / am storing all my VM's on and found that I had marked or it was marked as "compressable" So I removed the attribute and so far...no issues.

Having said that - Virtual Box updated to ver. 4.2.12 -

I also ran chkdsk /x on system drive - it said it found some clusters marked allocated that were free. And it completed ok (fixed) - so, we will see.
ahmed_eld
Posts: 1
Joined: 29. Jun 2016, 17:43

Re: Error ID: BLKCACHE_IOERR

Post by ahmed_eld »

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

coppied from:--
stack overflow-" Virtualbox returning errorID=BLKCACHE_IOERR "
Post Reply