首頁 美術繪圖 | 美術設計 | 熱門標籤 | 首選 | 首頁宣傳 | 近期作品 論壇: 發表 | 美術工作 | 美術比賽 | 展覽活動 | 美術相關 | 一般討論 | 美術同好 CG 討論 :: Photoshop | Painter | 3D 行動 | AMP

【 立即註冊 】 : 更改個人資料 : : 登入

會員名稱: 登入密碼: 保持登入

SmartCtl Examples: A failed SATA2 Seagate 500GB Disk

發表新主題 回覆主題 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

| 1頁, 共1
人氣點閱:8461 發表人
SmartCtl Examples: A failed SATA2 Seagate 500GB Disk 2016-11-28 19:56
/ / /

SmartCtl Examples: A failed SATA2 Seagate 500GB Disk




A good example of a failing Seagate SATA2 OEM 500GB disk,
which was only up about 2 years. No big stress on it, just treat it as external ISO image backup disk.

SMARTctrl messages that proved the SATA disk is failed or likely failling:


(1) Bad blocks reallocat fulled!

e.g.
5 Reallocated_Sector_Ct 0x0033 012 012 036 Pre-fail Always FAILING_NOW 1815


(2) UNC Error found => UNC errors denotes "UNCorrectable Errors"

e.g. 40 51 00 ba 22 61 00 Error: UNC at LBA = 0x006122ba = 6365882


(3) Short and Long S.M.A.R.T Self-Test all completed w/ "Unknown failure"

e.g.
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed: unknown failure 90% 14686 0
# 2 Short offline Completed: unknown failure 90% 14686 0




More detailed of smartctl example on a failing disk


代碼:

$ smartctl -t short /dev/sda
$ smartctl -t long  /dev/sda
$ smartctl -a /dev/sda
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.7.7-200.fc24.x86_64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Momentus 5400.6
Device Model:     ST9500325AS
Serial Number:    S2WEZ0GR
LU WWN Device Id: 5 000c50 04aef2543
Firmware Version: 0001SDM1
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Mon Nov 28 19:44:41 2016 CST
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: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (  73) The previous self-test completed having
                                        a test element that failed and the test
                                        element that failed is not known.
Total time to complete Offline
data collection:                (    0) seconds.
Offline data collection
capabilities:                    (0x73) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        No 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:        ( 136) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x103b) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table 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   091   067   006    Pre-fail  Always       -       155686835
  3 Spin_Up_Time            0x0003   099   098   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   085   085   020    Old_age   Always       -       15495
  5 Reallocated_Sector_Ct   0x0033   012   012   036    Pre-fail  Always   FAILING_NOW 1815
  7 Seek_Error_Rate         0x000f   075   060   030    Pre-fail  Always       -       29935035
  9 Power_On_Hours          0x0032   084   084   000    Old_age   Always       -       14686
10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1670
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       65535
188 Command_Timeout         0x0032   099   093   000    Old_age   Always       -       193276477500
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   068   053   045    Old_age   Always       -       32 (Min/Max 31/32)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       27
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       3
193 Load_Cycle_Count        0x0032   083   083   000    Old_age   Always       -       35389
194 Temperature_Celsius     0x0022   032   047   000    Old_age   Always       -       32 (0 18 0 0 0)
195 Hardware_ECC_Recovered  0x001a   047   042   000    Old_age   Always       -       155686835
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       91
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       91
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       1
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 14971 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 14971 occurred at disk power-on lifetime: 14686 hours ( 611 days + 22 hours )
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ba 22 61 00  Error: UNC at LBA = 0x006122ba = 6365882

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 00 00 22 61 40 00      00:07:18.095  READ FPDMA QUEUED
  25 03 08 78 08 60 40 00      00:07:17.805  READ DMA EXT
  ef 03 46 78 08 60 00 00      00:07:17.756  SET FEATURES [Set transfer mode]
  ef 03 0c 78 08 60 00 00      00:07:17.756  SET FEATURES [Set transfer mode]
  ec 08 70 78 08 60 00 00      00:07:17.755  IDENTIFY DEVICE

Error 14970 occurred at disk power-on lifetime: 14685 hours ( 611 days + 21 hours )
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ba 22 61 00  Error: UNC at LBA = 0x006122ba = 6365882

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 00 00 0b 61 40 00      00:01:41.053  READ FPDMA QUEUED
  60 00 00 00 0a 61 40 00      00:01:41.017  READ FPDMA QUEUED
  60 00 00 00 04 61 40 00      00:01:39.673  READ FPDMA QUEUED
  60 00 00 00 f4 60 40 00      00:01:17.130  READ FPDMA QUEUED
  60 00 00 00 f3 60 40 00      00:01:12.492  READ FPDMA QUEUED

Error 14969 occurred at disk power-on lifetime: 14685 hours ( 611 days + 21 hours )
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ba 22 61 00  Error: UNC at LBA = 0x006122ba = 6365882

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 80 80 22 61 40 00      00:01:42.971  READ DMA EXT
  25 03 80 00 22 61 40 00      00:01:42.894  READ DMA EXT
  25 03 02 30 22 61 40 00      00:01:42.875  READ DMA EXT
  25 03 01 00 00 00 40 00      00:01:42.760  READ DMA EXT
  25 03 80 80 22 61 40 00      00:01:40.285  READ DMA EXT

Error 14968 occurred at disk power-on lifetime: 14685 hours ( 611 days + 21 hours )
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ba 22 61 00  Error: UNC at LBA = 0x006122ba = 6365882

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 80 80 22 61 40 00      00:01:40.285  READ DMA EXT
  25 03 80 00 22 61 40 00      00:01:40.207  READ DMA EXT
  25 03 02 2e 22 61 40 00      00:01:40.108  READ DMA EXT
  25 03 80 80 22 61 40 00      00:01:37.633  READ DMA EXT
  25 03 80 00 22 61 40 00      00:01:37.555  READ DMA EXT

Error 14967 occurred at disk power-on lifetime: 14685 hours ( 611 days + 21 hours )
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ba 22 61 00  Error: UNC at LBA = 0x006122ba = 6365882

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 80 80 22 61 40 00      00:01:37.633  READ DMA EXT
  25 03 80 00 22 61 40 00      00:01:37.555  READ DMA EXT
  25 03 02 2c 22 61 40 00      00:01:37.466  READ DMA EXT
  25 03 80 80 22 61 40 00      00:01:35.179  READ DMA EXT
  25 03 80 00 22 61 40 00      00:01:35.101  READ DMA EXT

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: unknown failure    90%     14686         0
# 2  Short offline       Completed: unknown failure    90%     14686         0

SMART Selective self-test log data structure revision number 1
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.


Smartctl-linux-example-failed-disk.jpg
Smartctl-linux-example-failed-disk.jpg



________________

美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
Type



繪圖畫廊設計藝廊
攝影相簿留言板
最愛收藏分類標籤
暱稱: Type
註冊: 2002-11-30
發表: 11171
來自: vovo2000.com
V幣: 901757





資訊相關理論、技術、管理、應用、產品等
發表新主題 回覆主題