lkml.org 
[lkml]   [2006]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Scsi errors with Megaraid 300-8x
Johan Groth wrote:
> Justin Piszcz wrote:
>> Run badblocks in r+w mode on the bad disk and it will force the disk
>> to re-allocate the bad sector if it can.
>>
>> Justin.
>
> Is that possible to do in a non-destructive way? I don't want to loose
> all data and apparently I can't back it up either :(.

Yes, it is perfectly doable, but I don't think anyone has yet bothered
to release a utility that actually does it.

OPPORTUNITY FOR FAME AND FORTUNE! (okay, maybe just some fame):
=================================
Hack the existing smartctl code to read out the failed sector numbers,
and then issue single-sector read-overwrite to each of those bad sectors.

Very simple code. I'll do it myself eventually, but please beat me to it!

Cheers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-24 16:51    [W:1.505 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site