Re: Wie Festplatte zuverlässig testen
Am Montag, den 20.07.2009, 18:52 +0200 schrieb David Haller:
> Hallo,
> 1. SMART ggfs. aktivieren (smartctl -s on /dev/sdX)
> ...
> 4. smartctl -A /dev/sdX
Genau so hab‘ ich‘s gemacht. Ergebnis [1] scheint okay.
Habe mir dafür ein Script [2] geschrieben damit der die Nacht
durcharbeitet. Hätte er vielleicht auch gemacht, wenn jemand um 00:32
"ja" getippt hätte ;-) ob -F bei mke2fs geholfen hätte?
Hat pro Befehl (4 Stück) 4-5 Stunden gedauert.
Chris.........
[1]
20.07.2009 19:50:46 Anfang
--------------- SMART on ---------------
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce
Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
--------------- Attribute ---------------
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce
Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
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
- 0
3 Spin_Up_Time 0x0007 069 069 011 Pre-fail Always
- 10030
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always
- 3
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always
- 0
7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail Always
- 0
8 Seek_Time_Performance 0x0025 100 100 015 Pre-fail
Offline - 10868
9 Power_On_Hours 0x0032 100 100 000 Old_age Always
- 0
10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always
- 0
11 Calibration_Retry_Count 0x0012 100 100 000 Old_age Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 3
13 Read_Soft_Error_Rate 0x000e 100 100 000 Old_age Always
- 0
183 Unknown_Attribute 0x0032 100 100 000 Old_age Always
- 0
184 Unknown_Attribute 0x0033 100 100 000 Pre-fail Always
- 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always
- 0
188 Unknown_Attribute 0x0032 100 100 000 Old_age Always
- 0
190 Airflow_Temperature_Cel 0x0022 077 077 000 Old_age Always
- 23 (Lifetime Min/Max 17/23)
194 Temperature_Celsius 0x0022 069 069 000 Old_age Always
- 31 (Lifetime Min/Max 17/31)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always
- 1055
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x000a 253 253 000 Old_age Always
- 0
201 Soft_Read_Error_Rate 0x000a 100 100 000 Old_age Always
- 0
--------------- badblocks ---------------
21.07.2009 00:52:05 Badblocks fertig
--------------- Dateisystem schreiben ---------------
/dev/sdb ist das ganze Gerät, nicht nur eine Partition!
Trotzdem fortsetzen? (j,n) Dateisystem-Label=
OS-Typ: Linux
Blockgröße=4096 (log=2)
Fragmentgröße=4096 (log=2)
91578368 Inodes, 366284646 Blöcke
18314232 Blöcke (5.00%) reserviert für den Superuser
Erster Datenblock=0
Maximale Dateisystem-Blöcke=0
11179 Blockgruppen
32768 Blöcke pro Gruppe, 32768 Fragmente pro Gruppe
8192 Inodes pro Gruppe
Superblock-Sicherungskopien gespeichert in den Blöcken:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848
Schreibe Inode-Tabellen: erledigt
Schreibe Superblöcke und Dateisystem-Accountinginformationen: erledigt
Das Dateisystem wird automatisch nach jeweils 22 Einhäng-Vorgängen bzw.
alle 180 Tage überprüft, je nachdem, was zuerst eintritt. Veränderbar
mit
tune2fs -c oder -t .
21.07.2009 13:03:16 mp2fs fertig
--------------- von Platte lesen ---------------
21.07.2009 17:59:21 lesen fertig
--------------- Attribute ---------------
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce
Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
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
- 0
3 Spin_Up_Time 0x0007 069 069 011 Pre-fail Always
- 10030
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always
- 3
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always
- 0
7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail Always
- 0
8 Seek_Time_Performance 0x0025 100 100 015 Pre-fail
Offline - 10868
9 Power_On_Hours 0x0032 100 100 000 Old_age Always
- 22
10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always
- 0
11 Calibration_Retry_Count 0x0012 100 100 000 Old_age Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 3
13 Read_Soft_Error_Rate 0x000e 100 100 000 Old_age Always
- 0
183 Unknown_Attribute 0x0032 100 100 000 Old_age Always
- 0
184 Unknown_Attribute 0x0033 100 100 000 Pre-fail Always
- 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always
- 0
188 Unknown_Attribute 0x0032 100 100 000 Old_age Always
- 0
190 Airflow_Temperature_Cel 0x0022 059 059 000 Old_age Always
- 41 (Lifetime Min/Max 17/41)
194 Temperature_Celsius 0x0022 060 060 000 Old_age Always
- 40 (Lifetime Min/Max 17/43)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always
- 478543499
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always
- 0
201 Soft_Read_Error_Rate 0x000a 100 100 000 Old_age Always
- 0
[2]
date +"%d.%m.%Y %H:%M:%S Anfang" > TerrabyteTest.txt
echo "--------------- SMART on ---------------" >> TerrabyteTest.txt
smartctl -s on /dev/sdb >> TerrabyteTest.txt
echo "--------------- Attribute ---------------" >> TerrabyteTest.txt
smartctl -A /dev/sdb >> TerrabyteTest.txt
echo "--------------- badblocks ---------------" >> TerrabyteTest.txt
badblocks -o TerrabyteTest_badblocks /dev/sdb >> TerrabyteTest.txt
date +"%d.%m.%Y %H:%M:%S Badblocks fertig" >> TerrabyteTest.txt
echo "--------------- Dateisystem schreiben -----" >> TerrabyteTest.txt
mke2fs -c /dev/sdb >> TerrabyteTest.txt
date +"%d.%m.%Y %H:%M:%S mp2fs fertig" >> TerrabyteTest.txt
echo "--------------- von Platte lesen -------" >> TerrabyteTest.txt
dd if=/dev/sdb of=/dev/null bs=8M >> TerrabyteTest.txt
date +"%d.%m.%Y %H:%M:%S lesen fertig" >> TerrabyteTest.txt
echo "--------------- Attribute ---------------" >> TerrabyteTest.txt
smartctl -A /dev/sdb >> TerrabyteTest.txt
date | mail -s "SMART Test fertig" chris
Reply to: