From: "Sebastian Herbszt" <herbszt@gmx.de>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Round Robin vs Active/Passive
Date: Fri, 23 May 2008 23:16:56 +0200 [thread overview]
Message-ID: <01d601c8bd1a$c5fd99b0$0201a8c0@zeug> (raw)
In-Reply-To: 4836A075.9090008@linpro.no
From: "Tore Anderson"
> Unfortunately I have found no way to detect if an array is operating in
> ALUA or PNR mode and have dm-multipath automatically apply different
> device{} sections based on that. I have some nodes that are connected
> to both my CX3 and an old CX200 (which doesn't support ALUA), and due to
> this I need to use PNR mode on the CX3 too, wich kinda sucks. Time to
> get rid of the CX200 I guess.
The comment and code from libmultipath/prioritizers/emc.c
if ( /* Effective initiator type */
sense_buffer[27] != 0x03
/*
* Failover mode should be set to 1 (PNR failover mode)
* or 4 (ALUA failover mode).
*/
|| (((sense_buffer[28] & 0x07) != 0x04) &&
((sense_buffer[28] & 0x07) != 0x06))
/* Arraycommpath should be set to 1 */
|| (sense_buffer[30] & 0x04) != 0x04) {
pp_emc_log(0, "path not correctly configured for failover");
}
doesn't help with the detection part?
- Sebastian
next prev parent reply other threads:[~2008-05-23 21:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8a6b34b03e0524aa66c862534fee9b7a@www3.mail.volny.cz>
2008-05-21 11:41 ` INFO: task md2_resync:7950 blocked for more than 120 seconds Neil Brown
2008-05-21 14:48 ` Round Robin vs Active/Passive Craig Simpson
2008-05-21 15:32 ` Craig Simpson
2008-05-21 18:23 ` Tore Anderson
2008-05-21 20:21 ` Craig Simpson
2008-05-21 21:01 ` Tore Anderson
2008-05-21 21:49 ` Craig Simpson
2008-05-21 23:41 ` Craig Simpson
2008-05-22 12:00 ` Tore Anderson
2008-05-22 8:24 ` Domenico Viggiani
2008-05-22 11:57 ` Tore Anderson
2008-05-23 7:16 ` Hannes Reinecke
2008-05-23 8:00 ` Tore Anderson
2008-05-23 8:55 ` Hannes Reinecke
2008-05-23 9:42 ` Tore Anderson
2008-05-23 10:36 ` Domenico Viggiani
2008-05-23 10:46 ` Tore Anderson
2008-05-23 21:16 ` Sebastian Herbszt [this message]
2008-06-05 6:54 ` Tore Anderson
2008-06-05 7:20 ` Hannes Reinecke
2008-06-06 7:19 ` Tore Anderson
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='01d601c8bd1a$c5fd99b0$0201a8c0@zeug' \
--to=herbszt@gmx.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.