ZFS operations log

mattriley

Cadet
Joined
Jan 2, 2019
Messages
2
I have successfully setup ZFS snapshot replication between two systems. So far, so good.

Is there a log file that tells me when and how long the replication process took each time it happens? I can catch it in the act and the snapshots are making the trip over the network but I'd like to know if there is a place I can review what happened and when (how much data was transferred, etc.).

Thanks!
Matt
 

mattriley

Cadet
Joined
Jan 2, 2019
Messages
2
Looks like there is stuff in /var/log/debug.log

There are at least entries for when a replication starts and stops, so that's something. And it looks like there is a temporary log file created in /tmp/repl-* each time a replication task runs. However, it looks like that log file is deleted when the task finishes, so I'll have to catch it in the act if I want to see what's being written to that log.

It would be really nice to have this kind of information available for each replicated snapshot, along with a list of changed files (that can be obtained with zfs diff).
 
Top