* order of preference / multipath.conf
@ 2007-11-21 14:51 Paul Cote
2007-11-21 16:14 ` Tore Anderson
2007-11-21 16:48 ` Stefan Bader
0 siblings, 2 replies; 5+ messages in thread
From: Paul Cote @ 2007-11-21 14:51 UTC (permalink / raw)
To: device-mapper development
[-- Attachment #1.1: Type: text/plain, Size: 656 bytes --]
I found this in an old thread and want to confirm as it will influence
how/what we include in multipath.conf
Is the following order of preference accurate?
1) Multipaths section (in /etc/multipath.conf)
2) Device section (in /etc/multipath.conf)
3) Defaults section (in /etc/multipath.conf)
4) Internal default (hwtable.c)
If so; then inclusions in the default section; such as setting multibus
as the path grouping policy; would adversely affect any active / passive
array definitions in hwtable.c.
There really should be more guidance concerning these matters. Is this
documented somewhere?
Thanks,
Paul
[-- Attachment #1.2: Type: text/html, Size: 3204 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: order of preference / multipath.conf
2007-11-21 14:51 order of preference / multipath.conf Paul Cote
@ 2007-11-21 16:14 ` Tore Anderson
2007-11-21 16:48 ` Stefan Bader
1 sibling, 0 replies; 5+ messages in thread
From: Tore Anderson @ 2007-11-21 16:14 UTC (permalink / raw)
To: device-mapper development
* Paul Cote
> Is the following order of preference accurate?
>
>
> 1) Multipaths section (in /etc/multipath.conf)
> 2) Device section (in /etc/multipath.conf)
> 3) Defaults section (in /etc/multipath.conf)
> 4) Internal default (hwtable.c)
I think maybe that number 3 and 4 is swapped, but don't take my word for
it. It should be easy to do some tests and figure it out for yourself
by using the "show config" command inside the "multipathd -k" shell with
a few different configuration files.
Regards
--
Tore Anderson
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: order of preference / multipath.conf
2007-11-21 14:51 order of preference / multipath.conf Paul Cote
2007-11-21 16:14 ` Tore Anderson
@ 2007-11-21 16:48 ` Stefan Bader
2007-11-21 17:01 ` Paul Cote
1 sibling, 1 reply; 5+ messages in thread
From: Stefan Bader @ 2007-11-21 16:48 UTC (permalink / raw)
To: device-mapper development
[-- Attachment #1.1: Type: text/plain, Size: 534 bytes --]
2007/11/21, Paul Cote <paul.cote@incipient.com>:
>
>
>
> I found this in an old thread and want to confirm as it will influence
> how/what we include in multipath.conf
>
>
>
> Is the following order of preference accurate?
>
>
>
> 1) Multipaths section (in /etc/multipath.conf)
>
> 2) Device section (in /etc/multipath.conf)
>
> 3) Defaults section (in /etc/multipath.conf)
>
> 4) Internal default (hwtable.c)
>
>
>
> The last two (3 and 4) are the other way round. If there is an entry in
hwtable.c, this will take effect.
Stefan
[-- Attachment #1.2: Type: text/html, Size: 1884 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: order of preference / multipath.conf
2007-11-21 16:48 ` Stefan Bader
@ 2007-11-21 17:01 ` Paul Cote
0 siblings, 0 replies; 5+ messages in thread
From: Paul Cote @ 2007-11-21 17:01 UTC (permalink / raw)
To: device-mapper development
[-- Attachment #1.1: Type: text/plain, Size: 929 bytes --]
Stefan / Tore
Thanks ... and good to know that hwtable.c entries take precedence over
defaults.
-----Original Message-----
From: dm-devel-bounces@redhat.com [mailto:dm-devel-bounces@redhat.com]
On Behalf Of Stefan Bader
Sent: Wednesday, November 21, 2007 11:48 AM
To: device-mapper development
Subject: Re: [dm-devel] order of preference / multipath.conf
2007/11/21, Paul Cote <paul.cote@incipient.com>:
I found this in an old thread and want to confirm as it will influence
how/what we include in multipath.conf
Is the following order of preference accurate?
1) Multipaths section (in /etc/multipath.conf)
2) Device section (in /etc/multipath.conf)
3) Defaults section (in /etc/multipath.conf)
4) Internal default (hwtable.c)
The last two (3 and 4) are the other way round. If there is an entry in
hwtable.c, this will take effect.
Stefan
[-- Attachment #1.2: Type: text/html, Size: 5674 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: order of preference / multipath.conf
@ 2007-11-22 13:00 Christophe Varoqui
0 siblings, 0 replies; 5+ messages in thread
From: Christophe Varoqui @ 2007-11-22 13:00 UTC (permalink / raw)
To: paul.cote; +Cc: device-mapper development
The hardware table is a "device" array.
This array has no precedence over the array fetched from the config
file.
The logic thus looks like ...
1) Multipaths section (in /etc/multipath.conf)
1bis) N/A
2) Device section (in /etc/multipath.conf)
2bis) Internal default (hwtable.c)
3) Defaults section (in /etc/multipath.conf)
3bis) Internal default (config.h)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-11-22 13:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21 14:51 order of preference / multipath.conf Paul Cote
2007-11-21 16:14 ` Tore Anderson
2007-11-21 16:48 ` Stefan Bader
2007-11-21 17:01 ` Paul Cote
-- strict thread matches above, loose matches on Subject: below --
2007-11-22 13:00 Christophe Varoqui
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.