From: Peter Rajnoha <prajnoha@redhat.com>
To: lvm-devel@redhat.com
Subject: how to determine polling and dmeventd monitoing state?
Date: Wed, 11 Jul 2012 09:09:53 +0200 [thread overview]
Message-ID: <4FFD26C1.2080200@redhat.com> (raw)
In-Reply-To: <20120710225459.GR30961@agk-dp.fab.redhat.com>
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:
https://bugzilla.redhat.com/show_bug.cgi?id=805425
Peter
prev parent reply other threads:[~2012-07-11 7:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 20:55 how to determine polling and dmeventd monitoing state? ben
2012-07-10 22:54 ` Alasdair G Kergon
2012-07-11 7:09 ` Peter Rajnoha [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FFD26C1.2080200@redhat.com \
--to=prajnoha@redhat.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.