On 05/16/2012 19:03, Andrei Popa wrote:
It would be nice if this function could show the file names affected by
errors, in case of a single, non-redundant drive, btrfs-progs should
show what files are affected by errors.
Then, an admin could restore only those files from backup.
On Wed, 2012-05-16 at 18:50 +0200, Stefan Behrens wrote:
"btrfs device stats" is used to retrieve and print the device stats.
"btrfs device stats -z" is used to atomically retrieve, reset and
print the stats.
In case of disk errors, it is recommended to run scrub on that disk. It
checks the in-use disk contents for errors, repairs errors where
possible, and the scrub tool does print the paths and filenames of
errored files into the kernel log.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html