First, I know that Unraid is not FOSS and I’m a month late, just to get that out of the way. But for those that are running Unraid and haven’t updated to >7.3.0, there’s good reason to (other than for security patches): internal boot and TPM licensing.

This update allows you to boot from an internal drive, no more chewing up flash drives. As a long time Unraid user (for over a decade), this was a long time coming. My server ate several flash drives. Setting it up was a breeze, once I updated to 7.3.x, the wizard to configure it came up and I was able to move it to one of my internal SSDs. All I had to do after that was go into the BIOS and set the boot priority correctly.

Internal boot works without a TPM, however you’d still need the flash drive with your license on it plugged in at boot. If you have a TPM on your server, though, you can migrate your license from your flash to your TPM, with another simple wizard. After migration, you no longer need a boot flash drive.

I had to get a Supermicro AOM-TPM-9665V TPM chip for my motherboard, but I’ve got it all set now. It’s a relief to no longer have to rely on flash drives now - my server’s rear exhaust fans were blowing directly on them, causing them to overheat and eventually crash my server.

Unraid posted about this in their blog here: https://unraid.net/blog/unraid-7-3-0

  • officermike@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 hours ago

    If they had done this 6 months ago, I would have probably picked Unraid. I hated the idea of using a USB boot device, so I went with TrueNAS instead.

  • dan@upvote.au
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 hour ago

    This is good to know. I haven’t had issues with using a USB drive though, since it doesn’t receive many reads or writes - the system is copied to a RAM drive on boot and runs off that rather than the USB.

    I assume this means I’d need another drive to boot it from? My current setup is that I have 2 x 22TB drives in a ZFS mirror for data storage, and 2 x 2TB NVMe SSDs in a ZFS mirror for things like VMs, Docker containers, documents, etc.

    • CorrectAlias@piefed.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Yeah, YMMV on the USB drive. While running Unraid for a little more than a decade, my main server chewed through around 2-3 drives causing crashes each time. It could have been bad luck with the flash lottery, though.

      I assume this means I’d need another drive to boot it from?

      That is correct. You’d need a drive just for booting, outside of any array or pool that you might have. I bought a tiny 32GB Samsung mSATA SSD for $15 (new) for my transcoding server, and I somehow scored a brand new Micron 250gb 2.5 SSD for ~$25 for my main server (both from ebay) which I use for this purpose.

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 hours ago

    That’s pretty neat that the TPM can be used that way, maybe worth migrating over. The flash drive always made me so nervous.

    So after the migration, my boot drive and flash drive could both fail, and I could plug in a new unraid boot/flash drive, it’d read my license, and it’d just work?

    • CorrectAlias@piefed.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 hours ago

      Yep! Your license would be tied to your TPM GUID and not your flash drive after migration. You might have to activate your license if it’s a fresh install, but it should be read from your TPM.

        • CorrectAlias@piefed.blahaj.zoneOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 hour ago

          It uses an individual drive for it - so your cache and array are separate and you’ll need to install a drive for boot purposes. It does support pooling though, so you can have multiple boot drives in the boot pool, for example. In that case, it will fail over to the secondary drive if your primary dies.

  • dan@upvote.au
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 hour ago

    I had to get a Supermicro AOM-TPM-9665V TPM chip for my motherboard

    How old is your CPU that it doesn’t have onboard TPM? It’s been a standard feature for quite a while now

    • CorrectAlias@piefed.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      My Epyc 7702 does have onboard TPM, but my supermicro H11DSi-NT doesn’t pass it through to the OS, for some reason. It seems like it’s a common thing for supermicro boards - the enterprise ones like mine have TPM headers instead. I do wish that weren’t the case, though.

      On my second Unraid server (which I use for transcoding), the i9-12900T’s TPM does pass through properly and I was able to use it, no external TPM needed.

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        My Epyc 7702 does have onboard TPM, but my supermicro H11DSi-NT doesn’t pass it through to the OS, for some reason

        Huh… That’s interesting. At my workplace we have Linux EPYC servers with working TPM (it’s mandated that all computers, both clients and servers, must have TPM 2.0), but I’m not a hardware person and don’t know exactly how they’re configured.

        • CorrectAlias@piefed.blahaj.zoneOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 hour ago

          Yeah, I’m guessing it’s a Supermicro thing for sure, and maybe they’ve changed that now that TPM is completely commonplace, because my Epyc does support TPM, 100%.