客户机(而非主机)的硬盘问题导致 VirtualBox 客户机卡住

客户机(而非主机)的硬盘问题导致 VirtualBox 客户机卡住

我开始在新主机上使用 VirtualBox。
第二次,其中一个客户机实例卡住了。
在我重新启动它(这需要kill -1它的进程)后,我在其系统日志中看到以下几行:

Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:80:20:11:b8/00:00:17:00:00/40 tag 16 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:88:40:11:b8/00:00:17:00:00/40 tag 17 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:90:60:11:b8/00:00:17:00:00/40 tag 18 ncq 8192 out#012         res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:98:90:11:b8/00:00:17:00:00/40 tag 19 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/20:a0:d0:11:b8/00:00:17:00:00/40 tag 20 ncq 16384 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/20:a8:00:12:b8/00:00:17:00:00/40 tag 21 ncq 16384 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/20:b0:40:12:b8/00:00:17:00:00/40 tag 22 ncq 16384 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:b8:70:12:b8/00:00:17:00:00/40 tag 23 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:c0:a0:12:b8/00:00:17:00:00/40 tag 24 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:c8:d0:12:b8/00:00:17:00:00/40 tag 25 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/20:d0:f0:12:b8/00:00:17:00:00/40 tag 26 ncq 16384 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:d8:10:0d:b8/00:00:17:00:00/40 tag 27 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:e0:e0:0c:b8/00:00:17:00:00/40 tag 28 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:e8:20:13:b8/00:00:17:00:00/40 tag 29 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: cmd 61/10:f0:50:0d:b8/00:00:17:00:00/40 tag 30 ncq 8192 out#012         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4.00: status: { DRDY }
Nov  5 21:46:25 insert-test-virtualbox kernel: ata4: hard resetting link
Nov  5 21:46:28 insert-test-virtualbox kernel: ata4: SATA link down (SStatus 1 SControl 300)
Nov  5 21:46:33 insert-test-virtualbox kernel: ata4: hard resetting link
Nov  5 21:46:35 insert-test-virtualbox kernel: ata4: SATA link down (SStatus 1 SControl 300)

VirtualBox 主机没有显示任何与 VirtualBox 或硬盘相关的问题的迹象(实际上,主机/var/log/messages没有显示任何错误)。
通过 Google 搜索,我发现非虚拟机也报告了类似的问题,但没有关于如何在 VirtualBox 客户机中解决该问题的实际说明。
关于如何解决上述问题有什么想法吗?



版本:

  • VirtualBox:5.2.20r125813
  • 来宾:CentOS Linux 版本 7.5.1804(核心)
  • 主机:CentOS Linux 版本 7.5.1804(核心)

相关内容