From: Mario 'BitKoenig' Holbe <Mario.Holbe@TU-Ilmenau.DE>
To: linux-raid@vger.kernel.org
Subject: Re: beginner error detection
Date: Mon, 26 Feb 2007 15:24:56 +0100 [thread overview]
Message-ID: <eruqjo$nvi$2@sea.gmane.org> (raw)
In-Reply-To: Pine.LNX.4.64.0702231301180.3550@tomka.hu
Tomka Gergely <gergely@tomka.hu> wrote:
> Can the raid1 detect and handle disk errors?
This is what it is designed for :)
> If one block goes wrong, how
> can the raid1 driver choose which was the correct, original value?
RAID1 depends on the disk to state errors. RAID1 does not ensure data
integrity. RAID1 cannot correctly handle a disk returning wrong data
(i.e. other data than written before). Only RAID2 is designed for such.
However, since todays disks have their own data integrity detection
(i.e. ECC), they should normally not return wrong data but read-errors
instead.
And assuming a drive returns either correct data or a read-error, it is
simple to choose which was the correct, original value :)
regards
Mario
--
> As Luke Leighton said once on samba-ntdom, "now, what was that about
> rebooting? that was so long ago, i had to look it up with man -k."
prev parent reply other threads:[~2007-02-26 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-23 12:11 beginner error detection Tomka Gergely
2007-02-26 14:24 ` Mario 'BitKoenig' Holbe [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='eruqjo$nvi$2@sea.gmane.org' \
--to=mario.holbe@tu-ilmenau.de \
--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).