Dear all, I experience reproducible OS crashes when scrubbing a btrfs file system. Apart from that, the file system mounts rw and is usable without any problems (including modifying snapshots and all that).
When the system crashes (i.e., freezes), there are no errors printed to the system logs or via `dmesg` (had a display connected). Recovery is only possible via power-cycling the machine. The host experienced a lot of crashes and ATA errors due to hardware failures in the past. To the best of my knowledge, the hardware is stable now. `btrfs device stats` outputs zeros for all counters. `btrfsck --readonly --mode lowmem` outputs a bunch of referencer count mismatch … and ERROR: data extent[… …] backref lost see https://pastebin.com/seC4fReP for the full log. System info: btrfs RAID 1 (~1.5 years old), 7 SATA HDDs MIXED_BACKREF, BIG_METADATA, EXTENDED_IREF, SKINNY_METADATA, NO_HOLES no quotas in use see also https://pastebin.com/4me6zDsN for more details btrfs-progs v4.12 GNU/Linux 4.12.0-0.bpo.1-amd64 #1 SMP Debian 4.12.6-1~bpo9+1 x86_64 The question, obviously, is how can I make this fs "scrubable" again? Are the errors found by btrfsck safe to repair using btrfsck or some other tool? Thank you so much in advance, Lukas -- 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