Re: cannot receive mountpoint property on data/backup/home/foo/bar: permission denied

From: tech-lists <tech-lists_at_zyxst.net>
Date: Thu, 14 Oct 2021 01:12:59 UTC
On Wed, Oct 13, 2021 at 04:37:17PM -0700, David Christensen wrote:

>What is 'pv'?

sysutils/pv = pipe view monitor. It gives a progress bar and speed of
the data through the pipe. The command to send was via interactive
term and I wanted to see it max out my local LAN :D it's not
something i'd put in a script.

>The replication worked.  Note that the replica leaf directory 'bar' is
>not mounted, but its parents are; per the zfs receive -u option.

Yes, that is the case here.

>That failed, as it should; but not with the error message you are seeing
>(below).

>Do you see the replica on the receiving system?  E.g.:
>
># ssh remote.system zfs list -r -t all data/backup/home

Yes, it's all there. Maybe zfs recv needs to be told mountpoint=noauto
or something but my google-fu doesn't find it for recent stable/13 or
stable/12 or OpenZFS. There's a couple of threads in the forum about it
but they're for freebsd 9.x (and so no OpenZFS) and it doesn't appear 
in the (stable/13) handbook in this sort of context. And IIRC the 
forum threads didn't have a "fix" for it. I don't know if a fix is even
required. But I don't know why mountpoint should even be set, as it's a
snapshot.

-- 
J.