linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Clements <paul.clements@steeleye.com>
To: Christopher Smith <csmith@nighthawkrad.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: Problems with software RAID + iSCSI or GNBD
Date: Tue, 28 Jun 2005 21:11:39 -0400	[thread overview]
Message-ID: <42C1F54B.1060405@steeleye.com> (raw)
In-Reply-To: <42BF67A2.6040601@nighthawkrad.net>

Christopher Smith wrote:

>  stitch it together into a RAID1.  So, it looks like this:
> 
>              "Concentrator"
>                 /dev/md0
>                  /     \
>              GigE       GigE
>                /         \
>     "Disk node 1"       "Disk node 2"
> 
> So far I've tried using iSCSI and GNBD as the "back end" to make the 
> disk space in the nodes visible to the concentrator.  I've had two 
> problems, one unique to using iSCSI and the other common to both.

Personally, I wouldn't mess with iSCSI or GNBD. You don't need GNBD in 
this scenario anyway; simple nbd (which is in the mainline kernel...get 
the userland tools at sourceforge.net/projects/nbd) will do just fine, 
and I'd be willing to bet that it is more stable and faster...


> Problem 2: The system doesn't deal with failure very well.
> 
> Once I got the RAID1 up and running, I tried to simulate a node failure 
> by pulling the network cable from the node while disk activity was 
> taking place.  I was hoping the concentrator would detect the "disk" had 
> failed and simply drop it from the array (so it could later be simply 
> re-added).  Unfortunately that doesn't appear to happen.  What does 
> happen is that all IO to the md device "hangs" (eg: disktest throughput 
> drops to 0M/sec), I am unable to either 'cat /prod/mdstat' to see the md 
> device's status or use mdadm to manually fail the device - both simply 
> result in the command "hanging".

Well, that's the fault of either iSCSI or GNBD. md/raid1 over nbd works 
flawlessly in this scenario on 2.6 kernels (for 2.4, you'll need a 
special patch -- ask me for it, if you want).

--
Paul

  parent reply	other threads:[~2005-06-29  1:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27  2:42 Problems with software RAID + iSCSI or GNBD Christopher Smith
2005-06-28 16:05 ` Michael Stumpf
2005-06-29  2:09   ` Christopher Smith
2005-06-29  1:11 ` Paul Clements [this message]
2005-06-29  4:42   ` Christopher Smith
2005-06-29 14:40     ` Bill Davidsen
2005-06-29 15:24       ` David Dougall
2005-06-29 15:59         ` Bill Davidsen
2005-06-30 18:05         ` J. Ryan Earl

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=42C1F54B.1060405@steeleye.com \
    --to=paul.clements@steeleye.com \
    --cc=csmith@nighthawkrad.net \
    --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).