Our great sponsors
-
httm
Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even actual Time Machine backups!)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
But doesn't verifying all those checksums take a long time? And don't you already do this when you do a zpool scrub? Good point! Wouldn't it be nice to only test those files which ZFS tells us have changed (if you trust ZFS)? One way of doing that would be to keep an index of file changes, but again ZFS already does this for us. Fortunately httm can help us:
One thing ZFS doesn't do (and thank goodness it doesn't?), it doesn't detect out-of-band changes to files. If a program has the permissions to modify a file, ZFS happily modifies that file. But, for some files (and for the truly paranoid), we may want to keep additional metadata about file integrity. For instance, FLAC files keep checksums of its music streams. A program I wrote, dano, provides a way to do the same for all FFMPEG compatible media streams.