Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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".



Yep, 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-sc...



It's ZFS, so that's built-in. A scrub does precisely that.


Yes, zfs includes file-level checksums.


This 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!


Block level checksums.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: