Add support btrfs multi-device #74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reading in the comments that it is currently not supported, are there any plans to support this? Thank you.
Currently not planned, but thank you for the suggestion
If the topic is to support raid 1 for btrfs, u can start the installation with first drive and before reboot, u can change the setup in raid 1. The official docs mention how to: https://btrfs.readthedocs.io/en/latest/btrfs-device.html.
I'd do it like this:
But you must do yourself the boot part.
That can be easy if u ask to have the server with UEFI.
Create first identical same ESP partition, and copy the contents. It's safe to copy as normal, as that is just fat32 partition.
unmount both, and use mdadm to create a raid 1 setup from them.
Explanation on Arch wiki always worked for me: https://wiki.archlinux.org/title/EFI_system_partition#ESP_on_software_RAID1
I hope it works for you, as it did for me.
Note: I do recommend the normal raid 1 as the installer does, and setup btrfs on top of the raid block. The thing is that it allows you to encrypt the raid block and maintenance in case of drive failure is easier and straightforward in case of encrypted block. With BTRFS + raid 1 + encryption, there are years to follow to be stable.