You are not logged in.

#1 2015-03-24 01:41:50

benjamin
Member
Registered: 2013-10-15
Posts: 13

grub doesn't support booting from raid5/6 yet

This is more of an FYI - not so much of a question:

I just rebalanced one of my boxes to RAID5 to test out the new btrfs code in kernel 3.19. No issues with the rebalance, but on reboot I hit the "Unsupported RAID flags" error in grub. After looking over the grub source, specifically btrfs.c, it's fairly apparent grub just doesn't support it yet. See line 772 and before:
http://git.savannah.gnu.org/cgit/grub.g … fs/btrfs.c

For the time being I just copied my /boot to a spare USB stick, and the array does properly assemble and boot.

My question, since I don't follow grub development closely,  is there is a patch for RAID56 floating around somewhere? If not, is there any other bootloader that does support RAID56? If not, I'll probably just ride out the external boot USB for the time being.

Offline

#2 2015-06-28 01:01:55

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: grub doesn't support booting from raid5/6 yet

Thank you for letting us know. I just converted my OS volume to from RAID 1 to 5. Hit this error using kernel 4.0.6. Oh well. Again, thank you, you saved me a bunch of time.

Offline

#3 2015-06-28 12:54:50

benjamin
Member
Registered: 2013-10-15
Posts: 13

Re: grub doesn't support booting from raid5/6 yet

I'm glad it helped at least one other person. That way my time wasn't completely wasted! 

This is just my Kodi box, so I haven't looked into it much since then, but I wonder if any additional code is necessary to make this work.

Offline

Board footer

Powered by FluxBB