>Number: 169964 >Category: misc >Synopsis: "zfs receive -F" not destroying snapshots that do not exist on >the sending side >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 18 09:00:25 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Claudiu Vasadi >Release: 9-STABLE r236943 >Organization: >Environment: FreeBSD backup.local 9.0-STABLE FreeBSD 9.0-STABLE #0 r236943: Tue Jun 12 10:08:34 CEST 2012 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When sending snapshots to another machine with "zfs receive -F" the snapshots that no longer exist on the sending side, do not get deleted on the receiving side. >How-To-Repeat: Something like this would do:
zfs create rpool/test zfs snapshot rpool/test@snap1 zfs snapshot rpool/test@snap2 zfs snapshot rpool/test@snap3 zfs snapshot rpool/test@snap4 zfs send rpool/test@snap1 | ssh -c arcfour ssh backup.local zfs receive -F backup/test zfs send -i snap1 rpool/test@snap2 | ssh -c arcfour ssh backup.local zfs receive -F backup/test zfs send -i snap2 rpool/test@snap3 | ssh -c arcfour ssh backup.local zfs receive -F backup/test zfs destroy rpool/test@snap1 zfs send -i snap3 rpool/test@snap4 | ssh -c arcfour ssh backup.local zfs receive -F backup/test PS: Makes no difference if one uses the "-R" flag for "zfs send" or not. >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
