Repository navigation
Does ARC or L2ARC contribute to redundancy? #19251
Replies: 4 comments 8 replies
No. |
|
Checking with a search engine, I get the following. However, the 2 references, (at the bottom), don't mention checksumming. So I don't trust the information... (AI hallucination...)
|
|
L2ARC now stores exactly the same bit-identical data as main storage, so it is verified using the same checksums/MACs. If read or checksum fail, the read is redirected to the main storage. So in a sense it is a form of redundancy. The problem is that it is unpredictable to rely on it. Also I am not sure ZFS can repair corruptions on a main pool with data from L2ARC, but it could be investigated. |
Uh oh!
There was an error while loading. Please reload this page.
Background:
Recently I built my next generation NAS, with only 1 x 10TB HDD in the pool. The AI apocalypse caused me to delay buying the Mirror HDD. But, backups are available, so that should be good in the short term.
To speed up access, I added a 500GB NVMe Cache / L2ARC device I had bought before the costs went up.
All seems to be fine, including the RSync backups being sped up.
The question:
Does the Cache / L2ARC device(s) act as additional redundancy for regular pool devices?
Obviously restricted to blocks that actually exist in the Cache / L2ARC...
Discussion:
Reading manual page for
zpoolconcepts, sectionCache Devices, does not list if checksums are used on the entries. Reading elsewhere, there appear to be no checksums on Cache / L2ARC blocks. This reference does not mention checksums or redundancy:Open ZFS Docs - L2ARC (cache vdev)
Yet, if there are no checksums on Cache / L2ARC entries, then why would ZFS trust the data?
If a block read did not return a read error, could ZFS mistake bit-rotted data for real data?
Persistent Cache / L2ARC means that a Cache / L2ARC entry could live for years without being evicted. And if Cache / L2ARC entries are not scrubbed for bit-rot, then we have a potential source of corruption.
Additional questions:
These thoughts lead me to these additional questions:
All reactions