Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* raid1 root device with efi
@ 2024-03-08 20:39 Matt Zagrabelny
  2024-03-08 21:02 ` Qu Wenruo
  2024-03-08 21:46 ` Matthew Warren
  0 siblings, 2 replies; 14+ messages in thread
From: Matt Zagrabelny @ 2024-03-08 20:39 UTC (permalink / raw)
  To: Btrfs BTRFS

Greetings,

I've read some conflicting info online about the best way to have a
raid1 btrfs root device.

I've got two disks, with identical partitioning and I tried the
following scenario (call it scenario 1):

partition 1: EFI
partition 2: btrfs RAID1 (/)

There are some docs that claim that the above is possible and others
that say you need the following scenario, call it scenario 2:

partition 1: EFI
partition 2: MD RAID1 (/boot)
partition 3: btrfs RAID1 (/)

What do folks think? Is the first scenario setup possible? or is the
second setup the preferred way to achieve a btrfs RAID1 root
filesystem?

The reason I ask is that I followed a guide (for scenario 1) and
rebooted the computer after each step to verify that things worked.
After I finished the whole guide, I unplugged one of the disks (with
the system off) and the BIOS could no longer find the disk. I then
plugged the disk back in and the BIOS could still not find the disk,
so something is amiss.

Thanks for any commentary and help!

-m

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

end of thread, other threads:[~2024-03-28 12:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-08 20:39 raid1 root device with efi Matt Zagrabelny
2024-03-08 21:02 ` Qu Wenruo
2024-03-08 21:46 ` Matthew Warren
2024-03-08 21:48   ` Matt Zagrabelny
2024-03-08 21:54     ` Matthew Warren
2024-03-08 21:58       ` Matt Zagrabelny
2024-03-10 17:57         ` Forza
2024-03-11 14:34           ` Kai Krakow
2024-03-11 19:26             ` Goffredo Baroncelli
2024-03-12 12:39               ` Kai Krakow
2024-03-12 18:55                 ` Goffredo Baroncelli
2024-03-27 20:21           ` Matt Zagrabelny
2024-03-28  4:03             ` Andrei Borzenkov
2024-03-28 11:42             ` Forza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox