Lesefehler auf Festplatte - zwingend kaputt?

Executor1

Lt. Junior Grade
Registriert
Okt. 2007
Beiträge
362
Hi,

ich habe mir vor kurzem ein RAID aus 3x2TB Platten aufgesetzt und dafür 2 neue 2TB Platten gekauft.
Nun gibt eine dieser Platten plötzlich Lesefehler von sich. Das trat gerade zum zweiten Mal auf.

Ausgabe von dmesg (Linux):

Code:
[27567.099605] ata2.00: exception Emask 0x0 SAct 0x7fff800b SErr 0x0 action 0x0
[27567.099646] ata2.00: irq_stat 0x40000008
[27567.099670] ata2.00: failed command: READ FPDMA QUEUED
[27567.099702] ata2.00: cmd 60/08:78:e0:0b:27/00:00:d6:00:00/40 tag 15 ncq 4096 in
[27567.099703]          res 41/40:00:e0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27567.099781] ata2.00: status: { DRDY ERR }
[27567.099803] ata2.00: error: { UNC }
[27567.112267] ata2.00: configured for UDMA/133
[27567.112294] ata2: EH complete
[27572.490751] ata2.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x0
[27572.490793] ata2.00: irq_stat 0x40000008
[27572.490816] ata2.00: failed command: READ FPDMA QUEUED
[27572.490848] ata2.00: cmd 60/00:88:68:10:27/03:00:d6:00:00/40 tag 17 ncq 393216 in
[27572.490850]          res 41/40:00:50:12:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27572.490928] ata2.00: status: { DRDY ERR }
[27572.490950] ata2.00: error: { UNC }
[27572.503406] ata2.00: configured for UDMA/133
[27572.503436] ata2: EH complete
[27577.694468] ata2.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x0
[27577.694509] ata2.00: irq_stat 0x40000008
[27577.694532] ata2.00: failed command: READ FPDMA QUEUED
[27577.694563] ata2.00: cmd 60/00:68:68:10:27/03:00:d6:00:00/40 tag 13 ncq 393216 in
[27577.694565]          res 41/40:00:50:12:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27577.694643] ata2.00: status: { DRDY ERR }
[27577.694665] ata2.00: error: { UNC }
[27577.707116] ata2.00: configured for UDMA/133
[27577.707149] ata2: EH complete
[27582.942276] ata2.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x0
[27582.942317] ata2.00: irq_stat 0x40000008
[27582.942341] ata2.00: failed command: READ FPDMA QUEUED
[27582.942372] ata2.00: cmd 60/08:78:e0:0b:27/00:00:d6:00:00/40 tag 15 ncq 4096 in
[27582.942374]          res 41/40:00:e0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27582.942452] ata2.00: status: { DRDY ERR }
[27582.942474] ata2.00: error: { UNC }
[27582.954739] ata2.00: configured for UDMA/133
[27582.954766] ata2: EH complete
[27588.123941] ata2.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x0
[27588.123982] ata2.00: irq_stat 0x40000008
[27588.124005] ata2.00: failed command: READ FPDMA QUEUED
[27588.124036] ata2.00: cmd 60/00:68:68:10:27/03:00:d6:00:00/40 tag 13 ncq 393216 in
[27588.124038]          res 41/40:00:50:12:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27588.124116] ata2.00: status: { DRDY ERR }
[27588.124138] ata2.00: error: { UNC }
[27588.136482] ata2.00: configured for UDMA/133
[27588.136515] ata2: EH complete
[27593.316638] ata2.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x0
[27593.316679] ata2.00: irq_stat 0x40000008
[27593.316703] ata2.00: failed command: READ FPDMA QUEUED
[27593.316734] ata2.00: cmd 60/08:78:e0:0b:27/00:00:d6:00:00/40 tag 15 ncq 4096 in
[27593.316736]          res 41/40:00:e0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27593.316814] ata2.00: status: { DRDY ERR }
[27593.316836] ata2.00: error: { UNC }
[27593.329297] ata2.00: configured for UDMA/133
[27593.329328] ata2: EH complete
[27598.476265] ata2.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x0
[27598.476306] ata2.00: irq_stat 0x40000008
[27598.476329] ata2.00: failed command: READ FPDMA QUEUED
[27598.476361] ata2.00: cmd 60/08:78:e0:0b:27/00:00:d6:00:00/40 tag 15 ncq 4096 in
[27598.476362]          res 41/40:00:e0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27598.476440] ata2.00: status: { DRDY ERR }
[27598.476461] ata2.00: error: { UNC }
[27598.488851] ata2.00: configured for UDMA/133
[27598.488883] ata2: EH complete
[27603.823299] ata2.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x0
[27603.823341] ata2.00: irq_stat 0x40000008
[27603.823365] ata2.00: failed command: READ FPDMA QUEUED
[27603.823396] ata2.00: cmd 60/00:88:68:10:27/03:00:d6:00:00/40 tag 17 ncq 393216 in
[27603.823398]          res 41/40:00:50:12:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27603.823476] ata2.00: status: { DRDY ERR }
[27603.823498] ata2.00: error: { UNC }
[27603.835845] ata2.00: configured for UDMA/133
[27603.835875] ata2: EH complete
[27609.015985] ata2.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x0
[27609.016026] ata2.00: irq_stat 0x40000008
[27609.016049] ata2.00: failed command: READ FPDMA QUEUED
[27609.016080] ata2.00: cmd 60/00:68:68:10:27/03:00:d6:00:00/40 tag 13 ncq 393216 in
[27609.016082]          res 41/40:00:50:12:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27609.016159] ata2.00: status: { DRDY ERR }
[27609.016181] ata2.00: error: { UNC }
[27609.028542] ata2.00: configured for UDMA/133
[27609.028608] sd 1:0:0:0: [sdb] Unhandled sense code
[27609.028618] sd 1:0:0:0: [sdb]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[27609.028621] sd 1:0:0:0: [sdb]  Sense Key : Medium Error [current] [descriptor]
[27609.028624] Descriptor sense data with sense descriptors (in hex):
[27609.028626]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[27609.028632]         d6 27 12 50 
[27609.028635] sd 1:0:0:0: [sdb]  Add. Sense: Unrecovered read error - auto reallocate failed
[27609.028638] sd 1:0:0:0: [sdb] CDB: Read(10): 28 00 d6 27 10 68 00 03 00 00
[27609.028645] end_request: I/O error, dev sdb, sector 3592884816
[27609.028669] md/raid:md127: read error not correctable (sector 3592884816 on sdb).
[27609.028672] md/raid:md127: Disk failure on sdb, disabling device.
[27609.028672] md/raid:md127: Operation continuing on 1 devices.
[27609.028714] md/raid:md127: read error not correctable (sector 3592884824 on sdb).
[27609.028716] md/raid:md127: read error not correctable (sector 3592884832 on sdb).
[27609.028718] md/raid:md127: read error not correctable (sector 3592884840 on sdb).
[27609.028720] md/raid:md127: read error not correctable (sector 3592884848 on sdb).
[27609.028722] md/raid:md127: read error not correctable (sector 3592884856 on sdb).
[27609.028735] md/raid:md127: read error not correctable (sector 3592884864 on sdb).
[27609.028737] md/raid:md127: read error not correctable (sector 3592884872 on sdb).
[27609.028739] md/raid:md127: read error not correctable (sector 3592884880 on sdb).
[27609.028741] md/raid:md127: read error not correctable (sector 3592884888 on sdb).
[27609.028759] ata2: EH complete
[27609.074475] md: md127: recovery done.
[27614.175617] ata2.00: exception Emask 0x0 SAct 0xfffc SErr 0x0 action 0x0
[27614.175656] ata2.00: irq_stat 0x40000008
[27614.175680] ata2.00: failed command: READ FPDMA QUEUED
[27614.175712] ata2.00: cmd 60/08:78:e0:0b:27/00:00:d6:00:00/40 tag 15 ncq 4096 in
[27614.175713]          res 41/40:00:e0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27614.175790] ata2.00: status: { DRDY ERR }
[27614.175812] ata2.00: error: { UNC }
[27614.188151] ata2.00: configured for UDMA/133
[27614.188170] ata2: EH complete
[27619.335219] ata2.00: exception Emask 0x0 SAct 0x3fff SErr 0x0 action 0x0
[27619.335259] ata2.00: irq_stat 0x40000008
[27619.335282] ata2.00: failed command: READ FPDMA QUEUED
[27619.335313] ata2.00: cmd 60/08:00:e0:0b:27/00:00:d6:00:00/40 tag 0 ncq 4096 in
[27619.335315]          res 41/40:00:e0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27619.335391] ata2.00: status: { DRDY ERR }
[27619.335413] ata2.00: error: { UNC }
[27619.347870] ata2.00: configured for UDMA/133
[27619.347886] sd 1:0:0:0: [sdb] Unhandled sense code
[27619.347888] sd 1:0:0:0: [sdb]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[27619.347892] sd 1:0:0:0: [sdb]  Sense Key : Medium Error [current] [descriptor]
[27619.347897] Descriptor sense data with sense descriptors (in hex):
[27619.347900]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[27619.347910]         d6 27 0b e0 
[27619.347914] sd 1:0:0:0: [sdb]  Add. Sense: Unrecovered read error - auto reallocate failed
[27619.347919] sd 1:0:0:0: [sdb] CDB: Read(10): 28 00 d6 27 0b e0 00 00 08 00
[27619.347929] end_request: I/O error, dev sdb, sector 3592883168
[27619.347963] raid5_end_read_request: 25 callbacks suppressed
[27619.347966] md/raid:md127: read error not correctable (sector 3592883168 on sdb).
[27619.347985] ata2: EH complete
[27624.968905] ata2.00: exception Emask 0x0 SAct 0x1ffc SErr 0x0 action 0x0
[27624.968944] ata2.00: irq_stat 0x40000008
[27624.968967] ata2.00: failed command: READ FPDMA QUEUED
[27624.968998] ata2.00: cmd 60/08:60:e8:0b:27/00:00:d6:00:00/40 tag 12 ncq 4096 in
[27624.969000]          res 41/40:00:e8:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27624.969077] ata2.00: status: { DRDY ERR }
[27624.969099] ata2.00: error: { UNC }
[27624.981426] ata2.00: configured for UDMA/133
[27624.981443] ata2: EH complete
[27630.128519] ata2.00: exception Emask 0x0 SAct 0x7ff SErr 0x0 action 0x0
[27630.128557] ata2.00: irq_stat 0x40000008
[27630.128580] ata2.00: failed command: READ FPDMA QUEUED
[27630.128611] ata2.00: cmd 60/08:00:e8:0b:27/00:00:d6:00:00/40 tag 0 ncq 4096 in
[27630.128613]          res 41/40:00:e8:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27630.128688] ata2.00: status: { DRDY ERR }
[27630.128710] ata2.00: error: { UNC }
[27630.140999] ata2.00: configured for UDMA/133
[27630.141014] ata2: EH complete
[27635.696061] ata2.00: exception Emask 0x0 SAct 0x7fc SErr 0x0 action 0x0
[27635.696100] ata2.00: irq_stat 0x40000008
[27635.696124] ata2.00: failed command: READ FPDMA QUEUED
[27635.696156] ata2.00: cmd 60/08:50:e8:0b:27/00:00:d6:00:00/40 tag 10 ncq 4096 in
[27635.696157]          res 41/40:00:e8:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27635.696234] ata2.00: status: { DRDY ERR }
[27635.696255] ata2.00: error: { UNC }
[27635.708712] ata2.00: configured for UDMA/133
[27635.708729] ata2: EH complete
[27641.043096] ata2.00: exception Emask 0x0 SAct 0x1ff SErr 0x0 action 0x0
[27641.043134] ata2.00: irq_stat 0x40000008
[27641.043157] ata2.00: failed command: READ FPDMA QUEUED
[27641.043188] ata2.00: cmd 60/08:00:e8:0b:27/00:00:d6:00:00/40 tag 0 ncq 4096 in
[27641.043190]          res 41/40:00:e8:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27641.043266] ata2.00: status: { DRDY ERR }
[27641.043287] ata2.00: error: { UNC }
[27641.055647] ata2.00: configured for UDMA/133
[27641.055664] ata2: EH complete
[27646.445260] ata2.00: exception Emask 0x0 SAct 0x1fc SErr 0x0 action 0x0
[27646.445298] ata2.00: irq_stat 0x40000008
[27646.445322] ata2.00: failed command: READ FPDMA QUEUED
[27646.445354] ata2.00: cmd 60/08:40:e8:0b:27/00:00:d6:00:00/40 tag 8 ncq 4096 in
[27646.445355]          res 41/40:00:e8:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27646.445432] ata2.00: status: { DRDY ERR }
[27646.445453] ata2.00: error: { UNC }
[27646.457912] ata2.00: configured for UDMA/133
[27646.457932] sd 1:0:0:0: [sdb] Unhandled sense code
[27646.457935] sd 1:0:0:0: [sdb]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[27646.457939] sd 1:0:0:0: [sdb]  Sense Key : Medium Error [current] [descriptor]
[27646.457944] Descriptor sense data with sense descriptors (in hex):
[27646.457946]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[27646.457956]         d6 27 0b e8 
[27646.457960] sd 1:0:0:0: [sdb]  Add. Sense: Unrecovered read error - auto reallocate failed
[27646.457965] sd 1:0:0:0: [sdb] CDB: Read(10): 28 00 d6 27 0b e8 00 00 08 00
[27646.457975] end_request: I/O error, dev sdb, sector 3592883176
[27646.458009] md/raid:md127: read error not correctable (sector 3592883176 on sdb).
[27646.458023] ata2: EH complete
[27651.604880] ata2.00: exception Emask 0x0 SAct 0x3f SErr 0x0 action 0x0
[27651.604918] ata2.00: irq_stat 0x40000008
[27651.604941] ata2.00: failed command: READ FPDMA QUEUED
[27651.604972] ata2.00: cmd 60/08:00:f0:0b:27/00:00:d6:00:00/40 tag 0 ncq 4096 in
[27651.604974]          res 41/40:00:f0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27651.605050] ata2.00: status: { DRDY ERR }
[27651.605072] ata2.00: error: { UNC }
[27651.617465] ata2.00: configured for UDMA/133
[27651.617479] ata2: EH complete
[27657.007046] ata2.00: exception Emask 0x0 SAct 0x3c SErr 0x0 action 0x0
[27657.007084] ata2.00: irq_stat 0x40000008
[27657.007107] ata2.00: failed command: READ FPDMA QUEUED
[27657.007138] ata2.00: cmd 60/08:28:f0:0b:27/00:00:d6:00:00/40 tag 5 ncq 4096 in
[27657.007140]          res 41/40:00:f0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27657.007216] ata2.00: status: { DRDY ERR }
[27657.007238] ata2.00: error: { UNC }
[27657.019578] ata2.00: configured for UDMA/133
[27657.019592] ata2: EH complete
[27662.354080] ata2.00: exception Emask 0x0 SAct 0xf SErr 0x0 action 0x0
[27662.354117] ata2.00: irq_stat 0x40000008
[27662.354140] ata2.00: failed command: READ FPDMA QUEUED
[27662.354172] ata2.00: cmd 60/08:00:f0:0b:27/00:00:d6:00:00/40 tag 0 ncq 4096 in
[27662.354173]          res 41/40:00:f0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27662.354250] ata2.00: status: { DRDY ERR }
[27662.354271] ata2.00: error: { UNC }
[27662.366728] ata2.00: configured for UDMA/133
[27662.366741] ata2: EH complete
[27667.370381] ata2.00: exception Emask 0x0 SAct 0xc SErr 0x0 action 0x0
[27667.370419] ata2.00: irq_stat 0x40000008
[27667.370443] ata2.00: failed command: READ FPDMA QUEUED
[27667.370474] ata2.00: cmd 60/08:18:f0:0b:27/00:00:d6:00:00/40 tag 3 ncq 4096 in
[27667.370476]          res 41/40:00:f0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27667.370552] ata2.00: status: { DRDY ERR }
[27667.370574] ata2.00: error: { UNC }
[27667.382904] ata2.00: configured for UDMA/133
[27667.382918] ata2: EH complete
[27672.717428] ata2.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x0
[27672.717466] ata2.00: irq_stat 0x40000008
[27672.717489] ata2.00: failed command: READ FPDMA QUEUED
[27672.717520] ata2.00: cmd 60/08:00:f0:0b:27/00:00:d6:00:00/40 tag 0 ncq 4096 in
[27672.717522]          res 41/40:00:f0:0b:27/00:00:d6:00:00/40 Emask 0x409 (media error) <F>
[27672.717600] ata2.00: status: { DRDY ERR }
[27672.717622] ata2.00: error: { UNC }
[27672.729979] ata2.00: configured for UDMA/133
[27672.729993] sd 1:0:0:0: [sdb] Unhandled sense code
[27672.729995] sd 1:0:0:0: [sdb]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[27672.729999] sd 1:0:0:0: [sdb]  Sense Key : Medium Error [current] [descriptor]
[27672.730004] Descriptor sense data with sense descriptors (in hex):
[27672.730006]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[27672.730016]         d6 27 0b f0 
[27672.730020] sd 1:0:0:0: [sdb]  Add. Sense: Unrecovered read error - auto reallocate failed
[27672.730025] sd 1:0:0:0: [sdb] CDB: Read(10): 28 00 d6 27 0b f0 00 00 08 00
[27672.730035] end_request: I/O error, dev sdb, sector 3592883184
[27672.730070] md/raid:md127: read error not correctable (sector 3592883184 on sdb).

