http://bugzilla.opensuse.org/show_bug.cgi?id=1006490 Bug ID: 1006490 Summary: BTRFS filesystem tunrs R/O in __btrfs_cow_block:1163: errno=-2 No such entry Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: roeland.jansen@snow.nl QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- after running a btrfs balance (see the scripts) to free up space, /home turned R/O. When I updated my ststem from LEAP 42.1 --> 42.2 latest beta and now RC1, I got that on /var too. I can rescue it by creating a new lv and rsync the stuff etc but since it's the second time... [ 219.612840] CPU: 0 PID: 2869 Comm: btrfs-balance Tainted: G W O 4.4.25-4-default #1 [ 219.612841] Hardware name: Hewlett-Packard HP ProBook 450 G2/2248, BIOS M74 Ver. 01.41 05/19/2016 [ 219.612844] 0000000000000000 ffffffff81327547 ffff880337fdb980 ffffffffa055564f [ 219.612846] ffffffff8107e821 ffff88031fe95588 ffff880337fdb9d0 ffff880330461908 [ 219.612847] ffff88031fe956a0 ffff880338277800 ffffffff8107e89c ffffffffa05582a8 [ 219.612847] Call Trace: [ 219.612859] [<ffffffff81019e69>] dump_trace+0x59/0x320 [ 219.612863] [<ffffffff8101a22a>] show_stack_log_lvl+0xfa/0x180 [ 219.612866] [<ffffffff8101afd1>] show_stack+0x21/0x40 [ 219.612871] [<ffffffff81327547>] dump_stack+0x5c/0x85 [ 219.612875] [<ffffffff8107e821>] warn_slowpath_common+0x81/0xb0 [ 219.612878] [<ffffffff8107e89c>] warn_slowpath_fmt+0x4c/0x50 [ 219.612891] [<ffffffffa04acbf8>] __btrfs_cow_block+0x3d8/0x5c0 [btrfs] [ 219.612908] [<ffffffffa04acf6f>] btrfs_cow_block+0x10f/0x1e0 [btrfs] [ 219.612927] [<ffffffffa0527776>] do_relocation+0x406/0x4e0 [btrfs] [ 219.612944] [<ffffffffa052a040>] relocate_tree_blocks+0x590/0x5c0 [btrfs] [ 219.612960] [<ffffffffa052c2ef>] relocate_block_group+0x52f/0x900 [btrfs] [ 219.612974] [<ffffffffa052c85a>] btrfs_relocate_block_group+0x19a/0x290 [btrfs] [ 219.612991] [<ffffffffa04fed4a>] btrfs_relocate_chunk.isra.36+0x4a/0xe0 [btrfs] [ 219.613006] [<ffffffffa04ff93b>] btrfs_shrink_device+0x19b/0x540 [btrfs] [ 219.613020] [<ffffffffa04ffdc2>] __btrfs_balance+0xe2/0xbb0 [btrfs] [ 219.613034] [<ffffffffa0500b70>] btrfs_balance+0x2e0/0x610 [btrfs] [ 219.613048] [<ffffffffa0500ef8>] balance_kthread+0x58/0x80 [btrfs] [ 219.613054] [<ffffffff8109d328>] kthread+0xc8/0xe0 [ 219.613058] [<ffffffff8160978f>] ret_from_fork+0x3f/0x70 [ 219.614834] DWARF2 unwinder stuck at ret_from_fork+0x3f/0x70 [ 219.614835] Leftover inexact backtrace: [ 219.614842] [<ffffffff8109d260>] ? kthread_park+0x50/0x50 [ 219.614853] ---[ end trace c3946d27b26942fb ]--- [ 219.614856] BTRFS: error (device dm-3) in __btrfs_cow_block:1163: errno=-2 No such entry [ 219.614859] BTRFS info (device dm-3): forced readonly I have not destroyed the lv yet so it is possible to do some tests and see if it can be repaired. taplop:~ # uname -a Linux taplop.invalid 4.4.25-4-default #1 SMP Thu Oct 20 08:11:55 UTC 2016 (564b3a2) x86_64 x86_64 x86_64 GNU/Linux taplop:~ # cat /etc/*release openSUSE 42.2 (x86_64) VERSION = 42.2 CODENAME = Malachite # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead NAME="openSUSE Leap" VERSION="42.2" ID=opensuse ID_LIKE="suse" VERSION_ID="42.2" PRETTY_NAME="openSUSE Leap 42.2" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:42.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" -- You are receiving this mail because: You are on the CC list for the bug.