Skip to content

zfs send immediately stops with "Assertion failed: (progress)" #11457

@lapo-luchini

Description

@lapo-luchini

System information

Type Version/Name
Distribution Name FreeBSD
Distribution Version 12.2-RELEASE-p2
Architecture FreeBSD
ZFS Version base system

Describe the problem you're observing

I migrated this server a few times already on new hardware over the years, by using zfs send.
Even right now I'm using zrepl to periodically have a remote copy to a distant site (for disaster recovery).
But trying to migrate on a new server in the same server farm recently I'm seeing this error:

$ sudo zfs snapshot -r z@recentSnapshot
$ sudo zfs send -Rv z@recentSnapshot >/dev/null
Assertion failed: (progress), file /usr/src/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, line 1511.

This is happening in FreeBSD's libzfs_sendrecv.c line 1511 but as far as I can tell it is identical to current libzfs_sendrecv.c line L1343.

Describe how to reproduce the problem

I don't know how to reproduce it (or debug it) and the server is serving production data, so I can only do non-intrusive tests.

I guess it has something to do with clones, given the comments at line 1312 and line 1324 so maybe I can print something with zdb?
Any idea how to debug (and solve)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions