this post was submitted on 17 Dec 2024
41 points (97.7% liked)

Selfhosted

40677 readers
297 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I was thinking on buying a 2-4 bay HDD powered enclosure as a NAS for my mini pc, since I already have that, and buying or building a full-fledged diy NAS seems a bit expensive.

I want to hear some opinions from you guys, since it seems using this method is a mixed area from the selfhosted pros. I would be hoping that by using a powered enclosure, that would alleviate or solve the USB port overcharging issue, which have appeared in my mini pc when trying out an external HDD with a normal sata to usb converter.

Did you have any experiences with a setup like this one?

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 3 days ago

I used USB enclosures for my RAIDs for over 20 years. The turning point has been usb3 and then usb-c even better, but I found really no difference as in the bottleneck where the mechanical drives.

Moved to an all internal sata setup a few months back because I upgraded the space and moved to a desktop form factor.

Can still recommend the USB approach tough.

BUY A QUALITY EBCLOSURE.

I always used Linux software raid, but purchased a 4 slots USB raid/jbod enclosure to keep the number of used USB ports down.

I never ever had issues with the setup, but I purchased a known-brand enclosure, one with also e-SATA, which unfortunately was/is more a fad than even been really used.

[–] [email protected] 2 points 3 days ago

Doing it now with a not so mini second hand pc

[–] [email protected] 3 points 3 days ago

Did that for 3 years. Not pretty but it worked

[–] [email protected] 2 points 4 days ago

There are small SATA backplanes that allow you to fit 3 HDDs into two 5.25" slots (or 4 HDDs in 3 slots). You can find used ones for cheap (mine was 30€), and with some cheap tower case you could get something NAS-like with hot-swap drive bays for way cheaper

[–] [email protected] 3 points 4 days ago

I use a couple of mini pcs in exactly the setup you are talking about. Only downside is throughput. Anything built in is gonna be faster for read write ops, but usb3 is plenty fast for most things including media and data sync. I run Ubuntu with ZFS, and created raid arrays for data redundancy. It works really well. I virtualize using Incus with docker inside of those tiny VMs. It’s awesome.

[–] [email protected] 3 points 4 days ago (1 children)

I would either get a used HP Proliant microserver Gen 8 (I own one. Pretty sweet) or get a mini ITX nas case, 4 or more bays. Depending on USB doesn't seem like a good idea to me. You can always sell your mini PC. I have slowly learned to avoid the sunk cost fallacy.

[–] [email protected] 2 points 4 days ago

Those microservers are dope!

[–] [email protected] 3 points 5 days ago* (last edited 5 days ago)

I used intel nuc j5005 for 4 years iirc with 2 bay hdd enclosure, Orico brand. Never had any problem that i hear about such as random diaconnecting. Granted i used it to host my media. So i dont pratically mind if the data is gone.

I used openmediavault with usb boot drive. Internal 2.5’ drive as docker appdata. All my media files is stored on the external enclosure. The only problem i noticed is the temperature but thats because of high ambient temp.

If youre planning to use ext enclosure for critical data. Might wanna think twice. But, if you have proper backup plan. Sure why not.

[–] [email protected] 4 points 5 days ago* (last edited 5 days ago)

I have used mini PCs as a servers for years with file serving being a major duty of them. Granted my storage needs aren't excessive, but most NUCs or Nuc-likes can hold two drives, some can have a third if you include 2.5" drives. My AsRock A300 can hold 4 drives (two of each), but its m.2 support sucks so that's not as much of a boon as it sounds. If you need significant storage, there is no replacement for something that can hold 3.5" drives though since those can now reach 20+ GB a drive.

[–] [email protected] 7 points 5 days ago (1 children)

I have the QNAP TL-D800S. It’s an 8 bay DAS but there is also a 4 bay variant. Works well for me. It uses SFF cables to connect to the PC and comes with the appropriate PCIe card which seems more robust to me than anything USB for this.

[–] [email protected] 2 points 5 days ago (2 children)

Yeah this option seems like a more robust option than using an USB one. Unfortunately my mini PC doesn't offer a sata connection, but thank you for the suggestion!

[–] [email protected] 3 points 4 days ago

I use the usb version of the qnap 4 bay and never had an issue. Into a nuc holding all media. Boot and docker config all on the nuc nvme.

[–] [email protected] 4 points 5 days ago (1 children)

It would need a PCIe slot, not a SATA connection. But I assume it doesn’t have that either then.

[–] [email protected] 2 points 3 days ago (1 children)

Do you think that PCIe card would fit on a lenovo 1L PC? Those have a PCIe slot, but only small cards fit.

[–] [email protected] 2 points 3 days ago (1 children)

Are you talking about these? They don't look like they have a PCIe slot...

In any case, the specifications say

Form factor Low-profile 119.65 x 68.9 x 17.24 mm (Without bracket 119.65 x 68.9 x 12 mm)

[–] [email protected] 2 points 3 days ago

Yes, many of them have a PCIe slot, example. Thanks for the specifications

[–] [email protected] 5 points 5 days ago (2 children)

If you use a reputable brand, such as TerraMaster you'll avoid all of the scare stories you hear.

Almost everything bad seems to be along the lines of

I bought "off brand" XzzYyG from Amazon/EBay/Wish and it failed

Something like this:

https://www.terra-master.com/uk/products/homesoho-das/d6-320.html

It'll be faster than your spinning rust anyway, as long as you have high speed ports on your mini PC.

[–] [email protected] -2 points 5 days ago* (last edited 5 days ago) (2 children)

such as TerraMaster

The reputable brand that quietly updated my device in the middle of the night and reset my password to a randomly generated one, locking me out of the device? That brand? The brand that runs their OS off of a USB stick inside the device so it's always a ticking time bomb that might just stop working randomly? That one?

[–] [email protected] 4 points 5 days ago

Update your DAS? What are you talking about?

The brand that runs their OS off of a USB stick inside the device

Are you alright?

[–] [email protected] 3 points 5 days ago

Bought only the nas hardware, no software or enclosures with OS from the and had no problems

[–] [email protected] 1 points 5 days ago (2 children)

I was very intrigued until they wanted my email before showing me the "Quick Installation Guide".

[–] [email protected] 6 points 5 days ago (1 children)

Err, you mean the piece of paper that came in the box, or is available to download on their website as a link without having to register?

https://www.terra-master.com/us/d6-320.html?page=menu&mid=1336

[–] [email protected] 3 points 4 days ago* (last edited 4 days ago) (1 children)

I followed the support link in their menu, clicked on quick guide and got this page: https://support.terra-master.com/quickguide/

Are you not presented with a form forcing you to enter an email?

[–] [email protected] 3 points 4 days ago (1 children)

That's weird that there are several ways to get access to the Quick Guides, and some seem to want an email.

However it doesn't use it and takes junk (I just used [email protected] which was accepted), but sad that the form you found needed it.

But to answer your question, no I missed that link and went to "downloads" which also has the guide but doesn't appear to require any email.

[–] [email protected] 3 points 4 days ago

Great, was starting to wonder if I was being singled out and they just wanted my email 😀

I still don't understand why they have that form at all.

[–] [email protected] 3 points 5 days ago* (last edited 5 days ago) (1 children)

No such thing in their website from europe

[–] [email protected] 3 points 5 days ago* (last edited 5 days ago) (1 children)

I just did a websearch and first result was a download link on their US website too which didn't require registration.

There seems to be a lot of nonsense on here.

[–] [email protected] 2 points 4 days ago

I don't know but usually uk websites are the worsts of the bunch

[–] [email protected] 4 points 5 days ago (1 children)

I had a setup similar to this for a year or two that ended with an hdd destroying itself one night. Probably because of the drive and not the usb enclosure I was using. Until then it worked fine, it’s definitely a viable route.

If you can swing a desktop pc case it’ll probably end up easier and cheaper and have some headroom for upgrades, that’s the route I went down after trying an escalating series of mini-pcs and running into their limits one too many times.

[–] [email protected] 2 points 5 days ago* (last edited 5 days ago)

Sounds like a good idea, since according to the comments it seems I really shouldn't be using DAS as a primary storage (not with USB specifically).

[–] [email protected] 7 points 5 days ago* (last edited 5 days ago) (1 children)

I’ve personally gone with an N100 Mini PC running Proxmox and two of these daisy-chained (purchased on sale). https://www.amazon.com/MAIWO-Enclosure-Cooling-Storage-Expansion/dp/B0D28Q187R/

The MAIWO DAS uses garbage JMicron firmware by default, and there are significant issues with their sleep functions. Because of that, it took me forever to figure out why SnapRAID kept failing mid-sync. Fortunately, new firmware seems to have fixed their issues and they’ve been rock solid ever since. I specifically had to update the firmware for all 4 of the USB controllers on each DAS.

Direct link to firmware that worked for me. https://gbatemp.net/attachments/bin-16028_jms578_std_v00-04-01-04_self_power_odd_20190611-zip.230929/

JMS578_STD_v00.04.01.04_Self Power + ODD.bin

MD5: 7701fb7a968e3ad4ca926dd7854806ff

Firmware updater tool for Windows found here. I ran this from a Virtualbox Windows 10 VM inside my Arch install: https://gbatemp.net/attachments/jmicron-jms578-sata-crystal-enclosure-fwupdate-zip.216335/

FwUpdateTool_v1_19_16_24.exe

MD5: 735ec8d9f99c457ce793739480c55706

Mirrors for posterity:

https://files.catbox.moe/e4121s.zip

https://mega.nz/file/OJAX2KhQ#67kIDJun92nqi56mFur_9vALSi2yTJXXv7ew5pYSJVY

Blog post detailing firmware update procedure for an external drive: https://ralimtek.com/posts/2021/jms578/

Detailed post on JMS578: https://gbatemp.net/threads/how-to-update-firmware-of-jmicron-jms578-usb3-0-sata-enclosure-black-screen-lock-music-stop.569158/

Alternate FOSS software for flashing I found later, but never used. https://github.com/BertoldVdb/jms578flash

[–] [email protected] 3 points 5 days ago

Wow thank you for these links, you're insane. And if you would start this homelab process again, then would you go with this mini PC + DAS layout again, or with desktop pc as a NAS?

[–] [email protected] 3 points 5 days ago

I am currently getting a replacement for my old win10+drivepool setup using hand me down parts from my old main pc. I decided to go with UNRAID this time and other than a few headaches, its been pretty simple to get going. I am already a big fan of the container/docker/app setup. My setup is 3 12tb seagate iron wolf nas drives recertified/refurbished from ebay, the nvme ssd I used as my prior boot drive as a cache drive, and a r7 1700 and ab350m pro 4 mobo with a pny xlr8 1070gpu. It was mostly free since I was replacing it with a newer gaming build. I think I spent $280 on the hdds?

load more comments
view more: next ›