Hi, I've got a btrfs filesystem that started out using the single profile. I'm trying to convert it to raid1, but got a strange error when doing so. Note that this only started happening after the initial balance got canceled part-way through. btrfs balance start -dconvert=raid1,profiles=single / ERROR: error during balancing '/': No such file or directory There may be more info in syslog - try dmesg | tail dmesg says: [10431.408369] BTRFS info (device sda3): balance: start -dconvert=raid1,profiles=single [10431.409123] BTRFS info (device sda3): relocating block group 968545533952 flags data [10451.745239] BTRFS info (device sda3): found 11 extents, stage: move data extents [10451.902138] BTRFS info (device sda3): balance: ended with status: -2 uname -a Linux bronx 5.8.0-rc4-x86_64 #1 SMP Sat Jul 11 07:11:35 EDT 2020 x86_64 Intel(R) Xeon(R) E-2246G CPU @ 3.60GHz GenuineIntel GNU/Linux btrfs --version btrfs-progs v5.7 btrfs fi sh Label: 'Root' uuid: 156efd3b-cefd-42af-a4af-1cd218c5a22a Total devices 4 FS bytes used 608.02GiB devid 1 size 930.51GiB used 296.00GiB path /dev/sda3 devid 2 size 931.51GiB used 281.00GiB path /dev/sdb1 devid 3 size 1.82TiB used 874.03GiB path /dev/sdd1 devid 4 size 931.51GiB used 431.03GiB path /dev/sdc1 Label: 'Archive' uuid: 171f2e70-6771-4942-9f4a-5261d73e9722 Total devices 4 FS bytes used 1.29TiB devid 3 size 931.51GiB used 711.03GiB path /dev/sde1 devid 4 size 931.51GiB used 701.03GiB path /dev/sdh1 devid 5 size 931.51GiB used 701.00GiB path /dev/sdf1 devid 6 size 931.51GiB used 649.00GiB path /dev/sdg1 bronx ~ # btrfs fi df / Data, RAID1: total=870.00GiB, used=469.18GiB Data, single: total=138.00GiB, used=137.79GiB System, RAID1: total=32.00MiB, used=176.00KiB Metadata, RAID1: total=2.00GiB, used=1.05GiB GlobalReserve, single: total=512.00MiB, used=0.00B WARNING: Multiple block group profiles detected, see 'man btrfs(5)'. WARNING: Data: single, raid1 Even trying a "normal" balance fails with the same error: time btrfs balance start -dprofiles=single / ERROR: error during balancing '/': No such file or directory [11076.509514] BTRFS info (device sda3): balance: start -dprofiles=single [11076.510181] BTRFS info (device sda3): relocating block group 968545533952 flags data [11096.983827] BTRFS info (device sda3): found 11 extents, stage: move data extents [11097.176551] BTRFS info (device sda3): balance: ended with status: -2 Any ideas about what's going on here? Thanks, Peter
