这个硬盘死了吗?

不知道,这是这个Q的正确网站,但让我试试

上次我有硬盘的问题。 有时它会发出奇怪的声音,我从日志中得到它:

$dmesg | grep ata4 [29409.945516] ata4.00: exception Emask 0x10 SAct 0xf SErr 0x90202 action 0xe frozen [29409.945529] ata4.00: irq_stat 0x00400000, PHY RDY changed [29409.945538] ata4: SError: { RecovComm Persist PHYRdyChg 10B8B } [29409.945546] ata4.00: failed command: READ FPDMA QUEUED [29409.945562] ata4.00: cmd 60/30:00:56:22:5f/00:00:00:00:00/40 tag 0 ncq 24576 in [29409.945573] ata4.00: status: { DRDY } [29409.945580] ata4.00: failed command: READ FPDMA QUEUED [29409.945594] ata4.00: cmd 60/18:08:8e:22:5f/00:00:00:00:00/40 tag 1 ncq 12288 in [29409.945605] ata4.00: status: { DRDY } [29409.945611] ata4.00: failed command: READ FPDMA QUEUED [29409.945625] ata4.00: cmd 60/08:10:46:02:66/00:00:00:00:00/40 tag 2 ncq 4096 in [29409.945635] ata4.00: status: { DRDY } [29409.945641] ata4.00: failed command: READ FPDMA QUEUED [29409.945656] ata4.00: cmd 60/80:18:ee:04:66/00:00:00:00:00/40 tag 3 ncq 65536 in [29409.945666] ata4.00: status: { DRDY } [29409.945679] ata4: hard resetting link [29413.976083] ata4: softreset failed (device not ready) [29413.976097] ata4: applying SB600 PMP SRST workaround and retrying [29414.148070] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [29414.184986] ata4.00: SB600 AHCI: limiting to 255 sectors per cmd [29414.243280] ata4.00: SB600 AHCI: limiting to 255 sectors per cmd [29414.243292] ata4.00: configured for UDMA/133 [29414.243324] ata4: EH complete [680674.804563] ata4: exception Emask 0x50 SAct 0x0 SErr 0x90a02 action 0xe frozen [680674.804575] ata4: irq_stat 0x00400000, PHY RDY changed [680674.804584] ata4: SError: { RecovComm Persist HostInt PHYRdyChg 10B8B } [680674.804603] ata4: hard resetting link [680678.840561] ata4: softreset failed (device not ready) 

这是ata4 SATA硬盘死了吗? 我必须尽快更改吗? 我需要指定更多的信息?

立即更换您的驱动器,特别是如果这种“奇怪的声音”是一个咔嗒声。

点击是当然的问题 ,但我发现这个问题在我们的服务器上调查类似的错误,在我们的情况下,问题不是驱动器,而是WD(Western Digital)和错误的NCQ实施的问题!

你可以阅读这些链接,看看它是否适合你的问题:

但错误(特别是这部分)看起来相似,我发现这个问题:)

 ata6.00: exception Emask 0x10 SAct 0x0 SErr 0x1810000 action 0xe frozen ata6.00: irq_stat 0x00400000, PHY RDY changed ata6: SError: { PHYRdyChg LinkSeq TrStaTrns } 

对我们而言,短期修复/testing是这样的:

 echo 1 > /sys/block/sd{a,b,c,d}/device/queue_depth 

长期来说,将它添加到黑名单,你可以阅读参考。 我没有这方面的经验,但链接2说补丁看起来像这样:

 --- a/drivers/ata/libata-core.c 2010-05-20 20:39:08.000000000 +0200 +++ b/drivers/ata/libata-core.c 2010-05-20 20:43:54.000000000 +0200 @@ -3924,6 +3924,7 @@ { "Maxtor 7V300F0", "VA111630", ATA_HORKAGE_NONCQ }, { "ST380817AS", "3.42", ATA_HORKAGE_NONCQ }, { "ST3160023AS", "3.42", ATA_HORKAGE_NONCQ }, + { "WDC WD2502ABYS-5*", NULL, ATA_HORKAGE_NONCQ }, 

我build议你改变你的硬盘。 噪音似乎是危险的。

我用SATA驱动器的解决scheme是连接驱动器到另一个连接器