Re: detecting read errors after RAID1 check operation

2007-08-25 Thread Mike Snitzer
On 8/17/07, Mike Accetta [EMAIL PROTECTED] wrote: Neil Brown writes: On Wednesday August 15, [EMAIL PROTECTED] wrote: Neil Brown writes: On Wednesday August 15, [EMAIL PROTECTED] wrote: ... This happens in our old friend sync_request_write()? I'm dealing with Yes, that

Re: detecting read errors after RAID1 check operation

2007-08-17 Thread Mike Accetta
Neil Brown writes: On Wednesday August 15, [EMAIL PROTECTED] wrote: Neil Brown writes: On Wednesday August 15, [EMAIL PROTECTED] wrote: ... This happens in our old friend sync_request_write()? I'm dealing with Yes, that would be the place. ... This fragment if

Re: detecting read errors after RAID1 check operation

2007-08-16 Thread Neil Brown
On Wednesday August 15, [EMAIL PROTECTED] wrote: Neil Brown writes: On Wednesday August 15, [EMAIL PROTECTED] wrote: There are already files like /sys/block/md_d0/md/dev-sdb/errors in /sys which would be very convenient to consult but according to the kernel driver implementation

detecting read errors after RAID1 check operation

2007-08-15 Thread Mike Accetta
We run a check operation periodically to try and turn up problems with drives about to go bad before they become too severe. In particularly, if there were any drive read errors during the check operation I would like to be able to notice and raise an alarm for human attention so that the

Re: detecting read errors after RAID1 check operation

2007-08-15 Thread Neil Brown
On Wednesday August 15, [EMAIL PROTECTED] wrote: There are already files like /sys/block/md_d0/md/dev-sdb/errors in /sys which would be very convenient to consult but according to the kernel driver implementation the error counts reported there are apparently for corrected errors and not

Re: detecting read errors after RAID1 check operation

2007-08-15 Thread Mike Accetta
Neil Brown writes: On Wednesday August 15, [EMAIL PROTECTED] wrote: There are already files like /sys/block/md_d0/md/dev-sdb/errors in /sys which would be very convenient to consult but according to the kernel driver implementation the error counts reported there are apparently for