Summary: | "zfs send -R -I | zfs receive -F" not destroying snapshots that don't exist on the sending side | ||
---|---|---|---|
Product: | Base System | Reporter: | Lewis Donzis <lew> |
Component: | kern | Assignee: | freebsd-fs (Nobody) <fs> |
Status: | New --- | ||
Severity: | Affects Many People | CC: | jmc-freebsd2, john, rpp |
Priority: | --- | ||
Version: | 12.2-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Lewis Donzis
2020-12-28 21:06:33 UTC
I also experienced this. I have a script running for many years that would create a new snapshot everyday and destroy snapshots older than a week. It would then do zfs send -R -I filesystem@yesterday today On the receiving side, it would do zfs receive -Fduv localfilesystem In the past, this would also destroy filesystems on the receive side as they get destroyed on the send side. After upgrading the receive machine to 12.2, it stopped destroying the old snapshots that had been destroyed on the send side. The send machine has not been upgraded yet. It is still running 12.1-p4. This is a me-too. We first encountered this in 12.1 revision r363264 so it predates 12.2 release. Its a showstopper for us, preventing us upgrading our 3 file servers from 11.3 (r349924). We have a couple of VMs set up that can quickly replicate the problem, so we can assist with testing if needed. This has been fixed for me in 12.2-RELEASE-p3. |