Hello Everyone,
I am new to the game, but I have been reading up the various alternatives for a DIY NAS (in particular this thread and comments by @tkaiser in various forums all over the net).
What I figured so far (mostly because @tkaiser and other people that seem to know very well what they talk about stresse these points relentlessly) is:
1. Do not use 'classical' RAID configurations in a home/small-business setup ever (hardware or software)
2. Use a checksummed file system (i.e. btrfs or ZFS - I don't think there are much alternatives, bcachefs maybe?)
3. Use ECC RAM, if possible.
4. Avoid hard drives connected via USB, and preferably use 'real' SATA connections.
Now, my list of requirements (or preferences) for a NAS is:
a) Small form factor (and preferably somewhat decently looking, so I can place it in the living room)
b) Low energy consumption as the thing should run 24/7
c) Silent (preferably passive cooling)
Combining these two lists, leaves me essentially with the two options @ekent already mentioned:
I. RockPro64 with the NAS case and a decent PCIe SATA adaptor (i.e. using either a Marvell 88SE9235 or ASMedia ASM1062 chip, where the latter is much cheaper at least when ordering from Australia)
II. Helios4
My use case for this is a NAS for home environment where I keep pictures, documents and stuff. I don't really have movies or music anymore (spotify and netflix does the trick). Also, I would like to use it as a backup location for my laptop, using restic, which in itself shares many traits with those next-generation file systems. Last, I plan to backup the NAS to a cloud storage, again using restic (or something similar that integrates better with the filesystem of the NAS). Thus, I will probably end up having one or two 2TB HDD in the NAS (kind of depending on whether I should keep a local backup or not).
Last, I should mention that I am not the biggest fan of btrfs. I have used it around 6 years ago on various workstations and only had trouble with that setup. (Back then OpenSUSE recommended btrfs in the installer). The issue was somehow related to the snapshots btrfs automatically did and eventually ran out of disk space in /var. As this left my systems various times in an unusable, though recoverable, state, I switched back to ext4.
My questions/concerns on all this are:
- Can I use ZFS with either one of the boards mentioned above? I know that the Helios4 does not have the most powerful CPU (and it is 32bit), but there are apparently people that got ZFS running on a Raspberry Pi or Rock64 (see e.g. [1,2,3]). The RockPro64 has a much more powerful 64bit CPU and twice the RAM (4GB vs 2GB for the Helios4), but I am still unclear if that would be enough for ZFS. Obviously, a downside of the RockPro64 is that the RAM is non-ECC.
- Thus, my 2nd question: In case ZFS can be used on these boards, should I chose ECC RAM over a more powerful CPU?
- Is btrfs usable (or even recommended) for a NAS nowadays? (As said, my experience with btrfs hasn't been the best a few years back.)
- I am still unsure of whether adding a 2nd HDD and setting up a ZFS/btrfs mirror is a good idea or just waste of an HDD. Any recommendations?
- Last, which board to chose, RockPro64 or Helios4 or something else?
I am aware that ZFS on Linux, and especially on OMV, might mean that some tinkering is required. I don't see this as a problem, and I am fairly well accustomed to a Linux environment.
Any hint or further insight, especially regarding ZFS on these ARM boards, is much appreciated!
Cheers,
Armin
[1] https://www.raspberrypi.org/forums/viewtopic.php?t=165247
[2] https://icicimov.github.io/blo…ZFS-NAS-ROCK64-NFS-Samba/
[3] https://forum.armbian.com/topi…ab=comments#comment-53681