From: Dick Snippe <Dick.Snippe@tech.omroep.nl>
To: linux-raid@vger.kernel.org
Subject: try to write back redundant data before failing disk in raid5 setup
Date: Mon, 1 May 2006 01:17:42 +0200 [thread overview]
Message-ID: <20060430231742.GC24146@tech.omroep.nl> (raw)
Hello,
Suppose a read action on a disk which is member of a raid5 (or raid1 or any
other raid where there's data redundancy) fails.
What ahppens next is that the entire disk is marked as "failed" and a raid5
rebuild is initiated.
However, that seems like overkill to me. If only one sector on one disk
failed, that sector could be re-calculated (using parity calculations)
AND written back to the original disk (i.e. the disk with the bad sector).
Any modern disk will do sector remapping, so the bad sector will simply be
replaced by a good one and there's no need to fail the entire disk.
The reason I bring this up is that I think raid5 rebuilds are 'scary'
things. Suppose a raid5 rebuild is initiated while other members of the
raid5 set have bad -but yet undetected- sectors scattered around the disc
(Current_Pending_Sector in smartd speak). Now this raid5 rebuild would fail,
losing the entire raid5 set. While each and every bit in the raid5 set might
still be salvagable! (I've seen this happen on 5x250Gb raid5 sets.)
Does anyone on this list have any opinions about this issue?
--
Dick Snippe - Publieke Omroep Internet Services
Gebouw 12.401 (peperbus) Sumatralaan 45 Hilversum \ fight war
tel +31 35 6774252, email beheer@omroep.nl []() \ not wars
next reply other threads:[~2006-04-30 23:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-30 23:17 Dick Snippe [this message]
2006-04-30 23:55 ` try to write back redundant data before failing disk in raid5 setup Dick Snippe
2006-04-30 23:59 ` Neil Brown
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=20060430231742.GC24146@tech.omroep.nl \
--to=dick.snippe@tech.omroep.nl \
--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).