Hi guys! I'm having a very strange problem with Tumbleweed and BTRFS. I have already reported the issue to upstream [1] that advised me to report to openSUSE. I have a workstation with BTRFS in root and I started to see on a daily basis: "No space left on device" Even if I have tons of unallocated space as it can be seen here: # btrfs fi usage / Overall: Device size: 1.26TiB Device allocated: 119.07GiB Device unallocated: 1.14TiB Device missing: 0.00B Used: 115.08GiB Free (estimated): 1.14TiB (min: 586.21GiB) Data ratio: 1.00 Metadata ratio: 2.00 Global reserve: 512.00MiB (used: 0.00B) Data,single: Size:113.01GiB, Used:111.19GiB /dev/sda6 113.01GiB Metadata,DUP: Size:3.00GiB, Used:1.94GiB /dev/sda6 6.00GiB System,DUP: Size:32.00MiB, Used:16.00KiB /dev/sda6 64.00MiB Unallocated: /dev/sda6 1.14TiB I notice that the problem usually starts when I am building some package in a chroot using osc or when I open KVM (the KVM disk is in another EXT4 partition, so no COW problems). When it happens, sometimes btrfs balance works, sometimes not. When it does not work, my only solution is a reboot or delete files so that balance can be started. Since this is a production machine, I decided to format and install Tumbleweed using the latest available ISO. However, at the same day, when I started to build local packages using osc, the problem happened again. The behavior was completely strange. When the problem happened, I had: Metadata, DUP: total=2.00GiB, used=811.52MiB I could not use balance, but after a while it fixed itself and I saw: Metadata, DUP: total=9.50GiB, used=811.52MiB After some minutes, I saw again the same problem, which was also automatically fixed, but then I saw: Metadata,DUP: Size:33.50GiB, Used:812.78MiB I have no idea why Metadata allocation is being increased so much. During the last problem, I could see some messages in dmesg: Ago 22 16:00:03 ronanarraes-osd kernel: BTRFS info (device sda6): relocating block group 9323937792 flags 34 Ago 22 16:00:04 ronanarraes-osd kernel: BTRFS info (device sda6): found 1 extents Ago 22 16:00:04 ronanarraes-osd kernel: BTRFS info (device sda6): 1 enospc errors during balance Ago 22 16:00:24 ronanarraes-osd kernel: BTRFS info (device sda6): relocating block group 36201037824 flags 34 Ago 22 16:00:24 ronanarraes-osd kernel: BTRFS info (device sda6): 2 enospc errors during balance Ago 22 16:00:45 ronanarraes-osd kernel: BTRFS info (device sda6): relocating block group 36234592256 flags 34 Ago 22 16:00:46 ronanarraes-osd kernel: BTRFS info (device sda6): found 1 extents Ago 22 16:00:46 ronanarraes-osd kernel: BTRFS info (device sda6): 4 enospc errors during balance Ago 22 16:01:20 ronanarraes-osd kernel: BTRFS info (device sda6): relocating block group 38415630336 flags 34 Ago 22 16:01:21 ronanarraes-osd kernel: BTRFS info (device sda6): found 1 extents Ago 22 16:01:21 ronanarraes-osd kernel: BTRFS info (device sda6): 8 enospc errors during balance Do you have any idea what is happening? I have no clue what to do next. Regards, Ronan Arraes -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org