I tried to migrate from raid1 to raid10 (btrfs balance start /files -mconvert=raid10 -dconvert=raid10) This failed after about 1TB with enosp errors. I have since then managed to migrate all metadata back to raid1 but my data is still a mix. I've tried "balance -dusage=50" with all values from 0 to 100, also with -dprofiles=raid1 and -dprofiles=raid10. I've also tried balance -dconvert=raid1 (with and without -dprofiles=raid10) but I always get enosp errors. I've also added a small usb-drive(/dev/sdh below) to get some space but it still gives the same error. Since I have about 1.5TB unallocated space it's my understanding that this shouldn't be a problem, or am I completely wrong? The output from btrfs filesystem usage /files Overall: Device size: 18.20TiB Device allocated: 16.67TiB Device unallocated: 1.53TiB Device missing: 0.00B Used: 16.67TiB Free (estimated): 781.62GiB (min: 781.62GiB) Data ratio: 2.00 Metadata ratio: 2.00 Global reserve: 512.00MiB (used: 0.00B) Data,RAID1: Size:7.21TiB, Used:7.21TiB /dev/sdb 3.23TiB /dev/sdc 3.24TiB /dev/sdd 1.89TiB /dev/sde 2.32TiB /dev/sdf 1.42TiB /dev/sdg 2.33TiB Data,RAID10: Size:1.11TiB, Used:1.11TiB /dev/sdb 190.05GiB /dev/sdc 189.34GiB /dev/sdd 190.05GiB /dev/sde 190.05GiB /dev/sdf 188.92GiB /dev/sdg 189.41GiB /dev/sdh 2.48GiB Metadata,RAID1: Size:10.19GiB, Used:9.35GiB /dev/sdb 4.47GiB /dev/sdc 3.58GiB /dev/sdd 5.19GiB /dev/sde 3.07GiB /dev/sdf 1.34GiB /dev/sdg 2.72GiB System,RAID1: Size:32.00MiB, Used:1.41MiB /dev/sdc 32.00MiB /dev/sdd 32.00MiB Unallocated: /dev/sdb 222.50GiB /dev/sdc 219.07GiB /dev/sdd 1.56TiB /dev/sde 221.40GiB /dev/sdf 219.75GiB /dev/sdg 219.39GiB /dev/sdh 4.97GiB
I've no replaced one of my old disks and started rebalancing the pool, the last state I saw before the problem was 3% left of balancing. Next time I checked it had failed due to enospc errors. Now on kernel 4.4.0-36-generic Overall: Device size: 23.65TiB Device allocated: 18.37TiB Device unallocated: 5.28TiB Device missing: 0.00B Used: 18.36TiB Free (estimated): 2.64TiB (min: 2.64TiB) Data ratio: 2.00 Metadata ratio: 2.00 Global reserve: 512.00MiB (used: 0.00B) Data,RAID1: Size:9.17TiB, Used:9.17TiB /dev/sdb 2.74TiB /dev/sdc 2.75TiB /dev/sdd 6.38TiB /dev/sde 1.84TiB /dev/sdf 1.84TiB /dev/sdg 2.80TiB Metadata,RAID1: Size:11.96GiB, Used:10.37GiB /dev/sdb 3.99GiB /dev/sdc 1.00GiB /dev/sdd 11.96GiB /dev/sde 1.00GiB /dev/sdf 992.00MiB /dev/sdg 5.00GiB System,RAID1: Size:32.00MiB, Used:1.28MiB /dev/sdd 32.00MiB /dev/sdg 32.00MiB Unallocated: /dev/sdb 911.06GiB /dev/sdc 911.02GiB /dev/sdd 911.09GiB /dev/sde 910.52GiB /dev/sdf 910.57GiB /dev/sdg 856.99GiB