The ULTIMATE Raspberry Pi 5 NAS

2024/04/04 に公開
視聴回数 1,283,289
0
0
See you at Open Sauce June 15-16! Apply to exhibit here: https://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: https://www.raspberrypi.com/products/raspberry-pi-5/
- Radxa Penta SATA HAT: https://radxa.com/products/accessories/penta-sata-hat/
- TMEZON 12V 5A Power Adapter: https://amzn.to/3vB7dPR
- SanDisk Extreme 32GB microSD Card: https://amzn.to/3J2Cf6n
- Samsung 870 QVO SSDs: (NOTE: these went way up in price... I would recommend cheaper 2 or 4TB SSDs instead) https://amzn.to/4cI1fO4
- ThirdReality Zigbee Smart Plug Gen 2: https://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: https://pineberrypi.com/products/hatbrick-commander-2-ports-gen2-for-raspberry-pi-5
- Pineberry Pi HatNET! 2.5G: https://pineberrypi.com/products/hatnet-2-5g-2-5-gigabit-ethernet-for-raspberry-pi-5

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: https://amzn.to/4cGPxmF

Guides I referenced:

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

Support me on Patreon: https://www.patreon.com/geerlingguy
Sponsor me on GitHub: https://github.com/sponsors/geerlingguy
Merch: https://redshirtjeff.com
2nd Channel: https://www.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?