After some search I found that --repair flag of btrfsck would cause it to try to fix the filesystem. Yet in my case btrfsck failed to do that:
# btrfsck --repair /dev/sda2 ... Incorrect local backref count on 51589234688 root 4095 owner 6854501 offset 0 found 0 wanted 1 back 0xa00a0980 backpointer mismatch on [51589234688 8192] owner ref check failed [51589234688 8192] ref mismatch on [51589242880 8192] extent item 1, found 0 repair deleting extent record: key 51589242880 168 8192 failed to repair damaged filesystem, aborting I tried to zero log, but it did not help: btrfs-zero-log /dev/sda2 Any ideas I can try before reformatting the partition and starting from scratch? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/992480 Title: fsck.btrfs of a 1TB volume triggers OOM kill on a 1GB RAM machine. (32-bit) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/992480/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
