Re: Getting device-mapper failure notifications

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

 



On Wed, Feb 24, 2016 at 7:00 AM, Andy Grover <agrover@xxxxxxxxxx> wrote:
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


Thanks for pointing me in the right direction Andy!

--
Avishay Traeger, PhD
System Architect




Web | Blog | Twitter | Google+ | Linkedin

--
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