Ist die Platte nun zwingend beschädigt?
Kann ich das irgendwie prüfen?
Ist das ein Garantiefall?

Gruß
 
Es kann auch das Kabel oder der SATA Controller sein. Ist beides nicht ganz so wahrscheinlich wie ein kaputter Sektor aber möglich. In einem anderen PC, mit anderen Kabeln einen long SMART Test mit smartctl machen.
Vor und nach dem Test die Anzahl reallocated sector count auslesen.
 
smartctl -a /dev/sdb

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

=== START OF INFORMATION SECTION ===
Device Model:     ST2000DL004 HD204UI
Serial Number:    S2H7J90C604381
LU WWN Device Id: 5 0004cf 207af333f
Firmware Version: 1AQ10001
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 6
Local Time is:    Wed Aug 15 15:29:08 2012 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

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: 		(20220) 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: 	 ( 255) 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     0x002f   100   100   051    Pre-fail  Always       -       35
  2 Throughput_Performance  0x0026   252   252   000    Old_age   Always       -       0
  3 Spin_Up_Time            0x0023   067   067   025    Pre-fail  Always       -       10077
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       42
  5 Reallocated_Sector_Ct   0x0033   252   252   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   252   252   051    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0024   252   252   015    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       110
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   252   252   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       43
181 Program_Fail_Cnt_Total  0x0022   100   100   000    Old_age   Always       -       89453
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       2
192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0002   064   064   000    Old_age   Always       -       21 (Min/Max 21/35)
195 Hardware_ECC_Recovered  0x003a   100   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   252   252   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       4
198 Offline_Uncorrectable   0x0030   252   252   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0036   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x002a   100   100   000    Old_age   Always       -       15
223 Load_Retry_Count        0x0032   252   252   000    Old_age   Always       -       0
225 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       44

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run
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 [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.

Selftest kommt jetzt...
 
Die hat 4 schwebende Sektoren und die können schon Probleme machen.
 
Inwiefern können die Probleme machen?
Sonst sehen die S.M.A.R.T. Werte ja gut aus - sofern ich das beurteilen kann.

Komischerweise trat der Fehler beim Rebuild der Spare-Platte immer bei ca. 97% auf..
 
Insofern dass es ewig dauert die betroffenen Sektoren zu lesen und womöglich fehlschlägt. Das selbst habe ich gerade bei einer externen 1TB HDD, wo Windows mich auffordert diese zu formatieren. Da sind 8 schwebende Sektoren und der Schrott Controller tauscht diese nicht aus.
 
Ich krieg die schwebenden oft nur mit der bösartigen Variante weg: hdparm --write-sector ...

Einfaches überschreiben schlägt meist fehl.
 
Also der Selftest ist jetzt in ~30min fertig - schätz ich.

Was habe ich denn jetzt für Möglichkeiten bzw. was könnte denn beim Selftest rauskommen?


Btw: Wo steht denn eigentlich die Anzahl der schwebenden Sektoren, hab die passende Stelle immer noch nicht gefunden?

Edit:

smartctl -l selftest /dev/sdb

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

=== START OF READ SMART DATA SECTION ===
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       20%       114         3592883168
 
Zuletzt bearbeitet:
Die Anzahl der Ereignisse siehst du in der Spalte Raw Value, neben den 4 Pending Sectors (ID 197/C5) übrigens auch 15 Multi Zone Errors (ID 200/C8), hier traten Fehler beim Beschreiben von Sektoren auf, das weist auf mechanische Schäden hin, schon der erste Auszug von dmesg zeigt ja I/O Fehler und unkorrigierbare Lesefehler.

Hier einmal mit den Seatools for DOS einen Long Test durchführen.
http://knowledge.seagate.com/articles/en_US/FAQ/201271en
 
Das mit Seatools für DOS gestaltet sich für mich sehr schwierig, da das System an dem die Platten angeschlossen sind weder CD-Rom Laufwerk noch Disketten-Laufwerk besitzt.
Mit USB-Stick unter Linux habe ich es probiert aber bisher nicht geschafft.

Die Lesefehler auf der Platte fanden leider bei dem initialen Spare-Rebuild der dritten Platte statt (bei ca. 90%).
Das heißt ich kann die Platte jetzt nicht ohne Weiteres ausbauen und einschicken.

Ich versuche im Moment noch einmal auf gut Glück den Spare-Rebuild durchzuführen, sofern dieser durchläuft (was ja sehr unwahrscheinlich ist) kann ich die Platte einschicken.

Angenommen er läuft nicht durch:
Wie kriege ich am besten die momentanen Daten auf der Platte auf die dritte Platte gesichert?
Die Bereiche ohne Lesefehler werden wahrscheinlich kein Problem darstellen.
Aber kann ich durch irgendwelche Workarounds vielleicht die Daten im beschädigten Bereich doch wiederherstellen?

Wenn ich die Daten nämlich erstmal auf der dritten Platte hätte, könnte ich die beschädigte einmal komplett überschreiben und damit vielleicht die schwebenden Sektoren wegkriegen.

Was haltet ihr davon? Habt ihr Tips für mich?
 
Um die Platte auszulesen: ddrescue

Die defekten sektoren kriegst du damit natürlich auch nicht gelesen, weisst dann aber, wo sie sind, und kannst sie daher überschreiben.

Ich lese solche Platten in zwei Schritten aus:

ddrescue -n -v /dev/sdX diskXXX.img diskXXX.log

ddrescue -d -r1 -v /dev/sdX diskXXX.img diskXXX.log

Im log findest du dann die defekten Sektoren so vor:

0x1AD3A5600 0x00000200 -

Die erste Zahl (0x1AD3A5600) ist die Position, die zweite die Grösse. 0x200 ist 512, entspricht in diesem Fall einem Sektor, kann aber auch grösser sein. Dann wären mehrere Sektoren nacheinander nicht auslesbar.

Überschreiben kannst du den defekten Sektor im schlimmsten Fall mittels hdparm. Du musst die Position des Sektors aber erstmal noch zu LBA umrechnen: 0x1AD3A5600 / 512 = 14064939 rechnen. Achtung: Durch 512 ist nicht wegen der vorher beschriebenen Grösse des nicht auslesbaren Bereichs! Auch wenn die zb. zwei Sektoren entsprechen würde, um die LBA Position zu berechnen, musst du immer mit der Sektorgrösse der Festplatte (512) dividieren.

Damit kannst du dann den Sektor killen:

hdparm --yes-i-know-what-i-am-doing --write-sector 14064939 /dev/sdX

Aber, wenn du die Platte einschicken willst, würde ich die Sektoren gar nicht erst überschreiben.
 
Zuletzt bearbeitet:
Vielen Dank für die ausführliche Antwort.
Sobald es soweit ist werde ich es auf diese Weise versuchen.

Der Recovery-Prozess ist gerade bei 92% (Edit: bei ~93% Abbruch durch Lesefehler) und der Speicherplatz des RAID-Systems ist nicht komplett aufgebraucht. Kann es sein, dass die problematischen Sektoren keine Dateien betreffen?
Ich habe schon im Internet gesucht, wie man zu gegebenen Sektoren betroffene Dateien findet. Aber bisher waren alle Quellen zu ext2/3 und nicht zu ext4.

Ich denke es macht doch Sinn die Platten einzuschicken, oder?
Es scheint ja ein mechanischer Defekt vorhanden zu sein und apropos die 2. neue Platte weißt auch 8 Multi-Zone-Errors auf...
Selbst nach einem erfolgreichen Überschreiben würde ich den beiden Platten nicht mehr 100% trauen, oder sehr ihr das anders?
 
Ab mit beiden, bei ca. 114 Betriebsstunden, besser werden die wohl nicht.
 
ext2/3 und ext4 ist quasi dasselbe, den inode zum sektor findest du irgendwie mit debugfs heraus. länger her, dass ich das machen musste. dürfte aber wie gesagt bei ext4 gleich sein wie beim vorgänger.

einfach mal nach debugfs inode sector googeln. bei gerade mal 4 sektoren ist die wahrscheinlichkeit natürlich gering, dass etwas wichtiges davon betroffen ist.
 
@bu1137: Du überliest Post #1, es sind mehr als nur 4 Sektoren betroffen.
 
An Post #1 erkenne ich nicht, wieviele Sektoren defekt sind. Der Wert vom SMART Log ist natürlich auch nur ungefähr. Wirklich erfahren wird man es erst mit ddrescue. Trotzdem gehe ich nicht von viel mehr aus.
 
Executor1 schrieb:
Das mit Seatools für DOS gestaltet sich für mich sehr schwierig, da das System an dem die Platten angeschlossen sind weder CD-Rom Laufwerk noch Disketten-Laufwerk besitzt.
Mit USB-Stick unter Linux habe ich es probiert aber bisher nicht geschafft.
Ultimate Boot Stick runterladen, bootbaren Stick machen und ab dafür. Bei Seatools wird
vermutlich schon der Short Test failen. Schick die Dinger weg.
 
I/O error, dev sdb, sector 3592883168
I/O error, dev sdb, sector 3592883176
I/O error, dev sdb, sector 3592883184
I/O error, dev sdb, sector 3592884816
read error not correctable (sector 3592884824 on sdb)
read error not correctable (sector 3592884832 on sdb)
read error not correctable (sector 3592884840 on sdb)
read error not correctable (sector 3592884848 on sdb)
read error not correctable (sector 3592884856 on sdb)
read error not correctable (sector 3592884864 on sdb)
read error not correctable (sector 3592884872 on sdb)
read error not correctable (sector 3592884880 on sdb)
read error not correctable (sector 3592884888 on sdb)
 
Zurück
Oben