Date: Tue, 08 Dec 2020 21:56:57 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251694] Spurious EBUSY after zfs receiving properties to an existing dataset Message-ID: <bug-251694-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251694 Bug ID: 251694 Summary: Spurious EBUSY after zfs receiving properties to an existing dataset Product: Base System Version: 12.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org If you do a "zfs send -p <src> | zfs receive -F <dst>" to an existing but e= mpty dataset, the receive will complete successfully but spuriously fail with ex= it status 1 and the message "cannot mount 'pool/dataset': mountpoint or datase= t is busy". For example, zpool create pool vtbd zfs create pool/src zfs create pool/dst touch /pool/src/foo zfs snapshot pool/src@1 zfs send -p pool/src@1 | zfs receive -F pool/dst cannot mount 'pool/dst': mountpoint or dataset is busy The root cause is a merge error made in r344569 and MFCed in r345578, which merged changes a10d50f999 and e63ac16d25 from ZoL. The merge: * failed to flip a =3D=3D to an !=3D like the upstream change did, and * Left out one chunk This bug affects stable/12, but not head. It looks like stable/11 is affec= ted too, but I haven't tested yet. --=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-251694-227>