[dm-devel] Issues with mkinitrd and path priority modules

Pradipmaya Maharana pradipmaya at gmail.com
Thu Aug 28 21:55:15 UTC 2008


Hi All,

I have created mpath_prio_custom, based on code from mpath_prio_alua.
I specified the module in /etc/multipath.cong for getting priority of
the luns.

prio_callout	"/sbin/mpath_prio_custom /dev/%n"

The module gets installed under /sbin with out any error, gives me
correct priorities and runs fine; but while this module is installed
if I do an mkinitrd, my module does not get included in the initrd
image.  And due to this, when the kernel boots next time, it fails. As
my module is mentioned in the multipath.conf, kernel tries to find
this module under /sbin but cannot find it and hence it fails. I see
other modules, mpath_prio_alua, mpath_prio_emc, etc. are part of the
initrd image.

What must I do so that my module gets included as a part of initrd image.
Please help.

Thanks and Regards,
Pradipmaya.




More information about the dm-devel mailing list