I have two machines: one that has the main 24TB ZFS filestore and one that is a clone of that filestore as a backup. Every now and then, I create a new snapshot on the primary and perform a differential zfs send
to the backup machine. The primary is raidz3 but the secondary is just striped.
Recently, the backup copy found a corrupt file during a routine scrub. The file is not corrupt on the primary filestore, so if it were two working filesystems, I could just copy the good file to the backup and be done with it. But with the zfs send
to zfs recv
workflow, I'm not sure how to handle it. What is the best approach to correcting this corruption so that I maintain the ability to do the differential zfs send
? I suppose I could modify the file on the primary machine and hope that it gets pushed as part of the next backup, but I'm not even 100% sure what kind of change to that file would trigger it being refreshed.