这个硬盘坏了吗?

这个硬盘坏了吗?

不确定,这个网站是否适合回答这个问题,但让我试试

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

$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 硬盘坏了吗?我必须尽快更换它吗?我需要提供更多信息吗?

答案1

立即更换您的驱动器,尤其是当“奇怪的声音”是咔哒声时。

答案2

点击当然是一个问题,但我发现这个问题调查了我们服务器上的类似错误,在我们的案例中,问题不是驱动器,而是 WD(西部数据)的问题和错误的 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 }

对于我们来说,短期修复/测试是这样的:

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 },

答案3

我建议你更换硬盘。噪音似乎很危险。

答案4

我的解决方案是将 SATA 驱动器连接到另一个连接器

相关内容