Hard Drive Problems
Ben Pfaff
pfaffben@msu.edu
02 Nov 2000 15:42:40 -0500
"Matt Fuerst" <fuerstma@msu.edu> writes:
> Nov 2 14:54:09 cable kernel: Additional sense indicates Unrecovered read
> error
> Nov 2 14:54:09 cable kernel: scsidisk I/O error: dev 08:01, sector 945520
> Nov 2 14:54:09 cable kernel: scsi0: MEDIUM ERROR on channel 0, id 1, lun 0,
> CDB
> : Read (6) 0e 6d af 08 00
> Nov 2 14:54:09 cable kernel: Info fld=0xe6db4, Current sd08:01: sense key
> Mediu
> m Error
You might want to re-run badblocks on the disk ("badblocks
/dev/sda1" or whatever). It should print out block numbers that
are troublesome. (Alternatively, you may be able to calculate
block numbers from the sector numbers given in the log, but I'm
not quite sure how the mapping works.) Then, you can use "e2fsck
-L" to mark those blocks bad so that the filesystem won't attempt
to use them again.