Hetzner Festplatte kaputt -> Sicherung

fabi288

New Member
Hallo,
meine Festplatte spuckt i/o Errors aus und ich würde die Tauschen lassen. Wie aber sicher ich am besten mein Server? Mein Server ist im Raid1 Konfiguriert und sollte sich eigentlich selber rebuilden oder? Muss ich das Raid vorher auflösen?

Danke im Voraus

Mit freundlichen Grüßen
Fabian Hars
 
Hallo Fabian,

grundsätzlich ist Raid kein Ersatz für ein Backup, daher richte Dir unbeding ein Backup ein (jetzt und in Zukunft).

Vor dem Tausch ist auch in jedem Fall ein Backup anzulegen.

Dein Raid sollte Dir ja trotz der IO-Fehler den Zugriff auf die Daten ermöglichen, also erstmal ein Backup anstoßen. Beim eigentlichen Tausch musst Du das Raid vorher nicht auflösen, das Raid kommt nach dem Tausch 'degraded' hoch, dann muss die neue Platte eingebaut werden.

Das genaue Verfahren ist vom Controller abhängig, also ob hard- oder software-Raid und dann von Hersteller zu Hersteller verschieden.

schöne Grüße,
Nils
 
Hallo,

kann mir jemand sagen, welche Platte defekt ist?

HTML:
Personalities : [raid1]
md2 : active raid1 sdb3[1]
      2896184639 blocks super 1.2 [2/1] [_U]

md1 : active raid1 sda2[0] sdb2[1]
      524276 blocks super 1.2 [2/2] [UU]

md0 : active (auto-read-only) raid1 sda1[0] sdb1[1]
      33553336 blocks super 1.2 [2/2] [UU]

Danke im Voraus
Mit freundlichen Grüßen
Fabian Hars
 
Sieht aus als ob diese Platte Kaputt sei:

smartctl 5.41 2011-06-09 r3365 [i686-linux-3.10.36] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model: ST3000DM001-9YN166
Serial Number: S1F02AED
LU WWN Device Id: 5 000c50 04a183037
Firmware Version: CC4C
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Tue May 13 17:26:51 2014 CEST
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
See vendor-specific Attribute list for marginal 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: ( 121) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: ( 584) 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: ( 255) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x3085) SCT Status 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 112 082 006 Pre-fail Always - 47726153
3 Spin_Up_Time 0x0003 093 093 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 9
5 Reallocated_Sector_Ct 0x0033 098 098 036 Pre-fail Always - 3072
7 Seek_Error_Rate 0x000f 087 060 030 Pre-fail Always - 585289342
9 Power_On_Hours 0x0032 079 079 000 Old_age Always - 18771
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 9
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 3546
188 Command_Timeout 0x0032 100 099 000 Old_age Always - 2
189 High_Fly_Writes 0x003a 097 097 000 Old_age Always - 3
190 Airflow_Temperature_Cel 0x0022 056 044 045 Old_age Always In_the_past 44 (0 10 55 40)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 7
193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 2229
194 Temperature_Celsius 0x0022 044 056 000 Old_age Always - 44 (0 17 0 0)
197 Current_Pending_Sector 0x0012 100 090 000 Old_age Always - 126
198 Offline_Uncorrectable 0x0010 100 090 000 Old_age Offline - 126
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 128273493280935
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 216851535773892
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 65079855722714

