[dm-devel] Problem with DM hardware handler
Pradipmaya Maharana
pradipmaya at gmail.com
Mon Oct 29 23:45:01 UTC 2007
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.
More information about the dm-devel
mailing list