Messages in this thread | | | Date | Tue, 2 Mar 2004 14:07:55 -0600 (CST) | From | Bruce Allen <> | Subject | Re: 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/
| |