4 ms·
> regularly run scrubs and check the data Does this include some kind of built-in hash/checksum system to record e.g. md5 sums of each file and periodically te
by foobarian 2y ago
> regularly run scrubs and check the data
Does this include some kind of built-in hash/checksum system to record e.g. md5 sums of each file and periodically test them? I have a couple of big drives for family media I'd love to protect with a bit more assurance than "the drive did not fail".
- Filligree 2y agoIt's ZFS, so that's built-in. A scrub does precisely that.
- adastra22 2y agoYes, zfs includes file-level checksums.
- giantrobot 2y agoBlock level checksums.
- jclulow 2y agoThis is not strictly accurate. ZFS records checksums of the records of data that make up the file storage. If you want an end to end file-level checksum (like a SHA-256 digest of the contents of the file) you still need to layer that on top. Which is not to say it's bad, and it's certainly something I rely on a lot, but it's not quite the same!
- faggotbreath 2y ago[flagged]
- ghostly_s 2y agohttps://en.wikipedia.org/wiki/ZFS?wprov=sfti1#Resilvering_and_scrub_(array_syncing_and_integrity_checking) https://en.wikipedia.org/wiki/ZFS?wprov=sfti1#Resilvering_an...
- Cyph0n 2y agoYep, ZFS reads everything in the array and validates checksums. ZFS (at least on Linux) ships with scrub systemd timers: https://openzfs.github.io/openzfs-docs/man/master/8/zpool-scrub.8.html#PERIODIC_SCRUB https://openzfs.github.io/openzfs-docs/man/master/8/zpool-sc...