Hello,

For some time now I’ve been really struggling to get a server setup properly with RAID 1. This is an NVR system for cameras, I want to use XFS with this system. I would love if someone could help me or link me to a guide, I cannot find one. Encryption is preferred. A step by step, guide would be great, drop an XMR address and I will send you a tip for your help!

Thank you! :)

  • kumi@feddit.online
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    Partitioning in the Debian installer being half-broken is something nobody talks about but IME still a thing.

    What do is step through the installer to the point where you’re at, ctrl+F* to get a shell, set it up manually using fdisk/mdadm/lvm/cryptsetup/mkfs, and then back again to rescan and just assign the mounts and filesystems

    I think I still have a half-written guide for just this in drafts somewhere actually. If you get stuck you can DM and maybe I dig something up

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    If nothing helps, create a normal setup, then boot from a live stick and move things over (don’t forget to configure things).

  • bus_factor@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    2 days ago

    /dev/md127 is probably a raid 1 from a previous installation. Assuming you don’t need the data on it, you can either delete or ignore it.

    I’m not familiar with this exact installer, but I have installed Debian a bunch before. Judging by what I’m seeing here, you probably need to do a bit of manual labor. I’m guessing you first create partition tables (usually gpt), then raid partitions, then combine them into a raid, and maybe then put lvm on top of that again, and finally a filesystem. If you’re planning to go the lvm route you probably want to create a smaller raid on the start of the disk for /boot (250-500MB should suffice) separate from the lvm, because last I checked you can’t boot from an lvm volume.

  • endoftheocean@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    https://std.rocks/gnulinux_mdadm_uefi.html

    There’s the general idea. I have no idea if calamares can do this though. In general I’ve found anything more than basic partitioning you’ll have to do it manually on the command line on a live cd then go install it normally using the installer and selecting the disks you created.