-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add support for bcache #6
Comments
Based on https://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt it seems that:
General takeaway:
Proposal for defaults/initrd.scripts:
|
I've just implemented and tested this based on @globalcitizen's code contribution above. I'm using btrfs on bcache as root filesystem. It needed a slight tweak to work - you cant echo all the devices at once into register_quiet I edited /usr/share/genkernel/defaults/linuxrc . This needs to be after modules are loaded and devtmpfs is mounted, but critically - BEFORE btrfs device scan. I inserted this code right before the "start iSCSI" section, around about line 417:
It should be noted that the kernel was built with bcache was compiled as built-in rather than as module. Building as a module would require editting some other files to make sure bcache module is inserted before the above code is executed. |
Note that this issue essentially duplicates https://bugs.gentoo.org/605094 |
Please add support to create a initramfs with bcache support to be able to boot from bcache devices.
The text was updated successfully, but these errors were encountered: