From: Steven Dake <sdake@mvista.com>
To: Vicky Gonzalez <vgonzalez@stoneflynetworks.com>
Cc: Sean Kormilo <skormilo@nortelnetworks.com>,
Linux-RAID mailinglist <linux-raid@vger.kernel.org>
Subject: Re: Ways to query RAID status - notification questions
Date: Thu, 01 May 2003 08:30:44 -0700 [thread overview]
Message-ID: <3EB13DA4.8060504@mvista.com> (raw)
In-Reply-To: <05331901808F5A4CAEEAD68170C528282DF2FA@molokai.stoneflynetworks.com>
Vicky,
This is a good idea for a feature addition, but there currently is no
select() support in the driver for reading events.
Vicky Gonzalez wrote:
>Thanks again for all of your help Sean!
>
>I thought I'd ask the rest of the folks here if there was a way for the MD driver to notify my process that something bad occurred or of a status change? So instead of me polling for status from the driver directly(using ioctls) or the mdadm(using ioctls & mdstat), can I register with the driver or and OS interrupt to catch something when changes occur?
>
>Thanks!
>~Vicky
>
>-----Original Message-----
>From: Sean Kormilo [mailto:skormilo@nortelnetworks.com]
>Sent: Monday, April 14, 2003 11:31 AM
>To: Vicky Gonzalez
>Cc: Linux-RAID mailinglist
>Subject: Re: Ways to query RAID status
>
>
>Vicky,
>
>It depends upon what you are trying to monitor, and how you are trying
>to monitor it.
>
>You have the following basic options:
>1) /proc/mdstat
>2) mdadm (from Neil Brown - should be many references to it on the
>mailing list archives)
>3) ioctl (if you want to query from a C program)
>
>The ioctl interface is missing the ability to query raid rebuild status.
>If that is something which interests you, let me know as I created a
>small patch to add a new ioctl to query raid rebuild information.
>
>Sean.
>
>
>
>
>>Are the other ways to query the status of the RAID other than from querying the /proc/mdstat file? If I should ask a different list or need to look through the archives first , could someone please point me in the right direction.
>>
>>Many Thanks!
>>~Vicky
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>>
prev parent reply other threads:[~2003-05-01 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-01 1:27 Ways to query RAID status - notification questions Vicky Gonzalez
2003-05-01 15:30 ` Steven Dake [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=3EB13DA4.8060504@mvista.com \
--to=sdake@mvista.com \
--cc=linux-raid@vger.kernel.org \
--cc=skormilo@nortelnetworks.com \
--cc=vgonzalez@stoneflynetworks.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.