All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: device-mapper development <dm-devel@redhat.com>
Cc: Sebastian Herbszt <herbszt@gmx.de>
Subject: Re: Status of SCSI referrals support in dm-multipath
Date: Mon, 02 Jun 2014 08:34:50 +0200	[thread overview]
Message-ID: <538C1B0A.6080808@suse.de> (raw)
In-Reply-To: <20140601224650.000043de@localhost>

On 06/01/2014 10:46 PM, Sebastian Herbszt wrote:
> Hello,
>
> I am trying to find out the status of SCSI referrals support in dm-multipath.
> SCSI referrals support was a topic at LSF [1] but I wasn't able to find any
> information. Back in 2010 Hannes suggested the use of multiple entries in a
> multipath table [2] but this doesn't seem to work (anymore):
>
> [ 7750.354190] device-mapper: table: Request-based dm doesn't support multiple targets yet
>
> Is there any SCSI referrals support yet?
>
> [1] http://marc.info/?l=linux-scsi&m=129553880112460&w=2
> [2] http://www.redhat.com/archives/dm-devel/2010-June/msg00155.html
>
Not as of now. I've managed to push referrals support into 
target_core, so you now can set up a backend which supports referrals.

And for the multiple entries I've though to use a linear target on 
top of the multipath target.
The linear target would just split up the device in chunks, 
according to the referrals layout.
And then you would have several multipath devices (all referring to 
the same disk), one for each supported referrals ALUA configuration.
The linear target would then map each chunk to the correct multipath 
device.

It'll be a beast for failover, but should be possible.
And maybe it's better to use dm-switch here; the number or referrals 
might overflow dm-linear ...

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)

  reply	other threads:[~2014-06-02  6:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 20:46 Status of SCSI referrals support in dm-multipath Sebastian Herbszt
2014-06-02  6:34 ` Hannes Reinecke [this message]
2014-07-27 22:18   ` Sebastian Herbszt

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=538C1B0A.6080808@suse.de \
    --to=hare@suse.de \
    --cc=dm-devel@redhat.com \
    --cc=herbszt@gmx.de \
    /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.