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?

(page 2) 12 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 5 days ago (3 children)

I built my own and it honestly wasn't that expensive (at the time back in 2018). I just started with the basics but built it to be expandable. I used a Define 6 case which gave me room for 12 HDDs, a mobo with the highest number of SATA ports, processor, RAM, etc and then just added drives 1-2 at a time as they filled up. My only regret is that I didn't and still haven't learned Linux well enough to rely on it because it runs Windows, the PC is showing its age now, and I need to think about the replacement solution and how I'll be able to migrate 70+ TB of media and all my configurations to the new machine.

If you do run Windows, Drivepool and SnapRAID are useful for pooling everything into a single virtual disk and setting up a software RAID that will protect from drive failures without locking your data away.

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

You can also use snapraid (and mergefs) on Linux to do the same thing! I'm excited to recognize this because I recently turned an old PC into a crappy nas with Open Media Vault and used these two.

load more comments (2 replies)
[–] [email protected] 2 points 5 days ago (3 children)

You may not be able to do RAID or other redundant/performant arrays with USB. You can definitely achieve a big JBOD array but it will be less resilient and slower than a RAID array. Enclosures often don’t cool as well so heat may degrade your disks faster as well. I did this for a while with some old disks and some $30 HDD toasters. I only put data on there I could afford to lose. I wish there was a standalone hardware RAID solution… like a NAS without the network. That would have a huge draw for hobbyists that don’t want to buy an expensive NAS. I’ve searched for this but haven’t found anything. Message me if you know of such a product! Maybe consider building your own NAS with an old PC. Way cheaper than a prebuilt and fun to build! I had an old Dell Optiplex 990 that is now a 32 TB NAS. Had to get a new case but it’s a decent backup to my Synology.

load more comments (3 replies)
[–] [email protected] 4 points 5 days ago (2 children)

I use an M1 Mac Mini running Asahi Linux with a USB 3.0 4-bay enclosure. Works great so far.

load more comments (2 replies)
[–] [email protected] 3 points 5 days ago (4 children)

Yes, and you might want to ask in the datahoarders community.

While I dont use a mini-pc, I have a server with 48TB in it on spinning disks, and I've built a hybrid DAS/NAS that I back up to.

I use this 4-bay DAS: https://www.amazon.com/gp/aw/d/B078YQHWYW I chose it because it supports USB 3.2 Gen 2 and I've been pretty happy with it.

It's usually plugged into my server directly, and I use ZFS to snapshot and send to it. However, I also can plug it into a Pi5 and use ZFS send over SSH to treat it like a NAS. The Pi can of course run Samba/CIFS and SSH for sshfs.

The biggest downside to this structure is probably the metadata speeds for ZFS over USB (looking up snapshot names), but you could always use a cache drive with ZFS.

I highly, highly recommend ZFS and figuring out your software requirements before picking hardware.

Happy to answer any specific questions, too.

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

Reviews on that page are kind of dodgy, but they are for all 3 products listed which makes it difficult to tell which review is for what.

Have you had any of the listed issues? Heat, unrecognized success, etc?

load more comments (4 replies)
load more comments (3 replies)
[–] [email protected] 19 points 5 days ago (2 children)

It's viable, but when you're buying a DAS for the drives, figure out what the USB chipset is and make sure it's not a flaky piece of crap.

Things have gotten better, but some random manufacturers are still using trash bridge chips and you'll be in for a bad time. (By which I mean your drives will vanish in the middle of a write, and corrupt themselves.)

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

Seconded. It's not a bad idea, but it's another point of failure for sure.

To add on - several of those USB controllers implement stuff in non-standard ways, so if your board fails you either need another one of the exact same model and firmware to read the data off those drives again. It's very likely if you just bought another DAS/USB controller that the drives/partitions would be unreadable, and you'd have to start over again.

OP, it's not a bad idea unless you don't have a backup plan. If you are planning on having no backups, then this is much more risky than just an external hard drive, this could very well lead to complete data loss. If you have a solid backup plan, then go for it! If you don't, then for the love of god you aren't ready for it.

Honestly, if you only need a few bays, just look at getting a Synology.

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

Always have a offside backup for any data you deeply care about it's never worth he risk.

load more comments (2 replies)
load more comments (1 replies)
[–] [email protected] 3 points 5 days ago

Get a USB-C DAS (enclosure) for your disks, those use their own power supply. Since it is USB-C performance will be very good and stable and you'll be happy with it.

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

Get old HP thinclient T510, or Igel M340C. Got a few of those practically free online. Has Via Eden 1.2Ghz 2 core. Not powerful at all. But cold. Mine runs on hot summer days approximately between 40-50C. HP has I think 19V power source, Igel runs on 12V brick.

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

Consider the machine being on 24/7 and cooling.

Furthermore, depending on the current power supply, you might need to upgrade it to keep everything running.

load more comments
view more: ‹ prev next ›