Initially
# df -h -x tmpfs Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev /dev/sda1 9.4G 6.1G 3.3G 66% / /dev/sda2 923G 439G 482G 48% /home # btrfs fi show Label: none uuid: 1c8212fb-88ff-4f39-912a-5178a3547e6c Total devices 1 FS bytes used 5.94GiB devid 1 size 9.31GiB used 9.31GiB path /dev/sda1 Label: none uuid: 3f6cfd00-39ca-4ac2-9417-c4bce48a2345 Total devices 1 FS bytes used 438.27GiB devid 1 size 922.20GiB used 686.01GiB path /dev/sda2 # btrfs fi df / Data, single: total=8.81GiB, used=5.60GiB System, single: total=4.00MiB, used=16.00KiB Metadata, single: total=512.00MiB, used=353.28MiB GlobalReserve, single: total=128.00MiB, used=0.00B # btrfs balance start / -m -v Dumping filters: flags 0x6, state 0x0, force is off METADATA (flags 0x0): balancing SYSTEM (flags 0x0): balancing ERROR: error during balancing '/': No space left on device There may be more info in syslog - try dmesg | tail
I tried the main recipes on the FAQs to rebalance and gain space for metadata, but I got the Done, had to relocate 0 out of N chunks
and ERROR: error during balancing '/foo' - No space left on device
.
After following the "add device" steps on http://marc.merlins.org/perso/btrfs/post_2014-05-04_Fixing-Btrfs-Filesystem-Full-Problems.html
# btrfs fi df / Data, single: total=8.67GiB, used=5.78GiB System, single: total=32.00MiB, used=16.00KiB Metadata, single: total=620.00MiB, used=355.28MiB GlobalReserve, single: total=128.00MiB, used=0.00B
The last round of drama: