Live data from Hacker News

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

neil.computer

261–265 of 265 posts

Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

#261
post #165

Given the current "crisis", I wonder if older off-the-shelf NAS from QNAP, Synology, Asus, UGreen etc. could be re-flashed using FOSS.

The models that are a crappy PC can, almost like any or other crappy PC. Some have a very tiny DOM that might or might not be enough for a recent system. Of course, once the system is minimally up, it can use the big disk for software. No idea if any have special weaseling on them, but you can always search for the model and e.g. Debian (that tends to have best hits). Running with read-only root or just initrd is also quite possible.

The ARM models tend to be very very very slow and small and have architectures that are obsoleted in many Linux distributions combined with hardware that's weird enough that NetBSD doesn't support it (e.g. LAN chip or SATA, which you might need in a NAS). And yes, looking at NetBSD pages and build configs is one avenue for finding well supported devices. Although the documentation isn't great or complete. Some models may also have weird boot sequences or rescue modes that are extra hassle.

I keep wondering if a neat little buildroot config would work with some of these devices. Other odd options would be https://armbian.com/boards and https://openwrt.org/supported_devices .

Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

#262
post #151

My homelab "NAS" is unfortunately just a few USB based external disk enclosures, externally powered. Is there no way of making these reliable ? Every so often (maybe once a month) I get timeout errors or some kind of issues with at least one of the disks.

Apart from better (luck with) enclosures, cables, and power, probably not. USB-SATA bridges are notoriously flaky.

Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

#263
post #151

My homelab "NAS" is unfortunately just a few USB based external disk enclosures, externally powered. Is there no way of making these reliable ? Every so often (maybe once a month) I get timeout errors or some kind of issues with at least one of the disks.

Try a different host machine to rule out it being a DAS enclosure.

Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

#264

Rather than 'plain' debian you can put it on Proxmox, and enjoy the bliss of Proxmox Backup Server.

Can you explain a bit more about this. Would this help in a single server to facilitate backups? Or does this need the the NAS and the Proxmox Backup Server on a different system?

I'm running PBS on a separate mini pc, it is the perfect forever near instant incremental backups that sold me. I did perfectly recover in 20 minutes after a full hardware failiure. Best recovery experience ever.

Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

#265
post #250

Earlier quoted context omitted.

Where does that 8GB requirement come from?

From the official documentation.

It's more of a recommendation.

> 8GB+ of memory for the best performance. It’s perfectly possible to run with 2GB or less (and people do), but you’ll need more if using deduplication.

Post reply on HN