|
|
|
|
|
by tecleandor
1123 days ago
|
|
I'm not sure what are you referring to with "data loss protection" in ZFS, but if you refer to the 'copies' parameter, that's not erasure coding, that's just full copies of the data blocks [0]. They mostly only work for some sector errors on disk. If you lose a whole disk, THEY DO NOTHING. [1] "The block pointer can store up to three copies of the data each pointed by a unique DVA. These blocks are referred to as “ditto” blocks in ZFS terminology." [2] And although VMWare calls RAID5/6 "Erasure Coding" [3](!!), I'd say it's not [4]. 0: https://docs.oracle.com/en/operating-systems/solaris/oracle-solaris/11.4/manage-zfs/copies-property.html
1: https://jrs-s.net/2016/05/02/zfs-copies-equals-n/
2: https://pages.cs.wisc.edu/~kadav/zfs/zfsrel.pdf
3: https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.virtualsan.doc/GUID-AD408FA8-5898-4541-9F82-FE72E6CD6227.html
4: https://www.itprotoday.com/storage/erasure-coding-vs-raid-which-right-and-when
--Edit: some extra info and links |
|
https://github.com/openzfs/zfs/blob/zfs-2.1-release/module/z...