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/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251694 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 empty dataset, the receive will complete successfully but spuriously fail with exit status 1 and the message "cannot mount 'pool/dataset': mountpoint or dataset 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 == to an != like the upstream change did, and * Left out one chunk This bug affects stable/12, but not head. It looks like stable/11 is affected too, but I haven't tested yet. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251694-227>
