Skip to contentSkip to conversation

Another "No space left" balance failure with plenty of space available

DISCUSSION Brendan Hide 1 participant 1 message Dec 2, 2014 1 message not in the archive Btrfs file system

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hey, guys

This is on my ArchLinux desktop. Current values as follows and the exact error is currently reproducible. Let me know if you want me to run any tests/etc. I've made an image (76MB) and can send the link to interested parties.

I have come across this once before in the last few weeks. The workaround at that time was to run multiple balances with incrementing -musage and -dusage values. Whether or not that was a real, imaginary, or temporary fix is another story. I have backups but the issue doesn't yet appear to cause any symptoms other than these errors.

The drive is a second-hand 60GB Intel 330 recycled from a decommissioned server. The mkfs was run on Nov 4th before I started a migration from spinning rust. According to my pacman logs btrfs-progs was on 3.17-1 and kernel was 3.17.1-1

root ~ $ uname -a
Linux watricky.invalid.co.za 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/Linux root ~ $ btrfs fi show /
Label: 'arch-btrfs-root' uuid: 782a0edc-1848-42ea-91cb-de8334f0c248
Total devices 1 FS bytes used 17.44GiB
devid 1 size 40.00GiB used 20.31GiB path /dev/sdc1

Btrfs v3.17.2
root ~ $ btrfs fi df /
Data, single: total=18.00GiB, used=16.72GiB System, DUP: total=32.00MiB, used=16.00KiB Metadata, DUP: total=1.12GiB, used=738.67MiB GlobalReserve, single: total=256.00MiB, used=0.00B

Relevant kernel lines:
root ~ $ journalctl -k | grep ^Dec\ 01\ 21\:

Dec 01 21:10:01 watricky.invalid.co.za kernel: BTRFS info (device sdc1): relocating block group 46166704128 flags 36
Dec 01 21:10:03 watricky.invalid.co.za kernel: BTRFS info (device sdc1): found 2194 extents
Dec 01 21:10:03 watricky.invalid.co.za kernel: BTRFS info (device sdc1): relocating block group 45059407872 flags 34
Dec 01 21:10:03 watricky.invalid.co.za kernel: BTRFS info (device sdc1): found 1 extents
Dec 01 21:10:03 watricky.invalid.co.za kernel: BTRFS info (device sdc1): 1 enospc errors during balance

-------- Original Message --------
Subject: Cron <root@watricky> /usr/bin/btrfs balance start -musage=90 / 2>&1 > /dev/null
Date: Mon, 01 Dec 2014 21:10:03 +0200
From: (Cron Daemon) <[email protected]>
To: [email protected]

ERROR: error during balancing '/' - No space left on device There may be more info in syslog - try dmesg | tail