大网数据广告活动
服务器运维问答

ZFS protection against bit rot and silent corruption without RAIDZ

· 52CE 我爱测

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 re…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-03-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。