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: RH 4 and HSG80
Date: Wed, 01 Aug 2007 11:50:24 -0700	[thread overview]
Message-ID: <1185994224.17399.102.camel@linuxchandra> (raw)
In-Reply-To: <20070801175946.GA28302@us.ibm.com>

On Wed, 2007-08-01 at 10:59 -0700, malahal@us.ibm.com wrote:
> Stefan Bader [Stefan.Bader@de.ibm.com] wrote:
> > I have no access to HSGs but maybe this generic statements (plus some 
> > wisdom from hwtable.c) helps:
> > 
> > First, you are actually forcing multipath-tools to use all paths by 
> > stating "multibus" in you multipath section.
> > Everything you put there will replace the defaults and the device 
> > sections. Just be minimalistic there. In the
> 
> One would expect that whatever is specified in the 'device' section would
> be taken for that device no matter what is in the 'defaults' section. If
> device section is missing, then it should use from the 'defaults'
> section. Why is it implemented to have the 'defaults' section override the
> 'device' section? Looks odd to me.

You are right, Malahal. Defaults section does not override the device
section. It just overrides internal default (hwtable.c).

To my understanding the order of attribute override is as under:

internal default (hwtable.c)
defaults section (in /etc/multipath.conf)
device section   (in /etc/multipath.conf)
multipaths section (in /etc/multipath.conf)

There were two things in Eric's multipath.conf which caused his problems
 - setting multibus as the path grouping policy (in multipaths section) 
   for a device that is active/passive (it should be ideally
    group_by_prio, but group_by_serial also works).
 - using /bin/true as prio_callout. As Stefan pointed prio_callout
   should be an appropriate one for the device.

> Thanks, Malahal.
> 
> --
> 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:[~2007-08-01 18:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-01 14:53 RH 4 and HSG80 Eric Ritchie
2007-08-01 15:39 ` Stefan Bader
2007-08-01 17:11   ` Eric Ritchie
2007-08-01 18:52     ` Chandra Seetharaman
2007-08-01 18:59       ` Eric Ritchie
2007-08-01 20:58         ` Chandra Seetharaman
2007-08-02  6:27       ` Hannes Reinecke
2007-08-01 20:20     ` Bernd Zeimetz
2007-08-01 17:59   ` malahal
2007-08-01 18:50     ` Chandra Seetharaman [this message]

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=1185994224.17399.102.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.