A few months ago, an ASUSTOR representative emailed me with an offer I couldn't refuse. He saw my blog post and video about building the fastest Raspberry Pi NAS, and asked if I wanted to put up my best Pi-based NAS against an Asustor NAS.
We settled on the Asustor Lockerstor 4, with dual-2.5 Gbps networking, 4 GB of RAM, and a quad-core Intel CPU. To make things even, he convinced Seagate to send four 8TB IronWolf NAS drives. I don't fancy he thought it would be a good show if I kept on using my four used WD GreenPower drives from 2010!
I posted a video of the hardware build process for both NASes on my YouTube channel:
But this blog post will focus on what it takes to build your own Raspberry Pi NAS, with the best specs and performance you can possibly get—on a Raspberry Pi, at least!
Here's the official parts list, with all the items I ended up using in my NAS (note: Amazon links are affiliate links):
If you watched the video closely, you may notice I swapped out a few parts for my final build that I used for benchmarking:
- The Exacq PCIe Switch with the TI chip was giving me a little trouble sometimes, so I swapped it out for the IO Crest board.
- I dropped the separate molex power adapter and the 12V 5A barrel plug power adapter for the PCIe switch and Pi, respectively, and plugged them both directly into the PC PSU. For the Pi, it required a molex to floppy adapter cable, but that was easy enough to find on Amazon.
For comparison, the Asustor Lockerstor 4 I'm using costs $549—almost $200 more in total. But the Lockerstor does offer a number of features the Pi doesn't (like dual NVMe SSD caching over a faster bus, dual 2.5G network ports that it can actually saturate (the Pi only has a single PCIe Gen 2 lane), and... an actual case to hold everything).
I already knew from previous research for my Raspberry Pi PCI Express Database that I could get a Rosewill RC-20001 2.5GBASE-T adapter working if I compile the kernel with
Realtek 8169/8168/8101/8125 ethernet support. And I knew I could get an IOCrest JMB585 5-port SATA card working by enabling
AHCI SATA support and
Marvell SATA support.
But I hadn't yet had them working together. So I tried them with an Exacq PCIe switch I had laying around, and surprisingly, on my first try (with a custom kernel), they both powered up and worked.
A few boots later one or the other card wouldn't show, so I swapped out the Exacq switch for an IOCrest switch, and they both were recognized every time.
I used two sets of two Phanteks 3.5" Hard Drive brackets I found on Amazon to hold the drives themselves. I actually like how these cages provide plenty of room for airflow around the drives, and hold them very well, along with rubber grommets to help prevent vibration-related issues.
For power, I was leery of putting everything into my Redragon 700W PSU, since I had released an older Redragon's magic smoke earlier this year doing some testing... but eventually, I decided to connect everything to it, including the 4 SATA drives, the PCI Express switch (using a Molex to floppy adapter), and the Raspberry Pi itself (using another Molex to floppy adapter).
The final setup (well; almost final as pictured—I swapped PSUs for the Pi after taking this picture) is... not nearly as tidy as the ASUSTOR you see sitting in the background:
Well, I know you want benchmarks and a verdict, but I just haven't had the time yet to compile everything, especially since I ran into a few speed-bumps—with both the Pi and the ASUSTOR.
So software setup, benchmarks, more details about how they run, and my final word on whether I'd go with a Pi NAS (for the value and experience) over an ASUSTOR (or something similar like a QNAP or Synology NAS) is coming next week.
I can reveal that I can get consistent network copies at 200 MB/sec on the Pi over a 2.5 Gbps connection. But the ASUSTOR can go a bit further still.