On Sun, Jan 12, 2020 at 10:39 AM waxhead <waxhead@xxxxxxxxxxxxxx> wrote: > > Speaking of... it would be great if btrfs device stats /mnt (or some > other command) could offer to show a list of corrupted files with paths > (which I assume the filesystem know about). That would make restoring > files from backup a breeze! Scrub does this. As well as any time a corrupt file is read. But such information isn't stored anywhere. Path to file is reported in kernel messages. -- Chris Murphy
