lkml.org 
[lkml]   [2004]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Strange I/O errors for hard-disk driver with bad sectors
From
Date
On Maw, 2004-11-16 at 16:22, Anton Lavrentiev wrote:
> Or, there are indeed few bad sectors in a row that kernel
> reports by using sector number of the first one, which it
> couldn't read?
>
> I also used dd to skip to the sectors that it reported as
> unreadable, and read them one by one -- no success, but the
> kernel keeps reporting the same "magic" sector number for
> all these attempts:

Disk sectors in software and disk sectors in the magic internal world of
the disk are not neccessarily the same size so don't be suprised to lose
a bunch.

If you want to read exact sectors without readahead and other
complications
use O_DIRECT I/O

-
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:08    [W:0.040 / U:1.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site