Skip to contentSkip to conversation

Help with writing dm hardware handler

DISCUSSION DJ 1 participant 1 message Oct 17, 2007 Device mapper

lore
Share & tools
lore

DJ

author
#0 lore raw

Hi All,

I am writing a hardware handler for dm multipath support, but I am getting the following error everytime.

"kernel: device-mapper: table: 253:0: multipath: unknown hardware handler type"

My module name is dm-smaple.ko (which shows as dm_smaple in lsmod), code name is dm-sample.c and the in code the module name I am specifying is "sample".
I have also modified the multipath.conf to have the following entry:

hardware_handler "1 sample"

Could someone please let me know what am I doing wrong here? If needed I can paste the code here.

Thanks in advance.
DJ.