DEV Community

Hugo | DevOps | Cybersecurity
Hugo | DevOps | Cybersecurity

Posted on Originally published at valtersit.com

ZimaBlade PCIe Expansion: Custom NAS and Router Combo

The 2am phone call was a zpool scrub. The BGP session had flapped four minutes earlier, the failover to the backup ISP did not happen because the backup circuit was on the same box, and the on-call rotation had my number because I was the only one who claimed to understand the hardware. That is the story of every "one box to rule them all" build that survives past month three.

The ZimaBlade is a $70-ish single-board computer with a real PCIe slot, and that slot is the entire reason anyone cares. This guide is for homelabbers, sysadmins, and network engineers who want to know whether you can genuinely run a NAS and a router on the same silicon — and more importantly, whether you should. By the end you will know which PCIe cards are worth buying, how to size ZFS on 8GB of soldered DDR3L, which router OS actually fits an N3350, and where the failure domains will bite you.

Prerequisites

  • A ZimaBlade 7700 (or 3760 — verify the PCIe electrical lanes before buying, they differ)
  • 8GB RAM variant preferred; 4GB is workable for a router-only role
  • A PCIe 2.0 x4 card that physically fits the half-height slot
  • Boot media: SATA SSD or USB, not the onboard eMMC for anything you care about
  • A serial console adapter (USB-TTL) for headless recovery
  • Working knowledge of ZFS, Linux networking, and at least one firewall OS

:::note[TL;DR]

  • The ZimaBlade's PCIe 2.0 x4 slot (~2 GB/s theoretical) is fine for 2.5GbE and a 4-bay SATA HBA. It is not a 10GbE or NVMe RAID platform.
  • Two build paths: single-purpose (NAS or router) or split-purpose (both, virtualized or bare metal with cgroups).
  • Running NAS + router on one box is a bad idea for most people and a great idea for a narrow set of lab/cabin/RV scenarios.
  • Verify NIC chipset before purchase — Intel i211 vs. Realtek changes your entire driver story. :::

Why the ZimaBlade Is a Weird, Wonderful Little Box

Most SBCs give you GPIO pins and a dream. The ZimaBlade gives you a physical PCIe slot, dual NICs, and SATA — which is a completely different product category. That slot is why this thing has a cult following despite shipping with a 2016-era Celeron.

What You Actually Get for ~$70

  • Intel Celeron N3350 (dual-core, 1.1–2.4 GHz) or N3450 (quad-core) depending on SKU
  • 8GB DDR3L soldered (some SKUs 4GB — check before buying)
  • PCIe 2.0 x4 physical slot, electrically x1 on some board revisions — this is the single most important spec to verify
  • Dual gigabit NICs (Intel i211 on some revisions, Realtek RTL8111 on others — this matters enormously for FreeBSD)
  • SATA via ASM1061 controller, USB 3.0, eMMC boot

The PCIe Slot Is the Whole Point

PCIe 2.0 x4 gives you roughly 2 GB/s of theoretical bandwidth. That sounds thin until you realize 2.5GbE is ~312 MB/s and a 4-disk SATA HBA will never saturate it. Where it falls apart: 10GbE needs ~1.25 GB/s sustained, and NVMe RAID wants multiples of that. If you saw a YouTube thumbnail promising 10GbE on a ZimaBlade, that thumbnail was lying to you.

Verify the link negotiation before you trust any of this:

# Confirm the actual negotiated link width and speed, not the marketing spec
lspci -vv | grep -A2 "LnkCap\|LnkSta"
# Expected on a good board: LnkSta: Speed 5GT/s, Width x4
# If you see Width x1, you bought the wrong revision
Enter fullscreen mode Exit fullscreen mode

If LnkSta reports Width x1, your 2.5GbE card will still work but you have less headroom for an HBA on the same bus. Plan accordingly.

What This Box Is Not


⚠️ TRUNCATED VERSION
This is an abbreviated cross-post. Full article (all config files, architecture diagrams, images): valtersit.com


🛠️ Partner Tools for Developers

ValtersIT curates partner deals for developers and sysadmins — VPS hosting, security tools, monitoring platforms and dev productivity gear. No filler, no affiliate spam.

➜ valtersit.com/deals/

Top comments (0)