首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在我的驱动器上运行smartctl,不确定这是好是坏

在我的驱动器上运行smartctl,不确定这是好是坏
EN

Server Fault用户
提问于 2015-12-28 16:55:39
回答 2查看 375关注 0票数 0

我在我的合成光盘站的驱动器上出了问题。我在/var/log/消息中看到了以下错误:

代码语言:javascript
复制
 ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
 ata6.00: failed command: SMART
 ata6.00: cmd b0/d0:01:00:4f:c2/00:00:00:00:00/00 tag 0 pio 512 in
          res 40/00:01:06:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
 ata6.00: status: { DRDY }

我不知道这意味着什么,但似乎存在一个问题,而且我的磁盘阵列由于100%的IO等待而无法使用,所以我想这可能是罪魁祸首。

然后,我对此运行了smartctl -a,并获得了以下输出:

代码语言:javascript
复制
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (  584) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 335) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x3085) SCT Status supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   111   099   006    Pre-fail  Always       -       30661384
  3 Spin_Up_Time            0x0003   094   094   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       52
  5 Reallocated_Sector_Ct   0x0033   085   085   010    Pre-fail  Always       -       19440
  7 Seek_Error_Rate         0x000f   061   060   030    Pre-fail  Always       -       47258538769
  9 Power_On_Hours          0x0032   089   089   000    Old_age   Always       -       10454
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       51
183 Runtime_Bad_Block       0x0032   092   092   000    Old_age   Always       -       8
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   001   001   000    Old_age   Always       -       5384 5388 5388
189 High_Fly_Writes         0x003a   080   080   000    Old_age   Always       -       20
190 Airflow_Temperature_Cel 0x0022   072   046   045    Old_age   Always       -       28 (Min/Max 28/31)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       49
193 Load_Cycle_Count        0x0032   094   094   000    Old_age   Always       -       12043
194 Temperature_Celsius     0x0022   028   054   000    Old_age   Always       -       28 (0 16 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       2440h+22m+08.819s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       17844897050
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       27458866514

我不明白这个输出是什么意思。有人能帮我把这个破译出来吗?我看到它说测试通过了,但我也看到了一些关于“失败前”、“老年”和表中的值似乎大于阈值的东西。

这辆车快死了吗?

EN

回答 2

Server Fault用户

回答已采纳

发布于 2015-12-29 01:47:38

与19,440重新分配扇区,你的驱动器已经在它的最后一条腿。

代码语言:javascript
复制
 5 Reallocated_Sector_Ct   0x0033   085   085   010    Pre-fail  Always       -       19440

这通常是我在旋转锈盘上看到的第一个属性。除了零原始值以外的任何其他内容都是一个潜在的问题,因为这意味着磁盘表面的部分部分在内部被标记为“坏”,并且保留的空间现在正在填补坏扇区。随着大量的重新分配扇区,您将看到性能问题,最终,丢失的数据。

在SMART将其实际显示为失败之前,它必须有更多的坏部门,但您可以肯定,它现在正在失败,应该被替换。

票数 1
EN

Server Fault用户

发布于 2015-12-29 01:25:18

原来那是驱动器。当我将驱动器从数组中移除时,即使它处于降级模式,该数组也立即可用。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/745594

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档