All of lore.kernel.org
 help / color / mirror / Atom feed
* Monitoring not working as "dev stats" returns 0 after read error occurred
@ 2020-01-08 17:41 philip
  2020-01-08 19:35 ` Graham Cobb
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: philip @ 2020-01-08 17:41 UTC (permalink / raw)
  To: linux-btrfs

A bad drive caused i/o errors, but no notifications were sent out 
because "btrfs dev stats" fails to increase the error counter.

When checking dmesg, looking for something completely different, there 
were some error messages indicating that this drive is causing i/o 
errors and may die soon:

BTRFS info (device sda3): read error corrected: ino 194473 off 2170880

But checking the stats (as generally recommended to get notified about 
such errors) claims that no errors have occurred (nothing to see here, 
keep moving):

# btrfs dev stats / | grep sda3 | grep read
[/dev/sda3].read_io_errs 0

Why?
Isn't that the most important feature of a RAID system - to get notified 
about errors, to be able to replace such a drive...?

The fs is mirrored, so those errors didn't cause any data loss.

# uname -sr
Linux 5.2.7-100.fc29.x86_64
# btrfs --version
btrfs-progs v5.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-01-16  1:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 17:41 Monitoring not working as "dev stats" returns 0 after read error occurred philip
2020-01-08 19:35 ` Graham Cobb
2020-01-09 10:33   ` Philip Seeger
2020-01-09 12:04     ` Nikolay Borisov
2020-01-09 14:34       ` Philip Seeger
2020-01-09 23:50         ` Philip Seeger
2020-01-11  7:42           ` Andrei Borzenkov
2020-01-12 11:42             ` Philip Seeger
2020-01-12 17:39               ` waxhead
2020-01-12 20:27                 ` Chris Murphy
2020-01-12 22:45                 ` Philip Seeger
2020-01-08 21:47 ` Chris Murphy
2020-01-09 10:49   ` Philip Seeger
2020-01-16  1:16 ` Zygo Blaxell

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.