[Bug 259505] Bug in zfs receive - Mountpoint not changed

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Nov 2021 21:59:37 UTC

--- Comment #7 from Andriy Gapon <avg@FreeBSD.org> ---
(In reply to ERM Consulting from comment #6)
I am not sure if I understand the situation correctly but it seems that
zDataStorage8/datasetVM has its mountpoint explicitly set to
/zDataStorage8/datasetVM. "Normally" that property would not be manually set,
but rather automatically deduced (inherited) from the pool and dataset name.
When the property is explicitly set, like in your case, then it retains its
value when the dataset is sent via a replication stream (send -R).  So, the
received dataset would use exactly the same value of the property.

But if the property is automatic (default / inherited) then for the received
dataset it would be re-derived from the new pool / dataset names.

In practice, try to run this command first:
zfs inherit mountpoint DataStorage8/datasetVM
And then re-do the send | recv test.

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