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

Re: [lvm-devel] how to determine polling and dmeventd monitoing state?

On 07/11/2012 12:54 AM, Alasdair G Kergon wrote:
> On Tue, Jul 10, 2012 at 01:55:30PM -0700, ben wrote:
>> I know that I can look through the deamon log to see if dmeventd ismonitoring 
>> a volume but is there any practical way for a program to query the system to 
>> get that information? Is the polling status displayed or accessable anywhere? 
>> I certainly can't find it. Thank you.
> Good point. It's available internally through 
>    seg->segtype->ops->target_monitored()
> and we need to expose this through lvs.

In addition to that, we could also revive the 'dmevent_tool'
that is a part of the dmraid at the moment and include this one in
lvm2 upstream (probably as a part of dmsetup or dmeventd or a separate
tool even). Existing tool from dmraid upstream is supposed to show dm
devices in general and their status with respect to dmeventd monitoring.
Though the tool itself needs a bit of a cleanup before porting.

There's also a bugzilla report open for this functionality:


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