this post was submitted on 11 Dec 2023
20 points (85.7% liked)

Selfhosted

39056 readers
309 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
 

Hi everyone! I recently moved my services from a Hetzner VPS to an OrangePi Zero 3 and I was wondering what options do I have storage-wise? How could I plug the most HDDs possible on this thing? Does anyone have a successful setup that might want to share?

you are viewing a single comment's thread
view the rest of the comments
[–] cron@feddit.de 17 points 8 months ago (3 children)

You bought a device with just one single USB 2.0 port and ask for the ideal storage option?

I could be wrong, but you're probably limited to one external HDD (~20 TB) and one micro SD card (1 TB).

[–] opulentocean@lemm.ee 3 points 8 months ago (1 children)

Kinda... Nothing will be ideal in this setup, so I just want to know how to make the best with what I have. Thanks for the suggestion!

[–] cron@feddit.de 1 points 8 months ago

The best depends in what you need... What are your requirements in terms of capacity, speed and redundancy?

[–] tal 1 points 8 months ago

I mean, you can put a powered USB hub on that and get more ports if you want them.

Or get a USB drive enclosure that can take multiple drives.

[–] BearOfaTime@lemm.ee 1 points 8 months ago (2 children)

My concerns with using external storage on a Pi is backup.

Drives fail, externals even more so.

I suppose you could add a powered USB hub. But you'd really want a backup/replication plan to something like Backblaze B2, etc.

[–] opulentocean@lemm.ee 1 points 8 months ago (1 children)

Quick question about the hubs. I saw some with 5+ ports. Using USB 2.0 I know I'll have some limitations on speed, but could I for instance, plug 5 HDDs and this speed would be evenly divided among then (given a moment where they all would get written at the same time)? If only 1 HDD is being written, would it get this full speed? Is this math that simple or are there more things that I'm not considering?

[–] ares35@kbin.social 2 points 8 months ago

devices on the hub share the total bandwidth to/from the host system's usb port. data going between drives on the same hub has to travel to the host then back again.

so: transferring files to/from a single drive will go 'full speed', transferring files between two drives on that hub will run at about half speed, accessing data on all the drives on that hub at the same time (such as syncing a snapraid array built on externals all connected to that hub) will be painfully and brutally slow.

[–] opulentocean@lemm.ee 1 points 8 months ago

Thanks! I'll see what options of powered USB hubs I got