Code Monkey home page Code Monkey logo

Comments (2)

asciiprod avatar asciiprod commented on July 19, 2024

Currently not planned, but thank you for the suggestion

from installimage.

madalinignisca avatar madalinignisca commented on July 19, 2024

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:

  1. setup all partitions as subvolumes, don't do separate partitions for btrfs.
  2. mount the main partition to /mnt when install is done.
  3. add the second drive
  4. convert to raid 1 triggering balance and conversion.

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.

from installimage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.