* RE: Ways to query RAID status - notification questions
@ 2003-05-01 1:27 Vicky Gonzalez
2003-05-01 15:30 ` Steven Dake
0 siblings, 1 reply; 2+ messages in thread
From: Vicky Gonzalez @ 2003-05-01 1:27 UTC (permalink / raw)
To: Sean Kormilo, Linux-RAID mailinglist
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
--
Sean C. Kormilo, STORM Software Architect, Nortel Networks
email: skormilo@nortelnetworks.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Ways to query RAID status - notification questions
2003-05-01 1:27 Ways to query RAID status - notification questions Vicky Gonzalez
@ 2003-05-01 15:30 ` Steven Dake
0 siblings, 0 replies; 2+ messages in thread
From: Steven Dake @ 2003-05-01 15:30 UTC (permalink / raw)
To: Vicky Gonzalez; +Cc: Sean Kormilo, Linux-RAID mailinglist
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
>>
>>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-01 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-01 1:27 Ways to query RAID status - notification questions Vicky Gonzalez
2003-05-01 15:30 ` Steven Dake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).