• UnfortunateShort@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    8 hours ago

    Tbf, often there either is no proper one, or you don’t know where to find it. Or there is just tons to unpack, because one thing leads to another and suddenly you have to read like 10.

    To give you an example: I just wanted to create a new btrfs software RAID and dissolve my old one, but without loosing the data or redundancy in the process. To do so, I had to create a new partition table, of course not before using tools to find the right device, add a LUKS2 partition, find its UUID, unlock that partition, add a btrfs partition, mount that partition, copy all data over, then generate a keyfile for auto-unlock, add that to the LUKS, add the according crypttab line, remove a drive from the former raid, not before running a balance of course, then also create LUKS on that, find the UUID again, open that as well, add the keyfile again, add another crypttab line, adding the mapper to the btrfs partition, running a balance that creates a RAID 10, adding an fstab entry for auto-mount, runnning dracut and set up btrfs maintenance.

    Even just describing the process is a chore. Imagine trying to learn every stept, one by one, from the manuals.

    Edit: Some fixes and steps I skipped added. In case anyone is wondering what the heck I’m doing: I am moving from a RAID 1 with 2 disks to an encrypted RAID 10 with eventually 4