This tutorial will show you how to install netatalk on SmartOS. Netatalk is an open source implementation of the Apple Filing Protocol, which used to be the default file sharing protocol on Macs. It has since been replaced as the default protocol on Macs by SMB/CIFS. Netatalk can be used to build your own NAS from commodity hardware, instead of buying one. SmartOS supports AMD Ryzen and AMD Epyc CPUs since a while back, in addition to the long supported Intel CPUs, such as the Intel Xeon.
This article will show how to compile ZFS on Linux 0.8.2 on Ubuntu 18.04 on ARM64, specifically the FriendlyElec NanoPi M4 single board computer, which has a four port SATA HAT available. It works great on other single board computers too, and I’ve successfully compiled and used ZFS on the Raspberry Pi. These instructions will most likely work on other architectures supported by ZFS on Linux, such as x86_64.