From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Anton Lavrentiev <anton_lavrentiev@yahoo.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Strange I/O errors for hard-disk driver with bad sectors
Date: Wed, 17 Nov 2004 15:42:40 +0000 [thread overview]
Message-ID: <1100706158.419.44.camel@localhost.localdomain> (raw)
In-Reply-To: <20041116162230.74768.qmail@web52302.mail.yahoo.com>
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
prev parent reply other threads:[~2004-11-17 16:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-16 16:22 Strange I/O errors for hard-disk driver with bad sectors Anton Lavrentiev
2004-11-17 15:42 ` Alan Cox [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1100706158.419.44.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=anton_lavrentiev@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox