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?

4 points

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.

permalink
report
reply
3 points

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.

permalink
report
reply
3 points

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.

permalink
report
reply
18 points

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.)

permalink
report
reply
2 points
*

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.

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
2 points

So as a TLDR a DAS really should only be used as an offside backup plan or secondary storage then? I might really have to do a DIY NAS with a desktop PC then. Thank you for the warning!

permalink
report
parent
reply
4 points

I mean it’s up to you, your decision. In my experience going the usb route though only leads to more cost later, to me it’s better to just save your money and go with a solid solution in a couple of months. You don’t have to go crazy. An old desktop with some extra sata ports is a fine start

permalink
report
parent
reply
5 points

I’ve had “trash controllers” in Orico units which rewite the drive details which makes them annoying to work with but I’ve never heard of

your drives will vanish in the middle of a write, and corrupt themselves

That sounds likes its underpowered and when the draw is up the supply can’t handle it, which could happen for internal drives if your supply isn’t up to powering enough drives.

Use a reputable brand like TerraMaster and you’ll not have those sorts of problems.

permalink
report
parent
reply
1 point

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.

permalink
report
reply
1 point

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?

permalink
report
parent
reply
2 points
*

None.

I think the unrecognized issues are because people think it will behave like a device with a controller vs just USB pass-through. Every disk I’ve plugged in just shows up fine on the host. I also have only used it with linux.

As for heat, my drives go to sleep when not in use, but even for long stints of backups it wasn’t an issue.

Reviews for just the 4-bay: https://www.amazon.com/product-reviews/B078YQHWYW/ref=cm_cr_arp_mb_viewopt_smt?formatType=current_format&pageNumber=1

permalink
report
parent
reply
2 points

Thanks for the reply! I have a couple USB 3.0 2-drive docks that just sit out in the open - consolidating in to a single, enclosed unit with a fan would be nice (since mine or open, you really hear the HD spin up/click when accessing it).

What do you use to adjust your drives’ spin down? hdparm? hd-idle? I have one drive that is constantly spinning/accessed so the thermal concerns with the unit do weigh on me.

permalink
report
parent
reply
1 point

Have you had data loss occurences in these bay enclosures? Some other commenters have said, that using it as a primary storage is really risky because some crappy controllers could ruin the drives’s data for example.

permalink
report
parent
reply
3 points

I have not, but I also run it as a RAIDZ, so if I did have issues with one, the parity should cover it. That being said it is a backup for me.

permalink
report
parent
reply
2 points
*

Yes there is someone talking everybody down about USB enclosures*.

Maybe he got burned or something…

Can say never had an issue and I replaced many motherboards over 20 years, and also many enclosures.

Don’t go too cheap, but don’t worry too much. I highly recommend a raid setup anyway. And always do backups, bit this is unrelated to USB specifically

  • not referring to op or the other comment specifically, just noticed in general somebody always negative about USB on all posts lime this.
permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 3.7K

    Monthly active users

  • 2K

    Posts

  • 23K

    Comments