记一次帮同学修VMware Linux虚拟机的bug经历,启动后一直刷新
Assuming drive cache: write through
/dev/std1: 一堆数字 clean, 一堆数字 blocks
下意识搜索第一条,尝试了各种方案:
- CD/VCD连接
- 修改黑名单
- 修改grub文件
都没用
后来搜到一个大佬的说法:
The message "Assuming drive cache: write through"
is from sd_read_cache_type () in the kernel and
occurs when revalidating the device.
The kernel could not determine
the drive caching characteristics
so it defaulted to
assuming it could support write through
and so it emitted this message.
意思是这不是个错误,只是提示信息,于是明白了问题在第二行 /dev/std1: clean, blocks
进入root恢复模式,查看了下磁盘,发现 /dev/std1占用率100%,于是清了下VMware的缓存就可以了