From: Lars Marowsky-Bree <lmb@suse.de>
To: linux-raid@vger.kernel.org
Subject: Re: [PATCH] secure write for RAID1
Date: Wed, 27 Apr 2005 08:05:31 +0200 [thread overview]
Message-ID: <20050427060531.GH4431@marowsky-bree.de> (raw)
In-Reply-To: <17007.1524.476174.515614@cse.unsw.edu.au>
On 2005-04-27T13:24:36, Neil Brown <neilb@cse.unsw.edu.au> wrote:
> On Saturday April 23, ptb@lab.it.uc3m.es wrote:
> > This patch (completely untested of course - what, me?) makes RAID1 write
> > to all components of a raid-1 array, else return error to the write
> > attempt, when one component cannot be written.
> I don't understand why or when you would want this.
>
> This wouldn't just return an error to the application if the write
> wasn't completely safe. It would cause the filesystem to switch to
> read-only very quickly and make your machine un-usable. Is that
> really what you want??
Databases sometimes want this (also for replication).
They'd rather fail than potentially lose a committed transaction, and to
that end they require that the data be written to at least two disks; ie
they want the data to be able to withstand at least one failure. We've
had such a request from a big database vendor for drbd too.
(This however is a great application for >2 mirrors and a write quorum
of two, though.)
Sincerely,
Lars Marowsky-Brée <lmb@suse.de>
--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2005-04-27 6:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-23 20:48 [PATCH] secure write for RAID1 Peter T. Breuer
2005-04-25 12:33 ` Lars Marowsky-Bree
2005-04-25 15:52 ` Peter T. Breuer
2005-04-25 16:29 ` Peter T. Breuer
2005-04-25 17:03 ` Lars Marowsky-Bree
2005-04-27 3:24 ` Neil Brown
2005-04-27 6:05 ` Lars Marowsky-Bree [this message]
2005-04-27 11:26 ` Luca Berra
2005-04-28 12:34 ` Tom Coughlan
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=20050427060531.GH4431@marowsky-bree.de \
--to=lmb@suse.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).