FreeBSD-EN-21:04.zfs : zfs recv fails to propagate snapshot deletion
Versions Affected : All versions prior to TrueNAS 12.0-U2
Description
A regression in FreeBSD 12.2 causes zfs receive to fail to delete snapshots that have been deleted on the source side.
Backup and replication systems based on ZFS send/receive that manage snapshots solely on the source side will fail to delete snapshots on the destination side. This may lead to out-of-space conditions on the destination.
Workaround
Errant snapshots can be manually removed from the destination with “zfs destroy”. Backup and replication systems that don’t use the -R flag with zfs send will be unaffected. For example, sysutils/zrepl is unaffected.
Mitigation
- Upgrade to TrueNAS 12.0-U2 or later.