From: Chandra Seetharaman <sekharan@us.ibm.com>
To: Tore Anderson <tore@linpro.no>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: dm-rdac not working?
Date: Mon, 27 Aug 2007 14:26:05 -0700 [thread overview]
Message-ID: <1188249965.9504.45.camel@linuxchandra> (raw)
In-Reply-To: <46D33BAA.8090807@linpro.no>
[-- Attachment #1: Type: text/plain, Size: 2120 bytes --]
On Mon, 2007-08-27 at 23:01 +0200, Tore Anderson wrote:
> * Chandra Seetharaman
>
> > tur checker just sends a test unit ready to see if the path is good.
> > Whereas rdac sends a c9 page inquiry and determines the state of the
> > path.
>
> Okay. I'm not really sure if I understand what practical difference
> there is between the two, though... The TUR check seems to fail like
> it's supposed to if the path goes bad.
In RDAC mode, tur will always fail on the passive path. You do not see
that ?
>
> > That is true. But, I am wondering if what you have is based on the
> > LSI Engenio based controller (and hence the controller does not
> > understand the MODE_SELECT command).
>
> It's an Engenio 3994 that came with a sticker on it that says Sun
> StorageTek 6140.
>
> > What mode do you have your storage device configured in ? rdac or AVT
> > ?
>
> Host-type "Linux", which means RDAC (AVT is mostly unusable for
> clusters because of all the unwanted volume transfers it causes). It's
> supposed to be used with LSI's RDAC 09.01.B2.xx driver, but that one
> doesn't work with recent kernels unfortunately.
>
> > Where did you get mpath_prio_rdac from ?
> >
> > In 0.4.7 you could use mpath_prio_tpc instead (it behaves exactly as
> > mpath_prio_rdac in 0.4.8).
>
> I got it from the 0.4.8 sources - mpath_prio_tpc complained a lot
> about AVT mode being disabled, which screwed up my multipath -ll output
> so I just got the new version instead.
You mean mpath_prio_tpc from 0.4.7 ? I use it all the time in both RDAC
and AVT mode with no issues.
>
> > Can you apply the attached debug patch, repeat your test and send me
> > the log.
>
> Sure, but I think you forgot to actually attach the patch... (Happens
> to me too all the time!)
oops :)... attached
>
> Regards
--
----------------------------------------------------------------------
Chandra Seetharaman | Be careful what you choose....
- sekharan@us.ibm.com | .......you may get it.
----------------------------------------------------------------------
[-- Attachment #2: debug --]
[-- Type: text/x-patch, Size: 617 bytes --]
Index: linux-2.6.22/drivers/md/dm-mpath-rdac.c
===================================================================
--- linux-2.6.22.orig/drivers/md/dm-mpath-rdac.c
+++ linux-2.6.22/drivers/md/dm-mpath-rdac.c
@@ -229,6 +229,13 @@ static void mode_select_endio(struct req
struct scsi_sense_hdr sense_hdr;
int sense = 0, fail = 0;
+ DMINFO("MODE_SELECT of %s returned error %d; host_byte 0x%x, "
+ "msg_byte 0x%x, status_byte 0x%x\n",
+ h->path->dev->name, error,
+ host_byte(req->errors),
+ msg_byte(req->errors),
+ status_byte(req->errors));
+
if (had_failures(req, error)) {
fail = 1;
goto failed;
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2007-08-27 21:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-27 14:41 dm-rdac not working? Tore Anderson
2007-08-27 17:33 ` Chandra Seetharaman
2007-08-27 18:31 ` Tore Anderson
2007-08-27 20:08 ` Chandra Seetharaman
[not found] ` <46D33BAA.8090807@linpro.no>
2007-08-27 21:26 ` Chandra Seetharaman [this message]
[not found] ` <46D3C099.7080504@linpro.no>
[not found] ` <1188326877.12737.1.camel@linuxchandra>
2007-08-29 7:10 ` 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=1188249965.9504.45.camel@linuxchandra \
--to=sekharan@us.ibm.com \
--cc=dm-devel@redhat.com \
--cc=tore@linpro.no \
/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.