Festplatte prüfen
Sven
sven.2008 at gmx.de
Fre Feb 29 20:57:06 GMT 2008
Am Freitag, den 29.02.2008, 21:08 +0100 schrieb Matthias Taube:
> Gibt es unter Ubuntu ein Programm, um eine Festplatte zu überprüfen?
>
> Die Daten können dabei ruhig gelöscht werden, es geht nur darum eine
> (gebrauchte) Festplatte vor der Verkauf zu überprüfen, damit hinterher
> keine Reklamationen kommen.
Das einzig ware: SMART auslesen. Z. b. mit smartctl aus dem Paket
smartmontools:
Bei mir z. B. mit:
sudo smartctl -s on -a /dev/hda
Ich häng mal den Output dieses Befehls an. Man kann sehen das bei mir
einiges an Fehlern angelaufen ist. Das ist mal passiert als mein
Netzteil gestorben ist, da lief das ganze System sehr instabil, und
offenbar setzte die Wackelspannung auch der Festplatte zu.
Eigentlich ist es schade das dieses mächtige Tool nicht standard-mässig
genutzt wird um den Anwender zu warnen. Unter Windows existiert es gar
nicht und unter Linux nutzen es auch nur wenige da es wenig bekannt ist.
Festplatten sterben zu >90% nicht von heute auf morgen.
Vorgestern erst habe ich eine Festplatte austauschen müssen, das WinXP
bootete nicht mehr.
Mit Hilfe einer Knoppix und smartctl hab ich festgestellt das die
Festplatte ab Betriebsstunde 3900 Fehler im SMART vermerkte, nun aber
bei Stunde 5900 den Geist ganz aufgegeben hat. Wenn man bedenkt wie
lange das Problem theoretisch bekannt sein könnte, ziemlich bitter
Gigabyte-Weise Dokumente zu verlieren...
ciao, Sven
-------------- nächster Teil --------------
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Maxtor DiamondMax Plus 9 family
Device Model: Maxtor 6Y160P0
Serial Number: Y48BBC8E
Firmware Version: YAR41BW0
User Capacity: 163.928.604.672 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0
Local Time is: Fri Feb 29 21:48:23 2008 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
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: ( 302) 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.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 72) minutes.
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
3 Spin_Up_Time 0x0027 203 203 063 Pre-fail Always - 18045
4 Start_Stop_Count 0x0032 253 253 000 Old_age Always - 387
5 Reallocated_Sector_Ct 0x0033 253 253 063 Pre-fail Always - 0
6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail Offline - 0
7 Seek_Error_Rate 0x000a 253 252 000 Old_age Always - 0
8 Seek_Time_Performance 0x0027 253 238 187 Pre-fail Always - 44137
9 Power_On_Minutes 0x0032 216 216 000 Old_age Always - 0h+34m
10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail Always - 0
11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 251 251 000 Old_age Always - 918
192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age Always - 0
193 Load_Cycle_Count 0x0032 253 253 000 Old_age Always - 0
194 Temperature_Celsius 0x0032 253 253 000 Old_age Always - 35
195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age Always - 3404
196 Reallocated_Event_Count 0x0008 253 253 000 Old_age Offline - 0
197 Current_Pending_Sector 0x0008 253 253 000 Old_age Offline - 0
198 Offline_Uncorrectable 0x0008 253 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0008 199 196 000 Old_age Offline - 3
200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age Always - 0
201 Soft_Read_Error_Rate 0x000a 253 252 000 Old_age Always - 99
202 TA_Increase_Count 0x000a 253 252 000 Old_age Always - 0
203 Run_Out_Cancel 0x000b 253 252 180 Pre-fail Always - 15
204 Shock_Count_Write_Opern 0x000a 253 252 000 Old_age Always - 0
205 Shock_Rate_Write_Opern 0x000a 253 252 000 Old_age Always - 0
207 Spin_High_Current 0x002a 253 252 000 Old_age Always - 0
208 Spin_Buzz 0x002a 253 252 000 Old_age Always - 0
209 Offline_Seek_Performnce 0x0024 195 189 000 Old_age Offline - 0
99 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
100 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
101 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
SMART Error Log Version: 1
Warning: ATA error count 11 inconsistent with error log pointer 5
ATA Error Count: 11 (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 11 occurred at disk power-on lifetime: 7449 hours (310 days + 9 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 88 58 30 1d e0 Error: ICRC, ABRT 136 sectors at LBA = 0x001d3058 = 1912920
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 00 e0 2d 1d e0 08 02:04:32.400 WRITE DMA EXT
25 00 00 60 45 f5 e0 08 02:04:32.400 READ DMA EXT
25 00 00 60 43 f5 e0 08 02:04:32.384 READ DMA EXT
25 00 00 60 41 f5 e0 08 02:04:32.384 READ DMA EXT
25 00 00 60 3f f5 e0 08 02:04:32.384 READ DMA EXT
Error 10 occurred at disk power-on lifetime: 7444 hours (310 days + 4 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 08 0c 7e d5 e0 Error: ICRC, ABRT 8 sectors at LBA = 0x00d57e0c = 13991436
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 08 0c 7e d5 e0 08 01:07:02.288 WRITE DMA EXT
35 00 10 5c 72 d5 e0 08 01:07:02.288 WRITE DMA EXT
35 00 08 4c a3 72 e0 08 01:06:58.544 WRITE DMA EXT
35 00 08 4c a1 6e e0 08 01:06:58.544 WRITE DMA EXT
35 00 08 4c a1 66 e0 08 01:06:58.544 WRITE DMA EXT
Error 9 occurred at disk power-on lifetime: 7444 hours (310 days + 4 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 71 8b f5 12 e0 Error: ICRC, ABRT 113 sectors at LBA = 0x0012f58b = 1242507
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 f0 0c f5 12 e0 08 00:05:39.328 WRITE DMA EXT
35 00 28 3c 13 f4 e0 08 00:05:39.328 WRITE DMA EXT
35 00 08 ac 3e b3 e0 08 00:05:39.328 WRITE DMA EXT
25 00 50 5c 83 b3 e0 08 00:05:39.328 READ DMA EXT
25 00 08 dc b1 aa e0 08 00:05:39.312 READ DMA EXT
Error 8 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 4c ec d3 e0 Error: ICRC, ABRT at LBA = 0x00d3ec4c = 13888588
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 00 4c ec d3 e0 08 00:21:18.400 WRITE DMA EXT
35 00 00 4c ec d3 e0 08 00:21:18.336 WRITE DMA EXT
10 00 3f 00 00 00 e0 08 00:21:18.320 RECALIBRATE [OBS-4]
35 00 00 4c ec d3 e0 08 00:21:18.224 WRITE DMA EXT
35 00 00 4c ec d3 e0 08 00:21:18.064 WRITE DMA EXT
Error 7 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 4c ec d3 e0 Error: ICRC, ABRT at LBA = 0x00d3ec4c = 13888588
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 00 4c ec d3 e0 08 00:21:18.336 WRITE DMA EXT
10 00 3f 00 00 00 e0 08 00:21:18.320 RECALIBRATE [OBS-4]
35 00 00 4c ec d3 e0 08 00:21:18.224 WRITE DMA EXT
35 00 00 4c ec d3 e0 08 00:21:18.064 WRITE DMA EXT
35 00 00 4c e4 d3 e0 08 00:21:18.048 WRITE 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 without error 00% 11711 -
# 2 Extended offline Completed without error 00% 11613 -
# 3 Extended offline Completed without error 00% 11370 -
# 4 Extended offline Completed without error 00% 11242 -
# 5 Extended offline Completed without error 00% 11124 -
# 6 Short offline Completed without error 00% 11095 -
# 7 Extended offline Completed without error 00% 11003 -
# 8 Extended offline Completed without error 00% 10844 -
# 9 Extended offline Completed without error 00% 10697 -
#10 Extended offline Completed without error 00% 10552 -
#11 Extended offline Completed without error 00% 10409 -
#12 Extended offline Completed without error 00% 10144 -
#13 Extended offline Completed without error 00% 10020 -
#14 Extended offline Completed without error 00% 9863 -
#15 Extended offline Completed without error 00% 9729 -
#16 Extended offline Completed without error 00% 9507 -
#17 Extended offline Completed without error 00% 9351 -
#18 Extended offline Completed without error 00% 9259 -
#19 Extended offline Completed without error 00% 9083 -
#20 Extended offline Completed without error 00% 8932 -
#21 Extended offline Completed without error 00% 8770 -
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.