问题原文
原帖链接 · 7E10FC9A · CC BY-SA 4.0
I have never encountered a disk failure in my whole life but I had a dozen of bit rot and silent corruptions. 'Normal' file systems and hardware RAID does absolutely nothing about it. I have been using application-level parity redundancy to protect my most important data, but it's apparently not quite effective.
I know ZFS store checksum of the chunks in its software RAID, which offers protection against bit rot and silent corruption, or does it ?.
The problem is, I do not want RAID-Z because it does not support expansion, which means I have to purchase disks with larger capacity than all of my data if I want expansion.
So is it possible to use filesystem-level parity without RAID or unequal disk size RAID ? For example by allocation part of the disk space to store the parity of the "chunks" instead of storing the parity of equal sized disks on another disk as in RAID5.
Thanks everyone for answering.The following is the conclusion based on the answers:
No, it's not possible to use ZFS parity without RAID, but it's possible to use mirror copy without RAID, which is not that different with application-level parity redundancy.
社区高分解答
原帖链接 · ewwhite · CC BY-SA 4.0
I don't think this is a good use case for ZFS. It's like you have a desired solution and are trying to make this fit.
Yes, there's the ZFS copies= parameter, which will endeavor to store multiple copies of files on different sectors of the disks, but it's not a substitute for true redundancy.
Please see: https://jrs-s.net/2016/05/02/zfs-copies-equals-n/
When you post a question and say such firm things like "RAID is off the table", it may be helpful to explain why you have those constraints so that we can help answer the real question.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
