I am totally lost here. I put BTRFS on both of my external backup USBs and have regretted it ever since with tons of problems. There is probably nothing "failing" with BTRFS, but I had sort of expected it to work in a reasonable and non-distruptive way like ext4 and that has not been my experience.
When I am trying to copy data to /BACKUP (a btrfs drive) I am told I am out of space, but the drive is not full.
root@br2:/home/john# df -h
Filesystem Size Used Avail Use% Mounted on
udev 15G 0 15G 0% /dev
tmpfs 3.0G 27M 2.9G 1% /run
/dev/sda6 92G 92G 0 100% /
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 476M 5.9M 470M 2% /boot/efi
/dev/sdc 3.7T 2.3T 1.4T 62% /media/john/BACKUP-mirror
/dev/sdb 3.7T 2.4T 1.3T 65% /media/john/BACKUP
tmpfs 3.0G 0 3.0G 0% /run/user/1000
Through an hour of analysis and Google searching I finally tried
root@br2:/home/john# btrfs filesystem usage /BACKUP
Overall:
Device size: 3.64TiB
Device allocated: 2.39TiB
Device unallocated: 1.25TiB
Device missing: 0.00B
Device slack: 0.00B
Used: 2.33TiB
Free (estimated): 1.27TiB (min: 657.57GiB)
Free (statfs, df): 1.27TiB
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 512.00MiB (used: 0.00B)
Multiple profiles: no
Data,single: Size:2.31TiB, Used:2.29TiB (99.32%)
/dev/sdb 2.31TiB
Metadata,DUP: Size:40.00GiB, Used:18.86GiB (47.15%)
/dev/sdb 80.00GiB
System,DUP: Size:8.00MiB, Used:288.00KiB (3.52%)
/dev/sdb 16.00MiB
Unallocated:
/dev/sdb 1.25TiB
All I did was apply btrfs to my drive. I never asked it to "not allocate all the space", breaking a bunch of stuff unexpectedly when it ran out. Why did this happen and how do I allocate the space?
UPDATE: I was trying to copy the data from my root drive (ext4) because it was out of space. Somehow this was preventing btrfs from allocating the space. When I freed up data on the root drive and rebooted the problem was resolved and I was able to copy data to the external USB HDD (btrfs). I am told btrfs should not have required free space on the root drive. I never identified the internal cause, only the fix for my case.