[dm-devel] Question about multipath device compiled defaults

Mauricio Faria de Oliveira mauricfo at linux.vnet.ibm.com
Tue Jan 19 16:35:32 UTC 2016


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




More information about the dm-devel mailing list