我刚刚设置了一台服务器,里面有10块同型号的硬盘,它们连接到华南智X99-AD3主板上(https://www.amazon.com/HELLOLAND-HUANANZHI-Motherboard-Supported-Supports/dp/B082W24TBR)。dmesg | grep SATA
显示它们都处于6.0Gbps模式。
[manjaro bht]# dmesg | grep SATA
[ 4.868372] ahci 0000:00:11.4: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[ 4.897174] ata1: SATA max UDMA/133 abar m2048@0xfb419000 port 0xfb419100 irq 33
[ 4.897176] ata2: SATA max UDMA/133 abar m2048@0xfb419000 port 0xfb419180 irq 33
[ 4.897177] ata3: SATA max UDMA/133 abar m2048@0xfb419000 port 0xfb419200 irq 33
[ 4.897179] ata4: SATA max UDMA/133 abar m2048@0xfb419000 port 0xfb419280 irq 33
[ 4.897410] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x3f impl SATA mode
[ 4.947537] ata5: SATA max UDMA/133 abar m2048@0xfb416000 port 0xfb416100 irq 34
[ 4.947538] ata6: SATA max UDMA/133 abar m2048@0xfb416000 port 0xfb416180 irq 34
[ 4.947540] ata7: SATA max UDMA/133 abar m2048@0xfb416000 port 0xfb416200 irq 34
[ 4.947541] ata8: SATA max UDMA/133 abar m2048@0xfb416000 port 0xfb416280 irq 34
[ 4.947542] ata9: SATA max UDMA/133 abar m2048@0xfb416000 port 0xfb416300 irq 34
[ 4.947544] ata10: SATA max UDMA/133 abar m2048@0xfb416000 port 0xfb416380 irq 34
[ 5.210474] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.210497] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.210519] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.210538] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.260458] ata10: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.260478] ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.260498] ata8: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.260518] ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.260537] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 5.260554] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
我正在用 bht 运行多个 badblocks 测试(https://github.com/ezonakiusagi/bht) 在这些驱动器上,我注意到其中四个硬盘比其他六个硬盘慢。请注意,虽然经过的时间相同,但四个磁盘的进度比其他六个磁盘少得多。
[manjaro bht]# ./bht --status
WDCWD120EMFZ-11A6JA0_X1G6H9LL:
badblocks[Reading and comparing 54.27% done, 31:15:19 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=1]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_QGGDS91T:
badblocks[Reading and comparing 56.07% done, 31:15:19 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=1]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_XHG0J1MD:
badblocks[Reading and comparing 54.20% done, 31:15:20 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=1]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_QGG3AB2T:
badblocks[Reading and comparing 54.56% done, 31:15:20 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=1]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_QGH5V04T:
badblocks[Reading and comparing 53.53% done, 31:15:20 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=1]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_QGGE07HT:
badblocks[Reading and comparing 57.00% done, 31:15:21 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=1]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_X1G502KL:
badblocks[Reading and comparing 4.50% done, 31:15:21 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=0]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_X1G9TYHL:
badblocks[Reading and comparing 3.96% done, 31:15:22 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=0]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_QGGL1ZVT:
badblocks[Reading and comparing 5.29% done, 31:15:22 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=1]
SMART:[Multi_Zone_Error_Rate=0]
WDCWD120EMFZ-11A6JA0_XHG0VRYD:
badblocks[Reading and comparing 4.00% done, 31:15:22 elapsed. (0/0/0 errors)]
HDD Type:[SATA]
SMART:[Reallocated_Sector_Ct=0]
SMART:[Power_On_Hours=1]
SMART:[Multi_Zone_Error_Rate=0]
我注意到在 dmesg 输出中,四个磁盘已连接到,0000:00:11.4
而其他六个磁盘已连接到0000:00:1f.2
。lspci 显示以下内容:
00:11.4 SATA controller: Intel Corporation C610/X99 series chipset sSATA Controller [AHCI mode] (rev 05)
00:1f.2 SATA controller: Intel Corporation C610/X99 series chipset 6-Port SATA Controller [AHCI mode] (rev 05)
它显示一个叫做sSATA Controller
,另一个叫做6-Port SATA Controller
。有什么区别?我仍然想知道这四个驱动器速度慢得多的根本原因是什么?云我修复它?
以下是完整输出lspci -vvv
https://pastebin.com/R4TFwGq7和lspci -tv
https://pastebin.com/3w73uZK9