498 words
2 minutes
Journal-Upgrading My NAS (Network Attached Storage)

Preface#

This article is a repost of my original piece on Zhihu, published on March 17, 2022.

My original NAS ran Xpenology. I encountered an issue where the DSM web interface would completely freeze during heavy I/O operations across two hard drives. I decided to switch to TrueNAS (partly to create a new project for myself). Given that TrueNAS relies on the ZFS file system, which benefits significantly from ECC (Error Correction Code) memory to prevent “silent data corruption,” I realized my existing Athlon 200GE and A320 motherboard were incompatible. Thus, the upgrade began.

Specifications#

Pre-Upgrade Configuration#

ComponentModel
MotherboardColorful A320M-K “Broken Sword”
CPUAMD Athlon 200GE
MemoryADATA DDR4 2133 16GB (8GB * 2)
Boot DriveSanDisk Cruzer Fit 32GB
PSUSegotep GP600 500W (Full Modular)
ChassisInvasion X-1 (6-Bay)
NIC (10G)Mellanox ConnectX-3 10GSFP*2 PCIx4

Post-Upgrade Configuration#

ComponentModel
MotherboardASRock B550M-Pro4
CPUAMD Athlon 200GE
MemorySamsung DDR4 2133 ECC 32GB (16GB * 2)
Boot DriveIntel Optane M10 16GB
PSUSupermicro 480W Platinum (Modified 1U PSU)
ChassisTuopulong NAS-08 (8-Bay, 2022 Revised Edition)
NIC (10G)Mellanox ConnectX-3 Dual-Port 10G SFP+ (PCIe x8)

Component Selection Logic#

About TrueNAS

TrueNAS Hardware Introduction

Selecting the right hardware for TrueNAS is critical. ZFS uses system RAM as a high-speed cache (ARC), making ECC memory essential for mission-critical data integrity. Finding a consumer-grade motherboard that actually supports ECC proved difficult.

Many manufacturers claim ECC support, but it often only means they can “accept” ECC modules in “non-ECC mode.” After extensive research, ASRock and ASUS emerged as the best options for true ECC compatibility on consumer platforms. I chose the ASRock B550M-Pro4 because it supports unbuffered ECC memory, offers 6 native SATA ports, dual M.2 slots, and two PCIe x16 slots (one being PCIe 4.0). I sourced a used unit for around 3xx RMB, as new units were significantly more expensive.

asrock B550M-Pro4介绍

Regarding the CPU: the standard Athlon 200GE does not support ECC. However, the PRO series (OEM units) does. I opted for the Athlon Gold Pro 3150G (4C/4T). While these are technically OEM-only parts, they are readily available as “pulls” on the second-hand market.

AMD Gold Pro 3150G Introduction

Old Hardware#

New Hardware#

  1. Crucial 1TB Cache SSD, Intel Optane 16GB Boot Drive, and the AMD Athlon Gold Pro 3150G.

  2. Micron DDR4 2133MHz 16GB ECC Memory.

  3. Motherboard I/O Shield and ports.

  4. Verification: AIDA64 confirming that ECC is active and functional.

Storage Configuration#

I initially configured a RAID-Z array using three 4TB drives, plus one standalone drive. A Crucial 1TB SSD serves as the L2ARC (Cache).

  • Array Drives: 2x Western Digital (WD40PURX) and 1x Seagate (ST4000VX000). These are all CMR (Conventional Magnetic Recording) drives.
  • Standalone Drive: Toshiba P300 (SMR - Shingled Magnetic Recording). Due to the performance penalties of SMR in RAID environments, this drive is relegated to running PT (Private Tracker) downloads individually. Pro-Tip: Avoid using drives from the exact same production batch in a single array. If there is a manufacturing defect, they might fail simultaneously—a true “data crematorium.”

TrueNAS Environment#

Currently, I am running one CentOS VM and about 8-10 Docker containers. Even with 16GB of RAM, the system is nearly at capacity. I am waiting for the second 16GB module to arrive, which should provide much-needed breathing room for the ZFS ARC.

To be continued…

Journal-Upgrading My NAS (Network Attached Storage)
https://fuwari.vercel.app/posts/f3f6110f-f4f2-4e92-990c-a24a04494b50/
Author
Ryan Zhang
Published at
2025-10-12
License
CC BY-NC-SA 4.0
This content has been translated with the assistance of AI tools, including ChatGPT, Gemini, and Qwen. While efforts have been made to ensure accuracy and clarity, minor discrepancies may exist. Please refer to the original text for authoritative interpretation if needed.