[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] Problem with DM hardware handler



Hi All,

I am writing a DM Hardware handler; so to start with I took, dm-emc.c
code and replaced emc by sample. I also renamed the file to dm-sample
and the module name is dm-sample.ko.

The code compiles fine and even loads okay. I modiefied the
/etc/multipath.conf to point the hardware_handler to my sample
handler.

 hardware_handler        "1 sample"

Now when I run the command,
# multipath -F
# multipath -ll
# multipath -v3

It shows me the following error in the /var/log/messages
Oct 29 16:33:23 localhost kernel: device-mapper: table: 253:0:
multipath: unknown hardware handler type
Oct 29 16:33:23 localhost kernel: device-mapper: ioctl: error adding
target to table

Same works fine, if I add emc as hardware handler.

Any idea, why am I getting this error?

Thanks and Regards,
Pradipmaya.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]