I recently acquired two used blade servers and a short rack to put them in. I’m planning to use one or the other as the replacement for a media server that died on me a bit ago. The old media server was just a little refurb dell workstation, with a single SSD in it, but the servers have 6 and 8 bays, respectively.

I would like to RAID them so that one drive dying doesn’t lose any of my media, and I was leaning towards Ubuntu server as an OS. I’m not sure how to do that, and I’m kind of poking around for info and advice. Hit me with it.

  • HumanPerson@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    I did this yesterday for my media server on Debian and it was very easy. Use mdadm to create the raid. There are guides online on how that are very easy to follow. You may want to use partitions on the drives as another comment recommended (mdadm supports whole drives and partitions so do whatever you think is best). Next you should have a device /dev/mdX that you can format to your fs of choice. After that just use lsblk to get the uuid of the raid and mount it in fstab like any other drive.

  • originalucifer@moist.catsweat.com
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    you would want to use the hardware raid that likely already exists. its been a minute since i setup dell, but you should be able to boot into the raid controller bios (some ctrl-key sequence) and configure your raid there… then you just install whatever you want on the defined logical drives (linux/windows/hypervsior)

      • originalucifer@moist.catsweat.com
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        i wouldnt on a non-jbod, retail server box. if this was a random workstation without onboard hardware raid, then sure.

        im not sure how you think sharing the main processor with the raid when there is already a perfectly good set of processors for the raid is going to be faster.

          • originalucifer@moist.catsweat.com
            link
            fedilink
            arrow-up
            0
            ·
            7 months ago

            what specific feature of ZFS are you frothing over to sacrifice your primary processing for it?

            the hardware raid in this box was designed for business and would be more than adequate for the requested purpose

            • n2burns@lemmy.ca
              link
              fedilink
              arrow-up
              0
              ·
              7 months ago

              You’re right, hardware RAID still has some use for businesses, but it’s generally a bad idea for consumers. The main reason is the procedure if the RAID controller fails. In commercial applications they have spare, compatible controllers, so a quick hardware swap and you’re back up and running, you don’t even need to rebuild the array. However, consumers generally don’t have a spare controller, and if they don’t, they can’t just get any controller, they need a compatible one or the array is lost. If a system running a software RAID has a hardware failure, the array can be moved to a new host and mdadm can rebuild the array without needing specific hardware.

                • n2burns@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  7 months ago

                  Yes, but they’re using it in a consumer setting. That was the whole point of my comment. It sounds like they may have 2 identical RAID controllers, which means they might have a spare. However, if one dies, they’d be looking at obtaining another spare, migrating their data to a new setup, or risking complete data loss.