Hi Russell, a sufficiently up-to-date kernel and btrfs tool will provide the 'btrfs device stats' command, which should give you the info you want. Regards, Bart On Sun, Aug 4, 2013 at 1:42 PM, Russell Coker <russell@xxxxxxxxxxxx> wrote: > I've got a 3TB SATA disk that is known to have problems (it failed in a zpool > for one of my clients). For test purposes I'm running a BTRFS RAID-1 on two > partitions on that disk, bad for performance and not something you'd normally > do but good for testing. > > BTRFS recovers from read errors quite well and gives informative log messages. > > But it doesn't seem possible to get a count of the number of errors. I think > that at the minimum I should be able to get a count of the number of errors > from a device since it was attached to the system. I think that the ideal > would be to have an error count stored on the device and available to the > sysadmin. > > -- > My Main Blog http://etbe.coker.com.au/ > My Documents Blog http://doc.coker.com.au/ > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
