How to deal with defect block
bege <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
Hi, a week ago on two consecutive days the syslog reported a defect block on the internal HDD (attached). Of course smartd noticed about the SMART attribute Current Pending Sector Count: 1 Now I receive a smartd warning after every selftest of the HDD, because the number of failed self tests increased (attached). What I read about reallocating the defect block under Windows 7 I must admit I did not right understand. As far as I understood the disk reallocates the block after some time. After a week this did not happen yet. I tried the tool that came with smartmontools for windows (fix_badsectors.cmd with dd.exe). But that corrupted the boot partition (system not found at boot) and didn't change the SMART attributes. So I recovered the boot partition. Please, can someone give me advice with dealing with that problem? Thank you very much. Regards Bernd ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Smartmontools-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartmontools-support
syslog.txt
(text/plain, 1.1 KB)
Protokollname: System
Quelle: Disk
Datum: 13.07.2014 18:16:23
Ereignis-ID: 7
Aufgabenkategorie:Keine
Ebene: Fehler
Schlüsselwörter:Klassisch
Benutzer: Nicht zutreffend
Computer: BG
Beschreibung:
Fehlerhafter Block bei Gerät \Device\Harddisk0\DR0.
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Disk" />
<EventID Qualifiers="49156">7</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-07-13T16:16:23.883085900Z" />
<EventRecordID>89657</EventRecordID>
<Channel>System</Channel>
<Computer>BG</Computer>
<Security />
</System>
<EventData>
<Data>\Device\Harddisk0\DR0</Data>
<Binary>030080000100000000000000070004C0000100009C0000C0000000000000000000E0E6870E0000006A3F020000000000FFFFFFFF00000000580000840200000000200A1240032000000000003C000000781A20020000000048F6220480FAFFFF0000000000000000F004230480FAFFFFC0E9800480FAFFFF70F343070000000028000743F37000000800000000000000F00003000000000B00000000000000000000000000000000</Binary>
</EventData>
</Event>
smartd.log.txt
(text/plain, 6.7 KB)
------------------------------------------------------------------------------------------------- 19-07-2014 21H02m52s
smartctl 6.3 2014-06-23 r3922 [x86_64-w64-mingw32-win7-sp1] (cf-20140623)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint M5
Device Model: SAMSUNG HM160HI
Serial Number: S10UJD0S560510
LU WWN Device Id: 5 0f0000 003560510
Firmware Version: HH100-08
User Capacity: 160.041.885.696 bytes [160 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS, ATA/ATAPI-7 T13/1532D revision 0
SATA Version is: SATA 2.5, 1.5 Gb/s
Local Time is: Sat Jul 19 21:02:53 2014 MS
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: ( 112) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: ( 55) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
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: ( 55) minutes.
SCT capabilities: (0x003f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
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 100 100 051 Pre-fail Always - 24
3 Spin_Up_Time 0x0007 252 252 025 Pre-fail Always - 2000
4 Start_Stop_Count 0x0032 094 094 000 Old_age Always - 6926
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 2
7 Seek_Error_Rate 0x000e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 086 086 000 Old_age Always - 7107
10 Spin_Retry_Count 0x0032 100 100 051 Old_age Always - 5
12 Power_Cycle_Count 0x0032 097 097 000 Old_age Always - 3566
191 G-Sense_Error_Rate 0x0032 002 002 000 Old_age Always - 999999
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 214
194 Temperature_Celsius 0x0022 085 070 000 Old_age Always - 51 (Min/Max 10/56)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 24
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 1
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 1
200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always - 0
201 Soft_Read_Error_Rate 0x0032 252 252 000 Old_age Always - 0
223 Load_Retry_Count 0x0032 097 097 000 Old_age Always - 3278
225 Load_Cycle_Count 0x0032 080 080 000 Old_age Always - 203243
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed: read failure 00% 7101 121893751
# 2 Short offline Completed: read failure 00% 7098 121893751
# 3 Short offline Completed: read failure 00% 7090 121893751
# 4 Short offline Completed: read failure 00% 7090 121893751
# 5 Short offline Completed: read failure 00% 7090 121893751
# 6 Short offline Completed: read failure 00% 7090 121893751
# 7 Short offline Completed: read failure 00% 7090 121893751
# 8 Short offline Completed: read failure 00% 7090 121893751
# 9 Short offline Completed: read failure 00% 7089 121893751
#10 Short offline Completed: read failure 00% 7086 121893751
#11 Short offline Completed: read failure 00% 7082 121893751
#12 Short offline Completed: read failure 00% 7072 121893751
#13 Short offline Completed: read failure 00% 7072 121893751
#14 Short offline Completed: read failure 00% 7070 121893751
#15 Extended offline Aborted by host 70% 7063 -
#16 Short offline Completed without error 00% 7055 -
#17 Short offline Completed without error 00% 7037 -
#18 Short offline Aborted by host 80% 7035 -
#19 Short offline Completed without error 00% 7018 -
#20 Short offline Completed without error 00% 6973 -
#21 Short offline Completed without error 00% 6971 -
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Completed_read_failure [00% left] (0-65535)
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.