From: Patrik Jonsson <patrik@ucolick.org>
To: dean gaudet <dean@arctic.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: forcing a read on a known bad block
Date: Tue, 11 Apr 2006 15:15:56 -0700 [thread overview]
Message-ID: <443C2A9C.7000908@ucolick.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0604092000020.29514@twinlark.arctic.org>
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
hi dean,
dean gaudet wrote:
>
> the other disk was in a raid5 ... 5 disk raid5, so 20% chance of the bad
> block being in parity. i copied the kernel code to be sure, and sure
> enough the bad block was in parity... just bad luck :) so i can't force a
> read there any way that i know of...
well, for raid5 you can use 'echo repair > /sys/block/mdx/md/sync_action'
This does a 'simulated reconstruction' and has triggered this for me in
the past. (For some reason 'check' instead of 'repair' did not, even
though it should have tried to read all the blocks then, too...)
That said, I have one disk in an 8-disk raid5 that says 'current pending
sector 1', and another that says 'offline uncorrectable 1', and they
have been doing so for months. Neither SMART extended tests or full
raid5 resyncs have either failed or fixed this, so I don't know what's
up with that...
cheers,
/Patrik
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next prev parent reply other threads:[~2006-04-11 22:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-11 21:57 forcing a read on a known bad block dean gaudet
2006-04-11 22:15 ` Patrik Jonsson [this message]
2006-04-11 22:37 ` [RAID] " Julian Cowley
2006-04-12 5:18 ` Luca Berra
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=443C2A9C.7000908@ucolick.org \
--to=patrik@ucolick.org \
--cc=dean@arctic.org \
--cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).