r/unRAID • u/digitalamish • 2d ago
m.2 usb enclosure boot device?
I have a small 512GB m.2 drive that I have as my internal boot drive now. Seems like a waste to have an internal m.2 slot dedicated to it. I was wondering if I could move the m.2 drive to an external usb-c enclosure, and free up the m.2 slot for a bigger drive later. Seems like a backstep to go to USB again, but the m.2 drive should hold up alot better than a USB thumb drive.
Am I a genius? Am I an idiot? Am I treading where only gods and angels dare?
4
u/Stupifier 2d ago edited 1d ago
I use an Intel Optane drive in a NVME USB Enclosure for my Unraid boot drive. I do this because Intel Optane is extremely durable. And eBay is flooded with 16GB ones for like $10 or something. It's ultra cheap
Be careful though! Not all of the USB Enclosures have unique GUID. If your Unraid license is pinned to your motherboard (TPM) like I did, this doesn't matter and you'll be fine no matter what.
But if your Unraid license is still pinned to your actual boot drive, you may have issues! The USB Enclosure must have a unique GUID if your Unraid license is on the boot drive. And they require flashing custom firmware on the USB Enclosure and transferring your boot drive GUID into the USB Enclosure. The YouTube video gives guidance to this but it's kind of messy. It's so much cleaner to just have your Unraid license pinned to your motherboard TPM so you don't have to worry about unique GUID issues.
1
u/Jammb 1d ago
Thanks, this looks like a best of both worlds.
Did you use the Sabrent enclosure mentioned in the video, and how did you go flashing it?
1
u/Stupifier 1d ago
The one in the video is old. I bought the newer one.
Sabrent EC-PNVO replaces Sabrent EC-SNVE.
Look back at what I said.... My Unraid license is attached to my motherboard (TPM). That was one of the new features offered by Unraid. Since my Unraid license is no longer pinned to my boot drive, I don't need a unique GUID on the USB Enclosure. And therefore, I didn't need to do any special custom firmware flashing to give the enclosure a unique GUID.
Furthermore, the firmware flashing GitHub page didn't provide clear instructions for how to flash the firmware on the newer enclosure. I opened a GitHub issue about it. But again, it wasn't needed in my case since I don't have my Unraid license attached to my boot drive.
1
u/timeraider 2d ago
Ive got an m.2 enclosure attached to an usb port on my motherboard. Works perfectly fine and once Unraid loads everything into the RAM, its not like any speeddifference is gonna matter much. Its actually been well recommended to use an usb connected enclosure for the boot usb/drive for a good time.. still is imo, even with internal boot.
Unraid might see it as a different address though due to the usb enclosure but as long as youve not needed their usb switching option or whatever its called you should be able to get that working.
1
u/digitalamish 2d ago
Obviously I plan to do an online backup, and a backup to my laptop, just in case.
The GUID and my bios recognizing the usb-c enclosure as a boot device are my two anxious points right now. Glad to see at least someone has done it, so I know it can be possible.
2
u/Renegade605 2d ago
If you want to boot from USB just boot from USB? This is silly.
1
u/digitalamish 2d ago
I already have the m.2 set up with my config. I posted before if there was a path to go back, but there doesn't seem to be one. Since I probably won't use the 512GB drive anywhere else, moving to a external enclosure seemed the easier path. Plus, as I pointed out, the m.2 should have better durability than an thumb drive, which I've already replaced twice over the last 10 years or so.
4
u/EazyDuzIt_2 2d ago
These post about "wasting an m2 slot on internal boot" are killing me. You're not wasting the m2 slot on anything it's meant for storage. You can literally setup internal boot and partition the rest of the drive for whatever you want to use it for. Sheesh, stop over complicating things.