I'm planning to build my own NAS and now decide to use Unraid instead of TrueNAS because ECC memory will be important to ZFS compared to other filesystems. (I saw this from a lot of discussions)

My question is why? I know ZFS rely on RAM for caching, but why ZFS is more vulnerable to memory corruptions? And why other systems like unraid and btrfs are not as emphasize ECC memory?

It's quite interesting to see two major voices. People from TrueNAS side suggest you must have ECC memory if you care about your data. But people from unraid side said ECC it's not worth the money.

----

I also think if I keep a list of hashes when I back up my data, then ECC might not be nessary at all.

Follow

@skyblond ZFS manages the storage medium and use of it. If there is a corruption, it could destroy data on a drive or not recognize it.

I think it would be worth the compromise to use ECC. It could work without ECC ram but in a NAS I assume the Error rate would be higher. The uptime would see more potential errors from the time alone, not to mention the heat and other factors.

Nothing is ever a problem until it becomes problematic.

@AmpBenzScientist Thanks for the answer! ECC, to me, feels more like an insurance. Generally you don't need it, but when you do, you will be glad to have one. With my old NAS, I do have DDR3 ECC RAM, which is fairly cheap nowadays.

(BTW my old nas has dual E5 2695v3, which I can't run it 7x24 because it will literally blow up the electric bill and the single core performance is not that good)

However, for my new NAS, I decide to go with DDR5 and DDR5 ECC requires at least workstation hardware... And it's not cheap (not to mention that I'm in China and brands like ASUS don't sell workstation motherboard to individual consumers). So I guess for now I'll stick with non-ECC and do my best with backups.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.