I'm running a Linux machine on Virtualbox 6.1, My VM pauses in every 5 mins of use and log shows this error:
Console: VM runtime error: fatal=false, errorID=BLKCACHE_IOERR message="The I/O cache encountered an error while updating data in medium "ahci-0-0" (rc=VERR_IO_CRC). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards"
I've read other fixes for this problem which includes using "Settings" > "Storage" > "Use Host I/O cache", which was already marked and is in use.
Error log is attached below.
VM pauses and throws I/O cache error unexpectedly
-
- Posts: 3
- Joined: 10. Oct 2021, 11:45
VM pauses and throws I/O cache error unexpectedly
- Attachments
-
- Caretaker-2021-10-10-14-19-35.log
- (91.78 KiB) Downloaded 19 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: VM pauses and throws I/O cache error unexpectedly
This was in the end of the log:
Probably the pertinent part of the error isn't:01:59:50.523163 AioMgr0-N: Request 0x0000000184e3d0 failed with rc=VERR_IO_CRC, migrating endpoint E:\VM\Offensive\Caretaker\Snapshots/{45430121-4508-4232-a676-99aebfe6f235}.vdi to failsafe manager.
01:59:52.524526 I/O cache: Error while writing entry at offset 11888717824 (147456 bytes) to medium "ahci-0-0" (rc=VERR_IO_CRC)
01:59:52.524593 VM: Raising runtime error 'BLKCACHE_IOERR' (fFlags=0x6)
but rather:The I/O cache encountered an error
The disk being referred to is probably the host disk. Check free space on the E: drive, also run a disk check.Make sure there is enough free space on the disk and that the disk is working properly.
-
- Posts: 3
- Joined: 10. Oct 2021, 11:45
Re: VM pauses and throws I/O cache error unexpectedly
There's around 230 GB's of free disk on E: drive and "chkdsk" shows no bad sectors on E: drive.
I've attached image
I've attached image
- Attachments
-
- chkdsk on E: drive
- 2.PNG (93.99 KiB) Viewed 2174 times
-
- Posts: 3
- Joined: 10. Oct 2021, 11:45
Re: VM pauses and throws I/O cache error unexpectedly
scottgus1 wrote:This was in the end of the log:Probably the pertinent part of the error isn't:01:59:50.523163 AioMgr0-N: Request 0x0000000184e3d0 failed with rc=VERR_IO_CRC, migrating endpoint E:\VM\Offensive\Caretaker\Snapshots/{45430121-4508-4232-a676-99aebfe6f235}.vdi to failsafe manager.
01:59:52.524526 I/O cache: Error while writing entry at offset 11888717824 (147456 bytes) to medium "ahci-0-0" (rc=VERR_IO_CRC)
01:59:52.524593 VM: Raising runtime error 'BLKCACHE_IOERR' (fFlags=0x6)but rather:The I/O cache encountered an errorThe disk being referred to is probably the host disk. Check free space on the E: drive, also run a disk check.Make sure there is enough free space on the disk and that the disk is working properly.
Do I need to provide more info? Sorry I'm new to this
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: VM pauses and throws I/O cache error unexpectedly
Since you do apparently have enough disk space on the E drive and the disk passed a check-disk, then we'd have to wait until someone familiar with this kind of error comes along. I don't understand it enough to say if it will come back up again or why it happened, other than the suggestion about disk size and check.
Re: VM pauses and throws I/O cache error unexpectedly
Any update on this?
Encountering it quite often and can't seem to find a solution. Same issue - plenty of space and no bad sectors.
Encountering it quite often and can't seem to find a solution. Same issue - plenty of space and no bad sectors.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: VM pauses and throws I/O cache error unexpectedly
The only thing coming to mind now is to toggle "Use Host I/O Cache" on the VM's disk controller.