So I have an asus flashstor NAS which holds all my files.
Unfortunately, it is full.
So, now I have to decide if I:
- buy another one
- upgrade to 8tb drives
- go back to using spinning drives
- something else
The biggest problem with the asus flashstore is that it’s difficult to expand. It has room for 12 ssds, and that is it. It got me thinking though. Speed isn’t really that much of an issue when you have lots of drives, so maybe I can build a raid using USB hubs?
USB can go up to 120Gbit nowadays, but it’s expensive and not really required for a NAS.
A nas is generally limited to 10Gbit, unless you put some extra fancy networking hardware in there. Filesystems and stuff have a fair bit of overhead, so let’s say that we need to have 20Gbit/s of bandwidth to the filesystem in order to more or less fill the 10Gbit/s network connection. That’s still only two USB 3.2 connections.
So maybe, all I need is a computer with a 10Gbe ethernet connection, some usb hubs, and some of these:
Put it all in a box and put a fan in it to get the hot air out, and then do some software raid stuff to make it all run. More and larger hubs means it’s easy to add more drives.
A computer with four USB ports, connected to four 7-port hubs would allow for 28 drives and 40Gbit/s speed.
The speed for each drive becomes very limited this way, but the overall speed for the array is still very respectable, at least on paper.
Replacing the hubs with 10-port hubs allows for more drives, but does not speed anything up.
On the other hand, adding more USB ports on the host computer does increase the speed, and can be done at any time by buying PCIe expansion cards.
The whole point of doing it this way is that smaller SSDs (~2Tb) are cheaper per Tb than larger one, but computers with large numbers of NVMe ports are fairly expensive. Large number of usb ports however, is fairly easy to come by…