Problem with DM hardware handler

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

 



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.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux