Linux Device Mapper development
 help / color / mirror / Atom feed
From: Peter Volkov <peter.volkov@gmail.com>
To: dm-devel@redhat.com
Subject: multipath: rdac on IBM 1746 (SAS connection to DS3512)
Date: Wed, 09 Feb 2011 12:37:31 +0300	[thread overview]
Message-ID: <1297244251.10348.14.camel@tablet> (raw)

Hi. We have Bladecenter H with HS22 servers inside. All servers have 
0b:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064ET
PCI-Express Fusion-MPT SAS (rev 10)
with two possible external SAS connections which we use to connect them
with DS3512 (IBM datastorage) using two SAS cables and thus multipath
configuration is in place. We use ubuntu 10.04 here and since in-stock
scsi_dh_rdac kernel module does not support IBM 1746 devices I've
patched it and rebuild kernel. Now, as I modproble module I see the
following in dmesg:

[   27.861388] sd 0:0:2:1: rdac: LUN 1 (owned)
[   27.861836] sd 0:0:3:1: rdac: LUN 1 (unowned)
[   27.861840] rdac: device handler registered

That's Ok, but multipath output does not have rdac:

root@btv1:~# multipath -l
vod (360080e50001baa46000025834d501798) dm-0 IBM     ,1746      FASt
[size=13T][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
 \_ 0:0:2:1 sdc 8:32  [active][undef]
\_ round-robin 0 [prio=0][enabled]
 \_ 0:0:3:1 sdd 8:48  [active][undef]


Is this normal? On Gentoo system connected to the same DS I see:

mon1 ~ # multipath -l
vod (360080e50001baa46000025834d501798) dm-0 IBM,1746      FAStT
size=13T features='3 queue_if_no_path pg_init_retries 50' hwhandler='1
rdac' wp=rw
|-+- policy='round-robin 0' prio=-1 status=active
| `- 0:0:2:1 sdc 8:32 active undef running
`-+- policy='round-robin 0' prio=-1 status=enabled
  `- 0:0:3:1 sdd 8:48 active undef running

Could you tell me what's hwhandler and why it's 0 in one case and 1 in
another.

Many thanks for any explanations in advance,
-- 
Peter.

             reply	other threads:[~2011-02-09  9:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09  9:37 Peter Volkov [this message]
2011-02-09  9:49 ` multipath: rdac on IBM 1746 (SAS connection to DS3512) Christophe Varoqui
2011-02-09 10:08   ` Peter Volkov
2011-02-09 17:58     ` Malahal Naineni
     [not found]     ` <1297246940.29348.11.camel@zezette>
2011-02-12  9:12       ` multipath: partitions are not created " Peter Volkov
2011-02-12 11:12         ` Christophe Varoqui

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=1297244251.10348.14.camel@tablet \
    --to=peter.volkov@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox