From: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
To: DORONTAL@il.ibm.com
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: Question about multipath device compiled defaults
Date: Tue, 19 Jan 2016 14:35:32 -0200 [thread overview]
Message-ID: <569E65D4.4020002@linux.vnet.ibm.com> (raw)
In-Reply-To: <201511050700.tA570XNA029270@d06av02.portsmouth.uk.ibm.com>
On 11/05/2015 04:59 AM, Doron Tal1 wrote:
> I would like to know how and what procedure i should follow if i want to
> modify or add new settings to the device mapper defaults.
The defaults are in hwtable.c [1].
> So for example how can i modify existing compiled settings for the
> 2810XIV device? in case i want to add a new device and it settings, how
> can it be done?
To modify the compiled settings, you have to modify it and recompile.
To modify the runtime settings (based on the defaults), you can modify
/etc/multipath.conf (see its manpage [2] with 'man multipath.conf').
You can verify the the setting values used during multipath discovery
with 'multipath -v3' for example, or "multipathd -k'show config'".
Hope this might still help at this time,
[1]
http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/hwtable.c
[2]
http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=multipath/multipath.conf.5
--
Mauricio Faria de Oliveira
IBM Linux Technology Center
next prev parent reply other threads:[~2016-01-19 16:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 6:59 Question about multipath device compiled defaults Doron Tal1
2016-01-19 16:35 ` Mauricio Faria de Oliveira [this message]
2016-01-19 16:48 ` Christophe Varoqui
2016-01-19 22:17 ` Brian Bunker
2016-01-20 6:58 ` Christophe Varoqui
2016-01-20 16:15 ` Brian Bunker
2016-01-20 17:47 ` Mauricio Faria de Oliveira
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=569E65D4.4020002@linux.vnet.ibm.com \
--to=mauricfo@linux.vnet.ibm.com \
--cc=DORONTAL@il.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.