The original reason for building my Raspberry Pi 5 NAS was not to win a storage benchmark. I wanted compact, quiet, shared working storage for several computers, with control over the operating system, filesystem and maintenance. My earlier notes compared the idea with a Synology DiskStation, particularly the DS1815+ feature set. The resulting design was an 8 GB Raspberry Pi 5 with four nominal 1 TB NVMe drives, OpenMediaVault (OMV) and ZFS. This article brings together those design notes and the operational lessons behind the build; the original Raspberry Pi 5 NVMe NAS setup guide covers the earlier installation workflow.
1. Define the workload before selecting the hardware
The initial target was working storage over a Gigabit Ethernet network: files, project directories, media and backups from multiple clients. It was not intended to be a high-bandwidth all-flash data centre or the only long-term copy of important data. The distinction matters. A drive may be capable of several gigabytes per second locally while the network, filesystem and client protocol limit what an application actually receives.
| Design requirement | Original choice | Trade-off |
|---|---|---|
| Compact shared storage | Four NVMe drives on a multi-drive adapter | Shared PCIe bandwidth and adapter compatibility |
| Quiet operation | Solid-state data drives | Cooling fans, if needed, still generate noise |
| Fault tolerance | Four-drive RAIDZ1 design | One member failure tolerated, not two |
| Simple administration | OMV plus ZFS integration | More version and plugin compatibility work than an integrated appliance |
| Low recurring power use | Small ARM host, storage role only | Actual watts must be measured at the wall |
| Separate boot and data | Endurance-class microSD for original OS; NVMe data pool | Boot-media wear and recovery need explicit planning |
2. Understand the bandwidth budget
The Raspberry Pi 5 specification provides a PCIe 2.0 x1 interface and Gigabit Ethernet. PCIe Gen 2 x1 operates at 5 GT/s; after its line encoding, the theoretical payload budget is about 500 MB/s before protocol overhead. A 1 Gbit/s Ethernet link has a raw ceiling of 125 MB/s. Real file transfers are lower after overhead, and concurrent clients share the available resources.
This corrects a misconception in my earlier notes: PCIe Gen 2 x1 is not faster than a full SATA III link merely because the attached devices are NVMe. Multiple fast NVMe drives do not each receive a dedicated full-speed host lane through the shared adapter. Their value here is compactness, random access, suitability for the intended workload and a redundant layout, not guaranteed aggregate desktop-NVMe throughput.
| Nominal four-drive layout | Approximate raw capacity before overhead | Failure tolerance |
|---|---|---|
| Stripe | 4 TB | None |
| Two mirrored pairs | 2 TB | One failure per mirror; not arbitrary two failures |
| RAIDZ1 | 3 TB | Any one member |
| RAIDZ2 | 2 TB | Any two members |
These are simplified equal-drive capacities in decimal TB. Actual reported capacity differs because of TB/TiB conversion, ZFS allocation, parity, metadata, reserved space and workload. My original target was a three-data-plus-one-parity arrangement, which motivated the RAIDZ1 evaluation. Choosing RAIDZ2 or mirrors would be a reasonable different decision if recovery risk or random-write behavior matters more than capacity.
3. What OMV can replace — and what it cannot replace automatically
I liked the integrated management experience of commercial NAS appliances, but wanted to choose the storage and software layers myself. OMV provides a management interface for shares, storage and services. The ZFS integration supplies the pool and dataset layer. That combination can reproduce important storage functions without pretending to duplicate every vendor application.
| Function | DIY design | Scope |
|---|---|---|
| SMB/NFS shares | OMV-managed permissions and exports | Core requirement |
| Redundancy, checksums and snapshots | ZFS pools and datasets | Core requirement |
| Backup/replication | Independent backup destination, optionally ZFS replication | Must be configured and restore-tested |
| Remote access | Authorized private overlay network | Separate security policy |
| Media, photos, cloud sync | Optional applications or separate compute host | Not installed merely by choosing OMV |
| Virtual machines and heavy services | Prefer a separate compute node | Keep storage available during development workloads |
This is a feature-level comparison, not a claim that the Pi matches an eight-bay appliance’s expansion, enclosure, support, hot-swap capability or throughput. It is also not a current market survey of every commercial NVMe NAS. If integrated warranty, large disk capacity and appliance-grade support matter more than customization, a commercial NAS may be the better choice.
4. OS and boot storage are separate design decisions
The original installation notes used Raspberry Pi OS Lite on a microSD card and kept the data pool on NVMe. That was a deliberate way to preserve the NVMe slots for data and keep the system headless. A card must still have suitable endurance, and logs, package updates and swap can generate writes. Keep a verified image or other recovery method for the OS and preserve the OMV configuration separately.
For a new OMV installation, select a Debian base and installation route supported by the intended OMV version. The OMV installation documentation describes the ARM and Debian paths; its Debian installation notes explain compatibility and networking requirements. A general Ubuntu Server deployment can be a good Linux server, but do not assume it is a supported OMV installation merely because Ubuntu is Debian-derived. Avoid adding a desktop environment simply to get a graphical management interface: OMV provides its own web interface. ZFS kernel-module compatibility deserves checking before a kernel upgrade.
5. Eight gigabytes, swap and the reality of small systems
The original 8 GB choice was intended for ZFS file serving with a modest number of services. The November 2025 notes record experiments with compressed RAM swap (zram) and an initial configuration mismatch: an /etc/ztab entry was not the file read by the installed zramswap service. That is an important lesson about checking the running service rather than assuming all packages use the same configuration. A later NAS audit showed a nearly full disk-backed 1 GiB swapfile, so the earlier zram notes must not be treated as a description of the current configuration or evidence of a permanent performance improvement.
Zram stores compressed pages in RAM; it can reduce writes to boot media but uses CPU and physical memory, and compression benefits depend on the data. A configured logical device size is not free extra RAM. Read the kernel zram documentation for the actual device statistics and limits. Do not disable existing swap on a pressured host or discard useful persistent logs simply to reduce writes.
free -h
swapon --show
zramctl
vmstat 1 5
cat /proc/pressure/memory
These read-only checks distinguish resident memory headroom from swap occupancy and active paging. A more capable compute workload, database or many containers can change the RAM requirement significantly. I would choose capacity based on observed pressure and workload rather than claim that 8 GB is always enough. The later remote-development architecture demonstrates why I kept heavier development execution separate from the NAS.
6. Lessons from the original OMV setup
Two issues appear repeatedly in my original build notes. The first was failing DNS resolution during installation. The second was a successfully created ZFS pool or dataset not appearing where expected in the OMV interface. In the latter case the notes describe a mount-point and integration problem, not a missing disk. Before attempting repairs, establish which layer is failing.
ip -br address
ip route
getent hosts github.com
zpool status
zfs list -o name,mountpoint,canmount,mounted
findmnt
The commands inspect the network, pool and mounted filesystems without formatting a device or changing a mount point. Consult the installed OMV/ZFS plugin’s supported workflow for shared folders. Do not copy a fabricated /srv device identifier from somebody else’s installation. Changing dataset mountpoints while services or clients use them can cause disruption.
7. Measure the system you actually operate
The initial design prioritized low power, but the notes mix estimates and vendor specifications rather than matched wall-power measurements. A useful comparison requires the complete systems, comparable idle and transfer states, identical test boundaries and an observation window. For perspective, an illustrative 10 W reduction sustained all year corresponds to 87.6 kWh, before applying an electricity tariff. That is a calculation, not a measured saving from my NAS.
I would record real file throughput and latency from a client, simultaneous workload behavior, system temperature, disk health and power at the wall. The next maintenance step is independent backup and restore qualification, not simply more performance tuning. A fault-tolerant pool is still a single storage system.
Read the original Raspberry Pi 5 NVMe NAS setup guide for the earlier setup and WordPress operational follow-up for a separate example of operating a small public server. This design report is based on my original NAS planning and troubleshooting drafts; the external specifications and software documentation were reviewed in December 2026. It is not a freshly repeated installation or power benchmark.
