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: 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中的ARP防火墙主要用于防御ARP欺骗攻击,其效果取决于多...
insmod和modprobe加-f参数导致Invalid module format错误 这...
将ArchLinux安装到U盘 几个月前入门Arch的时候上网搜了不少安...
1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...