检查linux 独立服务器是否有坏道?

2014-01-23 15:25:17 +08:00
 pc10201
怀疑硬盘有坏道
smartctl -i /dev/sda

smartctl 6.2 2013-07-26 r3841 [x86_64-linux-2.6.32-358.el6.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: ST3300657SS
Revision: ES65
User Capacity: 300,000,000,000 bytes [300 GB]
Logical block size: 512 bytes
Rotation Rate: 15000 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000c50053fea3df
Serial number: 6SJ5EC00
Device type: disk
Transport protocol: SAS
Local Time is: Fri Jan 24 07:24:03 2014 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Disabled or Not Supported

smartctl -A /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-2.6.32-358.el6.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 44 C
Drive Trip Temperature: 68 C

Elements in grown defect list: 0

Vendor (Seagate) cache information
Blocks sent to initiator = 1480572787
Blocks received from initiator = 173844165
Blocks read from cache and sent to initiator = 567678030
Number of read and write commands whose size <= segment size = 281573697
Number of read and write commands whose size > segment size = 0

Vendor (Seagate/Hitachi) factory information
number of hours powered up = 13305.70
number of minutes until next internal SMART test = 15

[root@rdo smartmontools-6.2]# smartctl -l error /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-2.6.32-358.el6.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 246107968 1 0 246107969 246107969 16012.097 0
write: 0 0 0 0 0 4557.809 0
verify: 38978 0 0 38978 38978 6.000 0

Non-medium error count: 1

有没有问题啊~
3006 次点击
所在节点    云计算
2 条回复
g0t3n
2014-01-23 15:51:32 +08:00
话说我第一反应是用ext不会有磁盘碎片,然后我才留意到楼主说的是坏道 -。-
roricon
2014-01-23 16:16:23 +08:00
http://www.howtogeek.com/howto/37659/the-beginners-guide-to-linux-disk-utilities/
查找 Bad block 这段

这种问题google一下就有答案……

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/98107

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX