Hi! Thanks a lot for all the answers.
What I would like to know is if I can make something like this product, but with a RaspPi5.
https://yottamaster.com/products/yottam ... lLZBs50oiP
Yeah, NAS is Network Attached Storage, but I refer something like point to point devices, directly, but I supose it's a bit complicated and requires programming.
I want to buy this of Yottamaster, but I would prefer to do it with RP5.
Short answer: You can't.
Long answer:
You could get something roughly equivalent but it will be orders of magnitude slower and almost certainly turn out to be more expensive.
- USB cannot be daisy chained. At least not directly so there must be some trick in the hardware. Like an internal USB 3 two port hub with one downstream port to the internal drive controller, the other to the external down stream port.
That's going to increase latency and reduce bandwidth per drive the further you go down the chain. - As it appears you need simultaneous USB host and device functionality, you'll
- Have to use a 4B, 400, or Pi5.
- Be restricting performance to USB 2 Full Speed (480Mbps) as that all the USB device controller can do. It's a different hardware block to the controller in the RP1 used for the four USB A ports.
- Software configuration is going to be both interesting and non-trivial. Except in the case where you just pass each bare drive to the USB host via the mass storage gadget. But that means you'd have to do any RAID stuff on the USB host and I've no idea how well that would work in a daisy chain (each device has to export to the one before if which then re exports to the one before it, ...)
FWIW, I have tried doing software RAID1 on a 4B with a couple of USB sticks then exporting that over the USB mass storage gadget. It worked but performance was somewhere between a dead slug on valium and wading through treacle.
The best performance you'll get with a Pi based DIY solution would be by using a direct, point to point ethernet link between Pi and PC. That'll double bandwdith compared to UBS2 but if you're going that route you might as well put it on your LAN.
Statistics: Posted by thagrol — Thu Dec 26, 2024 12:34 am