sudo btrfs balance start -dconvert=single -mconvert=single /media
Remove drive:
sudo btrfs device remove 2
After conversion BTRFS is unmountable. It complains that devices are still missing, even with -o degraded,recovery,ro
.
Everything was performed with recent 5.9 kernel.
BTRFS error (device sdb): super_num_devices 2 mismatch with num_devices 1 found here BTRFS error (device sdc): failed to read chunk tree: -22
Solution:
fix-dev.count.c
fix-dev-count.c.gzReferences: