raid 1 - automatic 'repair' possible?

From: Kiniger, Karl (GE Healthcare)
Date: Tue Jan 18 2005 - 16:23:14 EST


Hi all,

it has now happened five times to me and now the
threshold to write to this list has been reached :-) :
(kernel 2.4.21-9.TLsmp BTW)

idea for enhancement of software raid 1:

every time the raid determines that a sector cannot
be read it could at least try to overwrite the bad are
with good data from the other disk.

Doing a re-sync of the raid happened to make the failed disk
error free again. (its a 200 GB disk and re-syncing
takes some time).

in all cases a smart scan showed the sector really as bad
and after resync it was readable again and smart
scanning was error free again.

i already had the disk replaced in the past (same model,
Model=Maxtor 6Y200P0, FwRev=YAR41BW0, SerialNo=Y63J7TSE)
the disk is not hot (smart shows 19 celsius which may
be correct since the room is air conditioned) and
the bad sectors were not that close together on
the surface:

# 1 Extended off-line Completed: read failure 40% 3512 0x02ab8a02
# 6 Extended off-line Completed: read failure 40% 2308 0x00057a35
# 9 Extended off-line Completed: read failure 40% 2291 0x01b63b6a
#11 Extended off-line Completed: read failure 40% 1861 0x01f67b1a
#18 Extended off-line Completed: read failure 40% 679 0x01d7052a

interesting: (look at Reallocated_Sector_Ct - it is still zero...)

4 Start_Stop_Count 0x0032 253 253 000 Old_age - 3
5 Reallocated_Sector_Ct 0x0033 253 253 063 Pre-fail - 0
6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail - 0

What do you think? Ideas welcome.

Greetings and thanks for your time,
Karl

--
Karl Kiniger mailto:karl.kiniger@xxxxxxxxxx
GE Medical Systems Kretztechnik GmbH & Co OHG
Tiefenbach 15 Tel: (++43) 7682-3800-710
A-4871 Zipf Austria Fax: (++43) 7682-3800-47
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/