The ULTIMATE Raspberry Pi 5 NAS

1,284,743
0
2024-04-04に共有
See you at Open Sauce June 15-16! Apply to exhibit here: opensauce.com/exhibits/

Radxa's Penta SATA HAT fits nicely atop the Raspberry Pi 5. Can I use it to build the ultimate Pi 5 NAS? Or will we run into issues?

This video is not sponsored, neither Open Sauce nor Radxa paid anything, nor did they have any input into this video—however I did recieve the Radxa Penta SATA HAT featured in this video for review, as well as the Pineberry Pi boards.

My build included the following (some links are affiliate links):

- Raspberry Pi 5 8GB: www.raspberrypi.com/products/raspberry-pi-5/
- Radxa Penta SATA HAT: radxa.com/products/accessories/penta-sata-hat/
- TMEZON 12V 5A Power Adapter: amzn.to/3vB7dPR
- SanDisk Extreme 32GB microSD Card: amzn.to/3J2Cf6n
- Samsung 870 QVO SSDs: (NOTE: these went way up in price... I would recommend cheaper 2 or 4TB SSDs instead) amzn.to/4cI1fO4
- ThirdReality Zigbee Smart Plug Gen 2: amzn.to/4azSfbI

You have two options for 2.5 Gbps networking, if you want it. First, for all PCIe, and stackable boards:

- Pineberry Pi HatBRICK! Commander: pineberrypi.com/products/hatbrick-commander-2-port…
- Pineberry Pi HatNET! 2.5G: pineberrypi.com/products/hatnet-2-5g-2-5-gigabit-e…

But that will downgrade the PCIe connections to Gen 2.

The second option keeps Gen 3 speed for the disks and gets slightly better 2.5G performance (in fact, slightly better than the switch), using a USB 3 2.5G Ethernet adapter. I used this Plugable 2.5G adapter: amzn.to/4cGPxmF

Guides I referenced:

- GitHub issue with full build details and benchmarks: github.com/geerlingguy/raspberry-pi-pcie-devices/i…
- Blog post on macOS Finder Samba slowness: www.jeffgeerling.com/blog/2024/macos-finder-still-…
- Create a RAID array in Linux: www.jeffgeerling.com/blog/2021/htgwa-create-raid-a…
- Create a Samba share on Pi: www.jeffgeerling.com/blog/2021/htgwa-create-samba-…
- Set up OMV on Pi: wiki.omv-extras.org/doku.php?id=omv7:raspberry_pi_…

Support me on Patreon: www.patreon.com/geerlingguy
Sponsor me on GitHub: github.com/sponsors/geerlingguy
Merch: redshirtjeff.com/
2nd Channel: youtube.com/c/GeerlingEngineering

Contents:

00:00 - The Ultimate Pi 5 NAS
01:35 - YOLO this thing
03:51 - Assembly
08:14 - (Don't) release the magic smoke
10:08 - Software setup - RAID 0
12:59 - It's hot
15:05 - Benchmarking RAID 0
16:54 - Open Sauce
17:45 - Reads over writes
18:56 - 2.5G Networking
22:06 - But is it faster?
23:33 - OMV + ZFS Setup
27:42 - ZFS Performance
30:37 - Oops.
31:17 - DIY or Buy?

コメント (21)
  • @JeffGeerling
    A number of comments have asked about using a 2.5 Gbps USB 3 Ethernet adapter instead of the PCIe switch, which would allow me to run the disks at PCIe Gen 3 speed. I tested that with a Plugable 2.5G adapter (which is plug and play on the Pi 5), and you're right! I got 270 MB/sec writes for a 50 GB test folder, and 200 MB/sec reads. Check out the GitHub issue linked in the description for all the details. This little NAS just keeps getting better :)
  • @tramcrazy
    Jeff: ‘this won’t be as janky as my previous Pi NAS projects’ 20 minutes later Jeff: ‘I’m just casually spreading 4 PCBs across my desk with 3 different ribbon cables hoping that PCIe won’t break on me’ 😂
  • @peterwroberts
    You gotta be careful not to say Pi NAS too quickly, lest we become confused about exactly what you're trying to build 😂
  • @shapelessed
    Am I the only one in fierce love of these small-as-possible SSD file servers?
  • Came here for the Pi NAS, stayed for the "I MUST HAVE IT" thermal camera. That snap on lens blew me away.
  • My wife is going to be pissed at me spending so much time playing with my PiNAS. Thanks Jeff.
  • @talbech
    Jeff, you are simply becoming the go-to guy in the RPI community. Best videos out there covering RPI related stuff. Awesome work. Keep it up.
  • Red Shirt Jeff has Jeff's mannerisms and voice down pretty well, and is not nearly as manic as 'normal'. Gotta be careful, he might be able to take over the channel!
  • @nakfan
    I really like the relaxed style with fewer cuts 👍
  • That 20 watt spike at the end of the copy was ZFS flushing the write cache of all the data you sent to write.
  • @SDWNJ
    Yellow shirt Jeff breaks fins off the heat sink. Red shirt Jeff: "He took ma jarb!"
  • @jon1913
    Jeff bringing back YOLO for 2024. BTW, experimental with pi builds is my favorite content on your channel. Keep them coming!
  • Tip : tell kernel to clear caches between measurements `sudo sync` `sudo bash -c 'echo 3 > /proc/sys/vm/drop_caches'`
  • @aGirts2015
    I've been checking thrice daily for when this would drop (as my penta hat has been in the mail for a week now). Thanks as always for the service you provide to the community Jeff!
  • I love how you took something that you said was not going to be jenky like some of your Raspberry Pi 4 attempts, and ended up making it jenky anyway to get the 2.5 networking working.
  • @Charlemagne89
    I would love a CM5 motherboard in the future which is loaded with SATA ports and networking so that we can do these experiments all in one place...
  • I had 0 idea what was going on this entire video but I randomly got recommended to your channel so I hope I can learn a bit more because I really like your way of explaining things.
  • Thanks for making this video. I used to consider doing this when Raspberry Pi 3B+ was in vogue. It's good to see the equipment is catching up to what is needed for a fast connection. As it stands I currently use Synology NAS but I will keep this mind for the future.