HDD - 8 bad sectors

0

Screenshot from "Disks" utility

Screenshot from "Logs" utility

fdisk -l /dev/sdb command gives this: fdisk: cannot open /dev/sdb: Input/output error

smartctl -a /dev/sdb returns this:

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.18.0-13-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ST2000LM007-1R8174
Serial Number:    WDZ447EV
LU WWN Device Id: 5 000c50 0a9631d82
Firmware Version: RDM1
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Dec 23 23:25:25 2018 EET
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:  (0x00) Offline data collection activity
                    was never started.
                    Auto Offline Data Collection: Disabled.
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:        (    0) seconds.
Offline data collection
capabilities:            (0x51) SMART execute Offline immediate.
                    No Auto Offline data collection support.
                    Suspend Offline collection upon new
                    command.
                    No Offline surface scan supported.
                    Self-test supported.
                    No 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:    (   2) minutes.
Extended self-test routine
recommended polling time:    ( 328) minutes.
SCT capabilities:          (0x303d) 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     0x002f   083   064   006    Pre-fail  Always       -       206647660
  3 Spin_Up_Time            0x0023   099   099   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       751
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   077   060   045    Pre-fail  Always       -       17381474631
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       3407 (214 118 0)
 10 Spin_Retry_Count        0x0033   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       691
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   070   047   040    Old_age   Always       -       30 (Min/Max 27/31)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       197
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       38
193 Load_Cycle_Count        0x0032   082   082   000    Old_age   Always       -       36047
194 Temperature_Celsius     0x0022   030   053   000    Old_age   Always       -       30 (0 14 0 0 0)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       8
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 223 (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 223 occurred at disk power-on lifetime: 3356 hours (139 days + 20 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 00 00 00 00  Error: UNC at LBA = 0x00000000 = 0

  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 00 01 00 00 00 40 00      01:13:14.487  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.471  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.333  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.256  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.172  READ DMA EXT

Error 222 occurred at disk power-on lifetime: 3356 hours (139 days + 20 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 00 00 00 00  Error: UNC at LBA = 0x00000000 = 0

  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 00 01 00 00 00 40 00      01:13:14.487  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.471  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.333  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.256  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.172  READ DMA EXT

Error 221 occurred at disk power-on lifetime: 3356 hours (139 days + 20 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 00 00 00 00  Error: UNC at LBA = 0x00000000 = 0

  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 00 01 00 00 00 40 00      01:13:14.471  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.333  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.256  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.172  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.084  READ DMA EXT

Error 220 occurred at disk power-on lifetime: 3356 hours (139 days + 20 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 00 00 00 00  Error: UNC at LBA = 0x00000000 = 0

  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 00 01 00 00 00 40 00      01:13:14.333  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.256  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.172  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.084  READ DMA EXT
  b0 d0 00 00 4f c2 00 00      01:13:11.036  SMART READ DATA

Error 219 occurred at disk power-on lifetime: 3356 hours (139 days + 20 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 00 00 00 00  Error: UNC at LBA = 0x00000000 = 0

  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 00 01 00 00 00 40 00      01:13:14.256  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.172  READ DMA EXT
  25 00 01 00 00 00 40 00      01:13:14.084  READ DMA EXT
  b0 d0 00 00 4f c2 00 00      01:13:11.036  SMART READ DATA
  b0 d0 00 00 4f c2 00 00      01:13:02.378  SMART READ DATA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Aborted by host               50%      3367         -
# 2  Extended offline    Completed: read failure       90%      3355         450623616
# 3  Extended offline    Completed: read failure       90%      3351         450623616
# 4  Short offline       Completed without error       00%      3351         -

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.

In Windows nor Device Manager nor Disk Manager show the drive. Only Ubuntu can see the drive. Is there any way to fix it ?

linux
ubuntu
hard-drive
bad-sectors
asked on Super User Dec 23, 2018 by Ben Wick • edited Dec 23, 2018 by Ben Wick

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0