[Bug 251694] Spurious EBUSY after zfs receiving properties to an existing dataset
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 8 21:56:57 UTC 2020
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 at FreeBSD.org
Reporter: asomers at 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 at 1
zfs send -p pool/src at 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.
More information about the freebsd-bugs
mailing list