Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了linux – 什么会导致“设备未准备好(errno = -16),强制硬复位?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

kernel: [7179486.983633] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) kernel: [7179492.314726] ata1: link is slow to respond, please be patient (ready=0) kernel: [7179497.408202] ata1:
kernel: [7179486.983633] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
kernel: [7179492.314726] ata1: link is slow to respond,please be patient (ready=0)
kernel: [7179497.408202] ata1: device not ready (errno=-16),forcing hardreset
kernel: [7179497.408217] ata1: soft resetTing link
kernel: [7179500.160267] ata1.00: configured for UDMA/133
kernel: [7179500.160267] ata1: EH complete
kernel: [7179500.164272] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
kernel: [7179500.164272] sd 0:0:0:0: [sda] Write Protect is off

这些是我们在运行MysqL,apache和一些其他Web程序的服务器上获得的消息.

任何建议将不胜感激!

解决方法

看起来你的硬盘有一个打嗝,并且在内核需要的时候没有响应.如果这是一次性事件,我不会太担心,因为看起来在重置后,操作完成了.如果经常发生,我会虑更换你的硬盘.调查smartctl工具以检查硬盘的运行状况.我希望您在此服务器上使用RAID,因此您的磁盘不是单点故障.

大佬总结

以上是大佬教程为你收集整理的linux – 什么会导致“设备未准备好(errno = -16),强制硬复位?全部内容,希望文章能够帮你解决linux – 什么会导致“设备未准备好(errno = -16),强制硬复位?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。