检查linux 独立服务器是否有坏道? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
pc10201
V2EX    云计算

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

  •  
  •   pc10201 2014-01-23 15:25:17 +08:00 3345 次点击
    这是一个创建于 4351 天前的主题,其中的信息可能已经有所发展或是发生改变。
    怀疑硬盘有坏道
    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

    有没有问题啊~
    2 条回复    1970-01-01 08:00:00 +08:00
    g0t3n
        1
    g0t3n  
       2014-01-23 15:51:32 +08:00
    话说我第一反应是用ext不会有磁盘碎片,然后我才留意到楼主说的是坏道 -。-
    roricon
        2
    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一下就有答案……
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     927 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 22ms UTC 19:56 PVG 03:56 LAX 11:56 JFK 14:56
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86