lkml.org 
[lkml]   [2004]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: harddisk or kernel problem?
Nico,

> > [...]
> > FWIW, after reading this thread, I've slightly modified smartmontools so
> > that when smartctl prints the error log (-l error) it ALSO prints the LBA
> > at which a READ or WRITE command failed.
>
> Thank you very much for patching smartctl and explaining howto calulate
> the LBA from those values.

FWIW, I've just posted a short howto explaining how to identify the file
stored at the bad sector, and how to force sector reallocation at the bad
LBA. This will effectively 'repair' the disk though you will lose the
data in that disk block. Please see:

http://smartmontools.sourceforge.net/BadBlockHowTo.txt

Comments gratefully incorporated.

Cheers,
Bruce

-
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: 2005-03-22 14:01    [W:0.091 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site