Home-made NAS with Arch, Btrfs raid 5 and shucked drives. The bottom of the ocean sky is the limit.
Summary: 4 cores, 8GB DDR4, 24TB storage, 1GB/s Ethernet, ~15W idle/~45W full load (projected, not measured).
- ASRock J4105-ITX / CPU 95e
- Crucial 4GBx2 DDR4 2400 MT/s SODIMM CT2K4G4SFS824A 20e
- WD Elements 8TBx3 EMAZ WDBWLG0080HBK-NESN 465e (3x155e)
- Cooler Master Elite 110 45e
- Antec 550VP reused (TODO: replace)
- PNY CS900 120GB reused
- 4x SATA cable (reused)
- 1x short ethernet cable (reused)
Total cost (for now): 625€ / $685
- Arch current (kernel was 5.5.2-arch1-1 at time of install)
- EXT4 system drive (
/ /boot /home /var
) - Btrfs raid5 ~16TB available (
mkfs.btrfs --label nasse --data raid5 --metadata raid1 --checksum xxhash /dev/sd[bcd]
)
Losing one disk is fine but will lead to downtime as the disks are all from the same day/same factory.
More on Btrfs:
- https://btrfs.wiki.kernel.org/index.php/Main_Page
- https://wiki.archlinux.org/index.php/Btrfs
- https://wiki.debian.org/Btrfs
- https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices
- https://btrfs.wiki.kernel.org/index.php/SysadminGuide#Layout
- NFSv4
- Docker
- Traefik
- Transmission
- Kodi (TODO)
- ... more (TODO)
Drives were shucked cleanly and easily, all are WD80EMAZ-00WJTA0, firmware 83.H0A83, built on 2019/11/28. Details in drives.md.
Lots of info on WD 8TB Elements/My Book/Easystore here https://ol.reddit.com/r/DataHoarder/comments/7fx0i0/wd_easystore_8tb_compendium/
On that old PSU, the 3.3V pins had to be covered with some tape (similar to https://imgur.com/a/BFdmB).
With this HDD/case combo: the drives bottom mounting holes won't match the case top bracket. That case is old and those drives are new(ish). Using only two screws and some rubber padding did the job as the PSU gets within an inch of the disks and keeps them in place. The case is now sitting on its head anyway so that the top two drives aren't held up upside-down and partly in the air. More on the old vs new mounting holes here, also on reddit
Temps stay around 37C with 23C ambient after 12 hours of badblocks with the 120mm case fan at 900RPM.
Write speed cruises around 160MB/s (during badblocks) or 140MB/s (rsync from USB3 drive) with a 0.5% advantage to the disk connected to the CPU SATA lanes vs the two others on the ASMedia ASM1061 SATA controller.