linux – S.M.A.R.T.以前的硬盘错误还是需要更换?

前端之家收集整理的这篇文章主要介绍了linux – S.M.A.R.T.以前的硬盘错误还是需要更换?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我跑了s.m.a.r.t并想出了一些奇怪的错误,虽然磁盘非常新鲜Power_On_Minutes 427h 41m

我很好奇,这些是以前硬盘的错误吗?

  1. Error 1 occurred at disk power-on lifetime: 13729 hours (572 days + 1 hours)
  2. When the command that caused the error occurred,the device was active or idle
  3. Error 2 occurred at disk power-on lifetime: 23300 hours (970 days + 20 hours)
  4. When the command that caused the error occurred,the device was active or idle.

这是输出

  1. # smartctl --all /dev/sda
  2. smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-51-generic] (local build)
  3. Copyright (C) 2002-16,Bruce Allen,Christian Franke,www.smartmontools.org
  4.  
  5. === START OF INFORMATION SECTION ===
  6. Model Family: Toshiba 2.5" HDD MK..76GSX
  7. Device Model: TOSHIBA MK2576GSX
  8. Serial Number: Y1J9S0IGS
  9. LU WWN Device Id: 5 000039 3a5a06b8e
  10. Firmware Version: GS001A
  11. User Capacity: 250,059,350,016 bytes [250 GB]
  12. Sector Size: 512 bytes logical/physical
  13. Rotation Rate: 5400 rpm
  14. Form Factor: 2.5 inches
  15. Device is: In smartctl database [for details use: -P show]
  16. ATA Version is: ATA8-ACS (minor revision not indicated)
  17. SATA Version is: SATA 2.6,3.0 Gb/s (current: 3.0 Gb/s)
  18. Local Time is: Thu Dec 1 00:28:22 2016 GMT
  19. SMART support is: Available - device has SMART capability.
  20. SMART support is: Enabled
  21.  
  22. === START OF READ SMART DATA SECTION ===
  23. SMART overall-health self-assessment test result: PASSED
  24.  
  25. General SMART Values:
  26. Offline data collection status: (0x00) Offline data collection activity
  27. was never started.
  28. Auto Offline Data Collection: Disabled.
  29. Self-test execution status: ( 0) The prevIoUs self-test routine completed
  30. without error or no self-test has ever
  31. been run.
  32. Total time to complete Offline
  33. data collection: ( 120) seconds.
  34. Offline data collection
  35. capabilities: (0x5b) SMART execute Offline immediate.
  36. Auto Offline data collection on/off support.
  37. Suspend Offline collection upon new
  38. command.
  39. Offline surface scan supported.
  40. Self-test supported.
  41. No Conveyance Self-test supported.
  42. Selective Self-test supported.
  43. SMART capabilities: (0x0003) Saves SMART data before entering
  44. power-saving mode.
  45. Supports SMART auto save timer.
  46. Error logging capability: (0x01) Error logging supported.
  47. General Purpose Logging supported.
  48. Short self-test routine
  49. recommended polling time: ( 2) minutes.
  50. Extended self-test routine
  51. recommended polling time: ( 81) minutes.
  52. SCT capabilities: (0x003d) SCT Status supported.
  53. SCT Error Recovery Control supported.
  54. SCT Feature Control supported.
  55. SCT Data Table supported.
  56.  
  57. SMART Attributes Data Structure revision number: 16
  58. Vendor Specific SMART Attributes with Thresholds:
  59. ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_Failed RAW_VALUE
  60. 1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
  61. 2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
  62. 3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1229
  63. 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 15
  64. 5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
  65. 7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
  66. 8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
  67. 9 Power_On_Minutes 0x0032 036 036 000 Old_age Always - 427h+41m
  68. 10 Spin_Retry_Count 0x0033 100 100 030 Pre-fail Always - 0
  69. 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 7
  70. 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
  71. 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 1
  72. 193 Load_Cycle_Count 0x0032 070 070 000 Old_age Always - 304324
  73. 194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 27 (Min/Max 20/31)
  74. 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
  75. 197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
  76. 198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
  77. 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 2
  78. 220 Disk_Shift 0x0002 100 100 000 Old_age Always - 109
  79. 222 Loaded_Hours 0x0032 067 067 000 Old_age Always - 13230
  80. 223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
  81. 224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
  82. 226 Load-in_Time 0x0026 100 100 000 Old_age Always - 375
  83. 240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
  84.  
  85. SMART Error Log Version: 1
  86. ATA Error Count: 2
  87. CR = Command Register [HEX]
  88. FR = Features Register [HEX]
  89. SC = Sector Count Register [HEX]
  90. SN = Sector Number Register [HEX]
  91. CL = Cylinder Low Register [HEX]
  92. CH = Cylinder High Register [HEX]
  93. DH = Device/Head Register [HEX]
  94. DC = Device Command Register [HEX]
  95. ER = Error register [HEX]
  96. ST = Status register [HEX]
  97. Powered_Up_Time is measured from power on,and printed as
  98. DDd+hh:mm:SS.sss where DD=days,hh=hours,mm=minutes,SS=sec,and sss=millisec. It "wraps" after 49.710 days.
  99.  
  100. Error 2 occurred at disk power-on lifetime: 23300 hours (970 days + 20 hours)
  101. When the command that caused the error occurred,the device was active or idle.
  102.  
  103. After command completion occurred,registers were:
  104. ER ST SC SN CL CH DH
  105. -- -- -- -- -- -- --
  106. 84 51 01 1f 7a 05 e0 Error: ICRC,ABRT 1 sectors at LBA = 0x00057a1f = 358943
  107.  
  108. Commands leading to the command that caused the error were:
  109. CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
  110. -- -- -- -- -- -- -- -- ---------------- --------------------
  111. 35 00 00 20 76 05 e0 00 6d+01:49:26.915 WRITE DMA EXT
  112. 35 00 00 00 72 05 e0 00 6d+01:49:26.741 WRITE DMA EXT
  113. 35 00 08 80 0f 0c e0 00 6d+01:49:26.741 WRITE DMA EXT
  114. 35 00 08 48 8a c4 e0 00 6d+01:49:26.741 WRITE DMA EXT
  115. ca 00 08 00 08 14 e9 00 6d+01:49:26.741 WRITE DMA
  116.  
  117. Error 1 occurred at disk power-on lifetime: 13729 hours (572 days + 1 hours)
  118. When the command that caused the error occurred,registers were:
  119. ER ST SC SN CL CH DH
  120. -- -- -- -- -- -- --
  121. 84 51 01 3f 8c 4e e0 Error: ICRC,ABRT 1 sectors at LBA = 0x004e8c3f = 5147711
  122.  
  123. Commands leading to the command that caused the error were:
  124. CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
  125. -- -- -- -- -- -- -- -- ---------------- --------------------
  126. 35 00 00 40 88 4e e0 00 12d+21:23:20.732 WRITE DMA EXT
  127. ca 00 08 a8 48 c8 e3 00 12d+21:23:20.731 WRITE DMA
  128. 35 00 08 40 c1 1d e0 00 12d+21:23:20.731 WRITE DMA EXT
  129. 35 00 08 b0 19 14 e0 00 12d+21:23:20.731 WRITE DMA EXT
  130. 35 00 10 28 bf 13 e0 00 12d+21:23:20.731 WRITE DMA EXT
  131.  
  132. SMART Self-test log structure revision number 1
  133. No self-tests have been logged. [To run self-tests,use: smartctl -t]
  134.  
  135. SMART Selective self-test log data structure revision number 1
  136. SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
  137. 1 0 0 Not_testing
  138. 2 0 0 Not_testing
  139. 3 0 0 Not_testing
  140. 4 0 0 Not_testing
  141. 5 0 0 Not_testing
  142. Selective self-test flags (0x0):
  143. After scanning selected spans,do NOT read-scan remainder of disk.
  144. If Selective self-test is pending on power-up,resume after 0 minute delay.

这个硬盘可能很快就会发生故障并需要更换吗?

解决方法

当您轮询SMART数据时,您不是从某个缓存中获取它,而是直接从驱动器获取.它永远不会显示旧驱动器的结果.在这种情况下,您的驱动器出现故障,是时候把它扔掉了.

猜你在找的Linux相关文章