Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2019 11:29:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240640] zfs send -n -P -i is broken after r344601
Message-ID:  <bug-240640-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240640

            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@FreeBSD.org
          Reporter: avg@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 combina=
tion
of option that's used to estimate a send stream size (while doing a "dry" s=
end)
and to report it in a machine readable form.

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

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

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

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240640-227>