All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: good dm-mpath test setup?
Date: Thu, 05 Jun 2014 14:14:17 +0200	[thread overview]
Message-ID: <53905F19.2070401@suse.de> (raw)
In-Reply-To: <20140605115011.GA816@infradead.org>

[-- Attachment #1: Type: text/plain, Size: 1346 bytes --]

On 06/05/2014 01:50 PM, Christoph Hellwig wrote:
> I've been looking into support blk-mq/scsi-mq in dm-mpath, but I'm
> already running into issues with mainline.  I created a couple luns
> (without second path) using iet, and then using the iscsi initiator
> to access them.  But it seems like no I/O is possible through dm-mpath
> for this simple setup as the kpartx processes spawned by udev already
> hang.  Is dm-mpath (default config, no multipath.conf) support to work
> for a single path setup, or is this expected behavior?
>
Hmm. This shouldn't happen.

But be aware, that multipath doesn't play well together with systemd 
currently.
I've done plenty of fixes to get it up and running for SLES12; once 
they've stabilized I'll be sending them mainline.

But for a stable testbed I would recommend against systemd currently.

> Does anyone have a good default iet or maybe lio config for dm-mpath
> testing?
>
The easiest bit would be set set up lio in loopback mode, and map 
two luns pointing to the same device.

I've attached a small script I'm using for a quick test here.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

[-- Attachment #2: setup_loopback.sh --]
[-- Type: application/x-shellscript, Size: 1240 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2014-06-05 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 11:50 good dm-mpath test setup? Christoph Hellwig
2014-06-05 12:14 ` Hannes Reinecke [this message]
2014-06-05 14:49   ` Christoph Hellwig
2014-06-05 12:17 ` Hannes Reinecke
2014-06-05 12:20   ` Christoph Hellwig

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=53905F19.2070401@suse.de \
    --to=hare@suse.de \
    --cc=dm-devel@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.