this post was submitted on 08 Apr 2024
180 points (93.7% liked)

Selfhosted

40347 readers
349 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] emptiestplace@lemmy.ml 24 points 7 months ago (18 children)

Oh no.

Unfortunately I have a lot of experience with this: attaching permanent array members via USB is a bad idea. OP, if it's not too late, and assuming you haven't already and decided to double down on yolo, I'd recommend reading about the downsides of this approach. It is easy to find relevant discussions (and catastrophes) in r/zfs.

Thunderbolt enclosures are a bit more expensive, but they won't periodically fuck up your shit just because.

[–] MangoPenguin@lemmy.blahaj.zone 8 points 7 months ago (1 children)

Is it because USB doesn't expose proper UUIDs or something?

[–] seaQueue@lemmy.world 14 points 7 months ago* (last edited 7 months ago) (1 children)

Bus issues usually. Having a disk (or 4) drop out of a ZFS filesystem regularly isn't a good time.

If you can find a combination of enclosure, driver/firmware and USB port that provides you with a reliable connection to the drive then USB is just another storage bus. It's generally not recommended because that combination (enclosure, chipset, firmware, driver, port) is so variable from situation to situation but if you know how to address the pitfalls it can usually work fine.

[–] lightrush@lemmy.ca 6 points 7 months ago* (last edited 7 months ago) (1 children)

You want ASMedia ASM1351 (heatsinked) or ASM235CM on the device side 🥹

This box has 4x ASM235CM and from the testing I've conducted over the last week it seems rock solid, so long as it's not connected to the Ryzen's built-in USB controller. It's been flawless on the B350 chipset's USB controller.

[–] lud@lemm.ee 4 points 7 months ago (2 children)

so long as it's not connected to the Ryzen's built-in USB controller.

Could you elaborate? Do you happen to have any theories as to why?

I have a zen 3 chip and while I'm not planning anything like this, I'm just curious.

[–] Septimaeus@infosec.pub 3 points 7 months ago (1 children)

I don’t know, but I’d guess the buffered chipset controller has more stability during certain power state transitions.

[–] lightrush@lemmy.ca 2 points 7 months ago* (last edited 7 months ago)

I think I've seen this hypothesis too and it makes sense to me.

If I'm building a new AMD system today, I'd look for a board that exposes more of the chipset-provided USB ports. Otherwise I'd budget for a high quality 4-port PCIe USB controller, if I'm planning to rely a lot on USB on that system.

[–] lightrush@lemmy.ca 1 points 7 months ago* (last edited 7 months ago)

This article provides some context. Now I do have the latest firmware which should have these fixes but they don't seem to be foolproof. I've seen reports around the web that the firmware improves things but doesn't completely eliminate them.

If you've seen devices disconnecting and reconnecting on occasion, it could be it.

load more comments (16 replies)