linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BTRFS EFI Boot question
@ 2015-02-05 21:30 Lucas Smith
  2015-02-05 23:54 ` Kai Krakow
  2015-02-06  0:28 ` Zia Nayamuth
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas Smith @ 2015-02-05 21:30 UTC (permalink / raw)
  To: linux-btrfs

Hey folks!

Having a confusing question brought up to me by my Debian Testing installer
and am unsure what the implications are for it. I want to run btrfs in
RAID10 on 4x1TB WD RE3 drives. Apparently, my system is set up to boot using
EFI. Are there any reasons not to use EFI Booting in this circumstance?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BTRFS EFI Boot question
  2015-02-05 21:30 BTRFS EFI Boot question Lucas Smith
@ 2015-02-05 23:54 ` Kai Krakow
  2015-02-06  0:28 ` Zia Nayamuth
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Krakow @ 2015-02-05 23:54 UTC (permalink / raw)
  To: linux-btrfs

Lucas Smith <vedalken@lksmith.net> schrieb:

> Hey folks!
> 
> Having a confusing question brought up to me by my Debian Testing
> installer and am unsure what the implications are for it. I want to run
> btrfs in RAID10 on 4x1TB WD RE3 drives. Apparently, my system is set up to
> boot using EFI. Are there any reasons not to use EFI Booting in this
> circumstance?

I'm using UEFI boot with btrfs RAID-1 on three devices (including bcache 
meanwhile). It works without problems. The only caveat is, that for both, 
bcache and multi-device btrfs (or combination of both) you need to boot 
using initramfs because the kernel by itself can neither detect multi-device 
btrfs not initialize bcache. This applies if you want to use it for the 
rootfs.

You are all fine if rootfs is something more traditional.

My layout is having the ESP (mounted as /boot), a resume swap and bcache 
caching device on an SSD, the rest is 3x 1TB spinning rust with btrfs, 
containing root and all the other subvolumes.

-- 
Replies to list only preferred.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BTRFS EFI Boot question
  2015-02-05 21:30 BTRFS EFI Boot question Lucas Smith
  2015-02-05 23:54 ` Kai Krakow
@ 2015-02-06  0:28 ` Zia Nayamuth
  1 sibling, 0 replies; 3+ messages in thread
From: Zia Nayamuth @ 2015-02-06  0:28 UTC (permalink / raw)
  Cc: linux-btrfs

Unless you're putting the EFI System Partition (ESP) on the RAID10, you 
should be fine.

Note that the ESP also needs ot be FAT32, so you can't have it as a part 
of your btrfs RAID10 array, so if that's what you are asking, it can't 
be done. An ESP located somewhere else should still be able to boot from 
a rootfs in the RAID10 however, so your OS can be on the RAID.

-- 
Zia Nayamuth

On 6/02/2015 8:30 AM, Lucas Smith wrote:
> Hey folks!
>
> Having a confusing question brought up to me by my Debian Testing installer
> and am unsure what the implications are for it. I want to run btrfs in
> RAID10 on 4x1TB WD RE3 drives. Apparently, my system is set up to boot using
> EFI. Are there any reasons not to use EFI Booting in this circumstance?
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-06  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05 21:30 BTRFS EFI Boot question Lucas Smith
2015-02-05 23:54 ` Kai Krakow
2015-02-06  0:28 ` Zia Nayamuth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).