SMART Error Log Version: 1
ATA Error Count: 19442 (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 19442 occurred at disk power-on lifetime: 18771 hours (782 days + 3 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 0a 10 10 04 Error: UNC at LBA = 0x0410100a = 68161546

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 08 08 10 10 44 00 43d+22:57:53.289 READ FPDMA QUEUED
60 00 08 08 08 00 40 00 43d+22:57:53.288 READ FPDMA QUEUED
60 00 08 08 18 00 40 00 43d+22:57:53.286 READ FPDMA QUEUED
60 00 08 20 10 00 44 00 43d+22:57:53.284 READ FPDMA QUEUED
60 00 08 18 20 00 44 00 43d+22:57:53.133 READ FPDMA QUEUED

Error 19441 occurred at disk power-on lifetime: 18771 hours (782 days + 3 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 0a 10 10 04 Error: UNC at LBA = 0x0410100a = 68161546

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 08 08 10 10 44 00 43d+22:57:53.289 READ FPDMA QUEUED
60 00 08 08 08 00 40 00 43d+22:57:53.288 READ FPDMA QUEUED
60 00 08 08 18 00 40 00 43d+22:57:53.286 READ FPDMA QUEUED
60 00 08 20 10 00 44 00 43d+22:57:53.284 READ FPDMA QUEUED
60 00 08 18 20 00 44 00 43d+22:57:53.133 READ FPDMA QUEUED

Error 19440 occurred at disk power-on lifetime: 18771 hours (782 days + 3 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 0a 10 10 04 Error: UNC at LBA = 0x0410100a = 68161546

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 08 08 10 10 44 00 43d+22:57:52.311 READ FPDMA QUEUED
60 00 08 08 08 00 40 00 43d+22:57:52.311 READ FPDMA QUEUED
60 00 08 08 18 00 40 00 43d+22:57:52.304 READ FPDMA QUEUED
60 00 08 00 28 00 40 00 43d+22:57:52.166 READ FPDMA QUEUED
60 00 08 20 18 00 40 00 43d+22:57:52.166 READ FPDMA QUEUED

Error 19439 occurred at disk power-on lifetime: 18771 hours (782 days + 3 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 0a 10 10 04 Error: UNC at LBA = 0x0410100a = 68161546

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 08 08 10 10 44 00 43d+22:57:52.311 READ FPDMA QUEUED
60 00 08 08 08 00 40 00 43d+22:57:52.311 READ FPDMA QUEUED
60 00 08 08 18 00 40 00 43d+22:57:52.304 READ FPDMA QUEUED
60 00 08 00 28 00 40 00 43d+22:57:52.166 READ FPDMA QUEUED
60 00 08 20 18 00 40 00 43d+22:57:52.166 READ FPDMA QUEUED

Error 19438 occurred at disk power-on lifetime: 18771 hours (782 days + 3 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 0a 10 10 04 Error: UNC at LBA = 0x0410100a = 68161546

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 08 08 10 10 44 00 43d+22:57:51.312 READ FPDMA QUEUED
60 00 08 08 08 00 40 00 43d+22:57:51.312 READ FPDMA QUEUED
60 00 01 00 00 00 40 00 43d+22:57:51.281 READ FPDMA QUEUED
60 00 01 ff ff ff 4f 00 43d+22:57:51.281 READ FPDMA QUEUED
60 00 01 ff ff ff 4f 00 43d+22:57:51.280 READ FPDMA QUEUED

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed: read failure 90% 18771 10405007
# 2 Short offline Interrupted (host reset) 90% 18770 -
# 3 Short offline Aborted by host 90% 18770 -
# 4 Short offline Aborted by host 90% 18770 -
# 5 Short offline Aborted by host 90% 18770 -
# 6 Extended offline Completed without error 00% 5 -

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.
 
md2 : active raid1 sdb3[1]
2896184639 blocks super 1.2 [2/1] [_U]

md2 besteht nur noch aus sdb3, sda3 wurde aus dem Raid geworfen. Also ist sehr wahrscheinlich sda defekt. Das hätte man aber z.B. aus den Kernelnachrichten (dmesg oder /var/log/kern.log) auslesen können.

Stell dich darauf ein nach dem Plattentausch ins Rescue booten zu müssen um den Bootloader auf die Neue sda draufzubekommen.

viel Erfolg,
Nils
 
Ah ok hat alles Super geklapt Grub müsste wieder installiert sein und das Raid Rebuildet grade danke ;) Kann ich den Server einfach neu starten oder muss ich den Rebuild abwarten?
 
Back
Top