Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
CorrectI apologize for my ignorance, but you're basically saying that in order for the error correcting to work, I would either need to duplicate all my data or have mirroring or raid5/6 in place, correct?
Not with ZFS. There are filesystems on linux with built in ECC/ReedSolomon redundancy although I'm not sure any of them are production quality. For example: http://users.softlab.ntua.gr/~ttsiod/rsbep.htmlI want to prevent bitrot and have the ability to add more drives to the same zpool without incurring the costs of purchasing additional drives to mirror data or for parity. Is there any practical way to accomplish this?
I would not use this solution as Reed-Solomon does not suffice to repair all bit rot. Not even can Reed-Solomon even DETECT all errors. Here are research papers on this, and on the safety of ZFS:Not with ZFS. There are filesystems on linux with built in ECC/ReedSolomon redundancy although I'm not sure any of them are production quality. For example: http://users.softlab.ntua.gr/~ttsiod/rsbep.html
I would not use this solution as Reed-Solomon does not suffice to repair all bit rot. Not even can Reed-Solomon even DETECT all errors.
I know that. But ZFS does not rely on one single algorithm.
Why don't you read the research papers I linked too, instead?
I suspect I know more about ZFS than you do.Why don't you read some more about ZFS, since you clearly do not understand how ZFS does checksums. It does indeed rely on a single algorithm. It was using fletcher2 for quite a while. Now it is fletcher4. Yes, it is user configurable, but whatever algorithm is used to generate the checksum is the only one available to detect corruption, obviously.
Fletcher2 has a 50% chance of missing 2 consecutive bit errors. Its a piece of poo. But what does that have to do with anything? You can't even set the dedup algo to fletcher2 in the current zfs build.I suspect I know more about ZFS than you do.
fletcher2 is used to see if any bits have been altered in a data block, since the last read. The requirements are low here. fletcher2 is not cryptographically strong, that does not matter too much.
If you want to see if two data blocks are identical - then you can not use fletcher2. Because there is a very small probability that fletcher2 will say two data blocks are identical - even though they are not identical. But that is not the case here.
We want to see if two data blocks differs - not if they are identical. The requirements are much lower in this case. "Are there any altered bits since the last read?" has much lower requirements than "are these two data blocks identical, bit for bit?" This scenario, fletcher2 can do satisfactory. In other words, fletcher2 is probably safe to use, in this simple scenario. I see no reason to switch to fletcher4 in this scenario.
However, for data deduplication, fletcher2 is not safe to use because the requirements are much higher. Then we have to compare bit for bit, then fletcher2 or SHA256 is recommended. I would strongly advise against fletcher2 in that case.
Fletcher2 has a 50% chance of missing 2 consecutive bit errors. Its a piece of poo. But what does that have to do with anything? You can't even set the dedup algo to fletcher2 in the current zfs build.
Are you a troll or just dense?
Ok, prove it.Fletcher2 has a 50% chance of missing 2 consecutive bit errors.
Again, dedup is another thing. Dedup has higher requirements than only detecting if a bit has been altered. Fletcher2 is only used to see if a bit has been altered. You do not need a cryptographically strong hash function to do that. Have you studied cryptography? Do you know when you need a cryptographically strong hash function, and when you do not need it?You can't even set the dedup algo to fletcher2 in the current zfs build.