Recovering from Btrfs no space left on device
Btrfs is a great filesystem, distribution across disks is very usefull. I have been using it sinse it became available in Ubuntu, and have had once too many times where the disk got full, and getting out of that is very difficult. First a recommendation that lets you get of out the situation if it happens to you. Btrfs have a concept called "Device slack". Thats the space not used at the end of the Partition. Usually it's whatever can not be allocated into a block, but it can be adjusted so more space is left. Run: "btrfs device usage DEVID" and identify the device slack for each device that is part of your filesystem. They each have an ID. Then shrink the allocatable space for Btrfs thus increasing the device slack. btrfs filesystem resize 1:-10G DEVID This increases the device slack with 10GB. You probably just need space for minimum two blocks, i chose 10GB to be on the safe side. When you run out of space the next time you can then decrease the device slack ...