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

Selfhosted

39435 readers
14 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?

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 17 points 11 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).

[–] [email protected] 3 points 11 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!

[–] [email protected] 1 points 11 months ago

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

[–] [email protected] 1 points 11 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.

[–] [email protected] 1 points 11 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.

[–] [email protected] 1 points 11 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?

[–] [email protected] 2 points 11 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.

[–] [email protected] 1 points 11 months ago

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

[–] [email protected] 8 points 11 months ago* (last edited 11 months ago) (1 children)

What a weird choice for a storage-oriented device, I would have gone for a SBC with SATA ports or a PCIe port.

[–] [email protected] 0 points 11 months ago (1 children)

It wasn't exactly a well-thought choice 😂 I wanted to host my services locally so I had to choose between going for an old computer/NUC or a Raspberry Pi and chose the latter because it's not that power hungry. But then Raspberries are very hard to come by and even with the launch of RP5, they still look like very overpriced. So looking for alternatives, I came by the OrangePi, which sounded like a fair option 😅

[–] [email protected] 5 points 11 months ago

Its a little late now but you couldn't picked up a board from pine64 that had a pcie slot.

[–] [email protected] 6 points 11 months ago (1 children)

Well, the OPi Zero 3 only has USB 2, which is slow.

You could attach something like this: https://www.ebay.co.uk/itm/403740942791?hash=item5e00d5e1c7:g:I1AAAOSwQgJits1E

Don’t expect it to be fast.

[–] [email protected] 2 points 11 months ago

Looks interesting, thanks!

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
NUC Next Unit of Computing brand of Intel small computers
PCIe Peripheral Component Interconnect Express
SATA Serial AT Attachment interface for mass storage
SBC Single-Board Computer

4 acronyms in this thread; the most compressed thread commented on today has 6 acronyms.

[Thread #342 for this sub, first seen 11th Dec 2023, 17:45] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

Why the most hdds?

Get a relatively new, with USB 2.0 and you'll be fine. Powered if its a 3.5"

[–] [email protected] 2 points 11 months ago

No reason, really. Just had in my mind that this was the way to get the most storage, but then someone mentioned about a single HDD with 20TB of capacity and idk, this haven't even crossed my mind. Might need to update myself on current HDDs 😅 Thanks for the tip!

[–] [email protected] 0 points 11 months ago* (last edited 11 months ago) (2 children)
[–] [email protected] 1 points 11 months ago (1 children)

About the NanoPi Neo3

This little thing gets pretty hot with the official case. I had to cut a hole in it to hot glue a tiny fan, powered by the GPIO.

I can't remember the temp. difference right now (it's unplugged) but it was significant.

[–] [email protected] 1 points 11 months ago

Oh yes, but I never tweaked it and I haven't had issues with it.

[–] [email protected] 1 points 11 months ago (1 children)

I never heard of any of those SBCs. Pretty interesting, thanks for the tip!

[–] [email protected] 3 points 11 months ago

Sure no problem, general rule pick something that is supported by Armbian or will be like the Zero 3e. This will give you way better future support including kernels even after the manufacturer no longer supports the device.