Skip to contentSkip to conversation

extlinux and btrfs RAID-1

DISCUSSION Hugo Mills 2 participants 5 messages Sep 27, 2013 Btrfs file system

lore
Share & tools
lore

Hugo Mills

author
#0 lore raw

I'm trying to get a system booting, and I'm having something of a
hard time with it. I'd like to check whether anyone's managed to do what I'm attempting, and whether I'm doing something silly, or just need to upgrade something.

I've got two disks, /dev/sda and /dev/sdb, each partitioned the
same way, with GPTs. The second partition on each is part of a RAID-1 (data and metadata) btrfs, with no compression.

# btrfs fi show
Label: 'amelia'  uuid: cba252b5-af1b-4f31-9f8f-191ef66f777d
	   Total devices 2 FS bytes used 1.03GB
	   devid    1 size 275.48GB used 3.04GB path /dev/sda2
	   devid    2 size 275.48GB used 3.03GB path /dev/sdb2

I have the gptmbr.bin from extlinux installed on the boot sector of
each device:

# cat /usr/lib/syslinux/gptmbr.bin >/dev/sda
# cat /usr/lib/syslinux/gptmbr.bin >/dev/sdb

I've attempted to install extlinux from a chroot:

# extlinux --install /boot/extlinux

This is extlinux 4.05, which claims (on the syslinux website) to
support btrfs.

When I boot the machine from its disks, I'm being told that
extlinux only supports single-disk btrfs. Is this still the case? Or am I just using a version that's far too old? (Looks like there's a v6.01 available). I can't see a list of the limitations and capabilities of syslinux and btrfs on the syslinux website.

Hugo.

Signature · 3 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
     --- Great oxymorons of the world, no. 9: Standard Deviation ---     
#1 lore raw
Quoted 3 lines · Hugo Mills

When I boot the machine from its disks, I'm being told that
extlinux only supports single-disk btrfs. Is this still the case?

I'm pretty sure the answer is yes. The last time I looked not that long ago the multiple device scenario wasn't supported.

Chris Murphy

author
#2 lore raw
Quoted 7 lines · Chris Murphy
Quoted 3 lines · Hugo Mills

When I boot the machine from its disks, I'm being told that
extlinux only supports single-disk btrfs. Is this still the case?

I'm pretty sure the answer is yes. The last time I looked not that long ago the multiple device scenario wasn't supported.

Dammit.

Thanks for the info. At least this means I don't have to struggle
with the syslinux error I've been getting... Back to grub, then.

Hugo.

Signature · 5 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
      --- It used to take a lot of talent and a certain type of ---      
        upbringing to be perfectly polite and have filthy manners        
            at the same time. Now all it needs is a computer.            
#3 lore raw
Quoted 7 lines · Hugo Mills
Quoted 6 lines · Chris Murphy
Quoted 3 lines · Hugo Mills

When I boot the machine from its disks, I'm being told that
extlinux only supports single-disk btrfs. Is this still the case?

Quoted 6 lines
Quoted 1 line

I'm pretty sure the answer is yes. The last time I looked not that long ago the multiple device scenario wasn't supported.

Dammit.

Thanks for the info. At least this means I don't have to struggle
with the syslinux error I've been getting... Back to grub, then.

I'm seeing in changelogs that 4.0 brought btrfs support, 4.06 brought subvolume support. Nothing in changelogs for versions 5 and 6 so far inclusive. And interestingly enough, Fedora's koji only has 4.05 current for F20 and rawhide.

Chris Murphy

author
#4 lore raw
Quoted 14 lines · Chris Murphy
Quoted 11 lines · Hugo Mills
Quoted 7 lines · Chris Murphy
Quoted 3 lines · Hugo Mills

When I boot the machine from its disks, I'm being told that
extlinux only supports single-disk btrfs. Is this still the case?

I'm pretty sure the answer is yes. The last time I looked not that long ago the multiple device scenario wasn't supported.

Dammit.

Quoted 7 lines
Quoted 2 lines

Thanks for the info. At least this means I don't have to struggle
with the syslinux error I've been getting... Back to grub, then.

I'm seeing in changelogs that 4.0 brought btrfs support, 4.06 brought subvolume support. Nothing in changelogs for versions 5 and 6 so far inclusive. And interestingly enough, Fedora's koji only has 4.05 current for F20 and rawhide.

Yeah, Debian have 4.05 in everything except experimental (which is
6.02~pre16).

Hugo.

Signature · 4 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- I'll take your bet, but make it ten thousand francs. I'm only ---  
                       a _poor_ corrupt official.