Upstream btrfs-progs has deprecated and removed the btrfsctl command and replaced it with tha multicall 'btrfs' binary. For genkernel's initrds to work with multi-device btrfs filesystems, the following line needs to be added to the setup_btrfsctl function in /usr/share/genkernel/default/initrd.scripts: [ -x /sbin/btrfs ] && /sbin/btrfs device scan
Created attachment 373788 [details, diff] correct btrfs program name Same problem. I've got a system with a RAID 1 btrfs root partition. Using the attached patch & its working fine.
Using a lot of rootflags=device= goop works, but it would be nice to do this the proper way with btrfs device scan.
Just for reference to anyone who may be interested, I've switched to sys-kernel/genkernel-next as that does actually handle current btrfs-progs correctly (although you need to add BTRFS=1 to /etc/genkernel.conf for it to actually include btrfs support in the generated initramfs).
This should be fixed in HEAD. The fix will be in v3.4.53. I am leaving this open until v3.4.53 is tagged to make it easier to track it.
Already released