koverstreet / bcachefs

Other
632 stars 69 forks source link

GRUB unable to work with multidevice / systems #630

Open immolo opened 5 months ago

immolo commented 5 months ago

This is going to be more a GRUB issue than a bcachefs however for tracking purposes I think these two bug reports should be linked.

Currently bcachefs works great as 6.7.0 as a single device / system and a vfat /boot for GRUB to load and be able to boot into the system but when you add multi device to the system things go bad.

Running grub-mkconfig - o /boot/grub/grub.cfg gives the error:

/usr/sbin/grub-probe: error: failed to get canonical path of/dev/vda3:/dev/vdb1.`

GRUB versions tested:

2.12 latest git as of 2024-01-11

I have tried with both compression on and off just rule it out

Most likely depends on https://savannah.gnu.org/bugs/?55801 but will add this report there as well.

immolo commented 5 months ago

See also - https://savannah.gnu.org/bugs/index.php?65151

daiaji commented 5 months ago

This makes it almost impossible for me to use bcachefs.

phedders commented 5 months ago

It would be amazing if bcachefs could do multidevice discovery and mount from the kernel module (ie no user runtime/scripts required) so that it fits in with all previous tooling (initrd's etc). I'm sure I dont know half of the complexities of doing or the risks (getting the wrong devices etc) (btrfs has had a working solution for a long time, but is their solution rock solid?) Probably dependant on issue #1