news.volyx.in

How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024) (neil.computer)

344 points by 4diii · 3 days ago · 249 comments on HN

Article summary

The article provides a step-by-step guide on building a minimal ZFS NAS without using Synology, QNAP, or TrueNAS. It explains how to set up a ZFS dataset and share it over the network using Samba. The guide covers locating and organizing disks, creating a ZPOOL, and sharing the disk on the network. The article also highlights the benefits of using ZFS, including its self-contained nature and ability to recover data even if the OS is compromised.

Main themes

  • ZFS NAS setup
  • Samba configuration
  • Disk management
  • Data recovery
  • Homelab servers
  • Storage solutions

What commenters say

  • Using a homemade NAS setup with ZFS and Samba can be a cost-effective and efficient solution for data storage and sharing.
  • Some commenters recommend using enterprise-grade server hardware for a NAS setup due to its reliability and ease of maintenance.
  • Others argue that using a homemade NAS setup can be more prone to data loss and requires more technical expertise to manage.
  • ZFS is considered a more robust and reliable file system compared to others, such as ext4 and MDADM, especially when it comes to handling drive failures.
  • The importance of having a notification system in place to alert the user of disk failures or other issues is emphasized.
  • Some commenters suggest using smartmontools and zfs event daemon to monitor disk health and detect potential issues.
  • The choice of hardware for a NAS setup, including the motherboard, CPU, and hard drives, is crucial for optimal performance and reliability.
  • The use of flash storage for a NAS is debated, with some arguing it is not suitable for archival purposes due to data degradation over time.