[dm-devel] Getting device-mapper failure notifications

Andy Grover agrover at redhat.com
Wed Feb 24 05:00:45 UTC 2016


On 02/01/2016 11:07 PM, Avishay Traeger wrote:
> Hi all,
> I have a system where various configurations are possible - iSCSI/FC,
> single paths and multiple.  For multiple I of course use device-mapper.
> I was wondering if it was possible to:
> 1. use it for cases where I have a single path.
> 2. create a monitoring process that can take some action (e.g., send a
> notification via message queue) in the case of some failure that would
> normally cause failover.

Does dm-multipath support a single path? I don't know...

but for your #2, dm-multipath publishes a uevent when a path fails, 
maybe the process could look for that? Using libudev?

HTH -- Andy




More information about the dm-devel mailing list