[Bug 240640] zfs send -n -P -i is broken after r344601

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 17 11:29:28 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240640

            Bug ID: 240640
           Summary: zfs send -n -P -i is broken after r344601
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: avg at FreeBSD.org

base r344601 introduced a new feature to update zfs send process title with the
send progress, but at the same time it appears to have broken -n -P combination
of option that's used to estimate a send stream size (while doing a "dry" send)
and to report it in a machine readable form.

On a system without the change:
> $ zfs send -n -v -i testz/test at snap1 testz/test at snap2
> send from @snap1 to testz/test at snap2 estimated size is 2.01M
> total estimated size is 2.01M

> $ zfs send -n -P -i testz/test at snap1 testz/test at snap2
> incremental     snap1   testz/test at snap2        2109424
> size    2109424

On a system with the change:
> $ zfs send -n -v -i testz/test at snap1 testz/test at snap2
> send from @snap1 to testz/test at snap2 estimated size is 2.01M
> total estimated size is 2.01M

> $ zfs send -n -P -i testz/test at snap1 testz/test at snap2
> incremental     snap1   testz/test at snap2

As can be seen, "-n -v" works as before, but "-n -P" is broken.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list