From: John Robinson <john.robinson@anonymous.org.uk>
To: keld@keldix.com
Cc: jakub@gooseman.cz, Mikael Abrahamsson <swmike@swm.pp.se>,
NeilBrown <neilb@suse.de>,
linux-raid@vger.kernel.org
Subject: Re: bug: 4-disk md raid10 far2 can be assembled clean with only two disks, causing silent data corruption
Date: Tue, 25 Sep 2012 12:47:10 +0100 [thread overview]
Message-ID: <506199BE.4020009@anonymous.org.uk> (raw)
In-Reply-To: <20120925111438.GB13022@www5.open-std.org>
On 25/09/2012 12:14, keld@keldix.com wrote:
[...]
> A mirrored raid should be able to still function also for writes,
> when this is still possible. A raid10,far with 4 disks should be able to function with 2
> failed disks (in the best case). As long as all data is available and the 2 remaining functional
> disks are OK, they should be able to function fully normally. Of cause there needs to
> be warnings of the fact that 2 disks have failed. But it should not be recorded
> in the log for each write failed for the non-functioning disks.
Yes but in thise case, two adjacent devices have failed, so we cannot
read from or write to a quarter of the array.
I think I agree that the OP's dd command, which would certainly have
tried to write to an area of the array there was no backing store for,
ought to have failed with an error message, and that the failure
behaviour ought to be the same for f2 as it is for n2.
Cheers,
John.
next prev parent reply other threads:[~2012-09-25 11:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-24 13:37 bug: 4-disk md raid10 far2 can be assembled clean with only two disks, causing silent data corruption Jakub Husák
2012-09-25 4:19 ` NeilBrown
2012-09-25 5:00 ` Mikael Abrahamsson
2012-09-25 9:48 ` jakub
2012-09-25 11:14 ` keld
2012-09-25 11:47 ` John Robinson [this message]
2012-09-25 12:32 ` NeilBrown
[not found] ` <50628B39.90205@gooseman.cz>
2012-09-26 5:41 ` NeilBrown
2012-09-26 8:28 ` keld
2012-09-26 8:59 ` John Robinson
2012-09-26 9:08 ` keld
2012-09-26 9:23 ` keld
[not found] ` <5067F014.5020600@gooseman.cz>
2012-09-30 10:24 ` keld
[not found] <50601CED.1050607@gooseman.cz>
2012-09-24 8:46 ` bug: 4-disk md raid10 far2 can be assembled clean with only two disks, causing "silent" " Jakub Husák
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=506199BE.4020009@anonymous.org.uk \
--to=john.robinson@anonymous.org.uk \
--cc=jakub@gooseman.cz \
--cc=keld@keldix.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
--cc=swmike@swm.pp.se \
/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).