From: David Teigland <teigland@redhat.com>
To: Goldwyn Rodrigues <rgoldwyn@suse.com>
Cc: linux-kernel@vger.kernel.org, NeilBrown <neilb@suse.de>
Subject: Re: clustered MD
Date: Wed, 10 Jun 2015 10:48:34 -0500 [thread overview]
Message-ID: <20150610154834.GC333@redhat.com> (raw)
In-Reply-To: <5578575F.1040006@suse.com>
On Wed, Jun 10, 2015 at 10:27:27AM -0500, Goldwyn Rodrigues wrote:
> I thought I answered that:
> To use a software RAID1 across multiple nodes of a cluster. Let me
> explain in more words..
>
> In a cluster with multiple nodes with a shared storage, such as a
> SAN. The shared device becomes a single point of failure.
OK, shared storage, that's an important starting point that was never
clear.
> If the
> device loses power, you will lose everything. A solution proposed is
> to use software RAID, say with two SAN switches with different
> devices and create a RAID1 on it. So if you lose power on one switch
> or one of the device is fails the other is still available. Once you
> get the other switch/device back up, it would resync the devices.
OK, MD RAID1 on shared disks.
> >, and exactly
> >what breaks when you use raid1 in that way? Once we've established the
> >technical problem, then I can fairly evaluate your solution for it.
>
> Data consistency breaks. If node 1 is writing to the RAID1 device,
> you have to make sure the data between the two RAID devices is
> consistent. With software raid, this is performed with bitmaps. The
> DLM is used to maintain data consistency.
What's different about disks being on SAN that breaks data consistency vs
disks being locally attached? Where did the dlm come into the picture?
> Device failure can be partial. Say, only node 1 sees that one of the
> device has failed (link break). You need to "tell" other nodes not
> to use the device and that the array is degraded.
Why?
> In case of node failure, the blocks of the failed nodes must be
> synced before the cluster can continue operation.
What do cluster/node failures have to do with syncing mirror copies?
> Does that explain the situation?
No. I don't see what clusters have to do with MD RAID1 devices, they seem
like completely orthogonal concepts.
next prev parent reply other threads:[~2015-06-10 15:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 18:22 clustered MD David Teigland
2015-06-09 19:26 ` Goldwyn Rodrigues
2015-06-09 19:45 ` David Teigland
2015-06-09 20:08 ` Goldwyn Rodrigues
2015-06-09 20:30 ` David Teigland
2015-06-09 20:33 ` David Lang
2015-06-10 3:33 ` Goldwyn Rodrigues
2015-06-10 8:00 ` Richard Weinberger
2015-06-10 13:59 ` Goldwyn Rodrigues
2015-06-10 15:01 ` David Teigland
2015-06-10 15:27 ` Goldwyn Rodrigues
2015-06-10 15:48 ` David Teigland [this message]
2015-06-10 16:23 ` Goldwyn Rodrigues
2015-06-10 17:05 ` David Teigland
2015-06-10 19:22 ` David Teigland
2015-06-10 20:31 ` Neil Brown
2015-06-10 21:07 ` David Teigland
2015-06-10 22:11 ` David Teigland
2015-06-10 22:50 ` Neil Brown
2015-06-12 18:46 ` David Teigland
2015-06-14 22:19 ` Goldwyn Rodrigues
2015-06-23 1:34 ` NeilBrown
2015-06-09 20:14 ` Goldwyn Rodrigues
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=20150610154834.GC333@redhat.com \
--to=teigland@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=rgoldwyn@suse.com \
/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