Bug 13607 - RAID1 for BTRFS
Summary: RAID1 for BTRFS
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - - Unknown -
Assignee: Stefan Schantl
QA Contact:
URL:
Keywords:
Depends on:
Blocks: BTRFS
  Show dependency treegraph
 
Reported: 2024-02-28 16:26 UTC by Michael Tremer
Modified: 2024-03-13 16:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tremer 2024-02-28 16:26:46 UTC
This seems to be a little bit more difficult than setting up the usual software RAID as BTRFS handles RAIDs itself. However, the /boot/EFI partition cannot be part of BTRFS as it needs to be FAT-formatted and so has to be created as a separate partition and mirrored using Linux software RAID.
Comment 1 Charles Brown 2024-03-10 16:52:26 UTC
FWIW from https://wiki.archlinux.org/title/EFI_system_partition
...
/efi is a replacement for the historical and now discouraged ESP mountpoint
/boot/efi
Comment 2 Charles Brown 2024-03-10 17:00:26 UTC
(In reply to Charles Brown from comment #1)
> FWIW from https://wiki.archlinux.org/title/EFI_system_partition
> ...
> /efi is a replacement for the historical and now discouraged ESP mountpoint
> /boot/efi

references: https://github.com/systemd/systemd/pull/3757#issuecomment-234290236
Comment 3 Charles Brown 2024-03-10 19:12:35 UTC
(In reply to Charles Brown from comment #2)
> (In reply to Charles Brown from comment #1)
> > FWIW from https://wiki.archlinux.org/title/EFI_system_partition
> > ...
> > /efi is a replacement for the historical and now discouraged ESP mountpoint
> > /boot/efi
> 
> references:
> https://github.com/systemd/systemd/pull/3757#issuecomment-234290236

From https://www.freedesktop.org/software/systemd/man/latest/bootctl.html ...
...
"It is recommended to mount the ESP to /efi/, if possible."
Comment 4 Michael Tremer 2024-03-11 10:30:07 UTC
In this step, we are not going to move the location where the EFI partition is mounted.
Comment 5 Charles Brown 2024-03-11 11:24:49 UTC
ESP mount point recommendation; and RAID discussion
...
https://0pointer.net/blog/linux-boot-partitions.html
Comment 6 Michael Tremer 2024-03-11 11:25:51 UTC
(In reply to Charles Brown from comment #5)
> ESP mount point recommendation; and RAID discussion
> ...
> https://0pointer.net/blog/linux-boot-partitions.html

I am very aware of this. It has however nothing to do with this ticket.
Comment 7 Charles Brown 2024-03-11 12:20:24 UTC
(In reply to Michael Tremer from comment #6)
> (In reply to Charles Brown from comment #5)
> > ESP mount point recommendation; and RAID discussion
> > ...
> > https://0pointer.net/blog/linux-boot-partitions.html
> 
> I am very aware of this. It has however nothing to do with this ticket.
The mount point thing was new to me. 
I thought the "RAID discussion" in this blog post may be of some value -- since this bug has RAID in its name :-)
Comment 8 Michael Tremer 2024-03-13 16:47:03 UTC
The objective has now changed, because we need to conduct major rewrites of the installer: We will simply support btrfs on mdraid for the time being until there is more traction to justify spending the time on the rewrite.