All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chandra Seetharaman <sekharan@us.ibm.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: dm-rdac problem
Date: Wed, 12 Mar 2008 11:14:23 -0700	[thread overview]
Message-ID: <1205345663.31859.47.camel@linuxchandra> (raw)
In-Reply-To: <Pine.LNX.4.64.0803121506220.5697@paranoid.lipkowski.org>

On Wed, 2008-03-12 at 16:36 +0100, Jacek Lipkowski wrote:
> Hello,
> 
> I'm having a problem with getting dm-rdac to work. I do realize that this 
> is a development list, but it seems like the only place to ask for help, 
> and http://christophe.varoqui.free.fr is down. In the logs i get the 
> following errors, after starting multipathd:
> 
> device-mapper: multipath rdac: using RDAC command with timeout 60000
> device-mapper: table: 253:0: multipath: Unknown error
> device-mapper: ioctl: error adding target to table
> 
> multipath -ll doesn't show anything.

Can you send the o/p of "multipath -v4". Also, can you change the
prio_callout from  mpath_prio_rdac to mpath_prio_tpc.
> 
> The system is the following:
> - centos 5.1, with kernel changed to vanilla 2.6.24.3
> - tried both multipath-tools from centos (patched 0.4.7), and vanilla 
> 0.4.8
> - 2 qlogic QLA2340 hba's, connected to different fabrics
> - 2 IBM DS4500 Storage Servers (each connected to both fabrics), each 
> exports two luns, one 1.5TB lun, and one 100MB lun. I've also tried using 
> one IBM DS4500 Storage Server with one 1.5TB lun, and one 100MB lun.
> 
> If i disable AVT (change the host type from Linux to LNXCLVMWARE) i also 
> get read errors from unavaliable paths:
> end_request: I/O error, dev sda, sector 0
> end_request: I/O error, dev sdd, sector 0
> etc... (this is normal).
> 
> I can get multipath to work using the tur checker.

If you are running in AVT, you do not need dm-rdac (or the rdac path
checker) at all. Do you see any problems if you do not have them in your
multipath.conf file ?

> 
> my /etc/multipath.conf is the following:
> defaults {
>     multipath_tool "/sbin/multipath -v 0 -S"
>     udev_dir         /dev
>     polling_interval 10
>     default_selector         round-robin
>     default_selector_args 0
>     default_path_grouping_policy     failover
>     default_getuid_callout "/sbin/scsi_id -g -u -s"
>     default_prio_callout     "/bin/false"
> user_friendly_names yes
> }
> devnode_blacklist {
>     devnode fd
>     devnode hd
>     devnode dm
>     devnode sr
>     devnode scd
>     devnode st
>     devnode ram
>     devnode raw
>     devnode loop
> #root fs is on /dev/rd/c0d0
> #   devnode sda
> #   devnode sdb
> }
> 
> 
> devices {
>     device {
>        vendor IBM
>        product 1742-900
>        path_grouping_policy group_by_prio
> hardware_handler        "1 rdac"
> prio_callout            "/sbin/mpath_prio_rdac /dev/%n"
>                  failback                immediate
>        path_checker rdac
> getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
>     }
> }
> 
> 
> multipaths {
>          multipath {
>                  device {
>                          vendor IBM
>                          product 1742-900
>                  }
>          }
> }
> 
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
-- 

----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - sekharan@us.ibm.com   |      .......you may get it.
----------------------------------------------------------------------

  reply	other threads:[~2008-03-12 18:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12 15:36 dm-rdac problem Jacek Lipkowski
2008-03-12 18:14 ` Chandra Seetharaman [this message]
2008-03-12 19:21   ` Jacek Lipkowski

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=1205345663.31859.47.camel@linuxchandra \
    --to=sekharan@us.ibm.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 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.