Hello.
I am trying to replicate snapshots from my onsite TrueNAS Core server to a vanilla offsite FreeBSD 13.0 server running ZFS. I have a data a set zdata/home ,which I am trying to push to 'data/razorfish-backup/' on the remote server.
I get the following error when replication is completed:
I use a non-root user on the destination system to receive the data. It's called 'backup'. I gave it following permissions:
(Repeated for all data sets.)
I tried with other data sets as well with a similar outcome.
Source system:
Destination system:
Edit: following discussion with davef on #TrueNAS IRC channel, I have created a JIRA bug: https://jira.ixsystems.com/browse/NAS-114601
I am trying to replicate snapshots from my onsite TrueNAS Core server to a vanilla offsite FreeBSD 13.0 server running ZFS. I have a data a set zdata/home ,which I am trying to push to 'data/razorfish-backup/' on the remote server.
I get the following error when replication is completed:
Code:
Error cannot receive aclmode property on data/razorfish-backup: permission denied cannot receive copies property on data/razorfish-backup: permission denied cannot receive sharenfs property on data/razorfish-backup: permission denied cannot receive sharesmb property on data/razorfish-backup: permission denied cannot mount 'data/razorfish-backup': Insufficient privileges . Please make sure replication user has write permissions to its parent dataset. Logs [2022/02/02 21:46:13] INFO [Thread-5839] [zettarepl.paramiko.replication_task__task_4] Connected (version 2.0, client OpenSSH_7.9) [2022/02/02 21:46:15] INFO [Thread-5839] [zettarepl.paramiko.replication_task__task_4] Authentication (publickey) successful! [2022/02/02 21:46:18] INFO [replication_task__task_4] [zettarepl.replication.run] For replication task 'task_4': doing push from 'zdata/home' to 'data/razorfish-backup' of snapshot='auto-2020-07-11_10-51' incremental_base=None receive_resume_token=None encryption=False [2022/02/02 21:46:24] ERROR [replication_task__task_4] [zettarepl.replication.run] For task 'task_4' non-recoverable replication error ReplicationError("cannot receive aclmode property on data/razorfish-backup: permission denied\ncannot receive copies property on data/razorfish-backup: permission denied\ncannot receive sharenfs property on data/razorfish-backup: permission denied\ncannot receive sharesmb property on data/razorfish-backup: permission denied\ncannot mount 'data/razorfish-backup': Insufficient privileges\n. Please make sure replication user has write permissions to its parent dataset")
I use a non-root user on the destination system to receive the data. It's called 'backup'. I gave it following permissions:
Code:
# sudo zfs allow -u backup compression,mountpoint,create,mount,receive,userprop data/razorfish-backup
(Repeated for all data sets.)
I tried with other data sets as well with a similar outcome.
Source system:
Code:
# uname -a FreeBSD kennedy.jensenwaud.lan 12.2-RELEASE-p9 FreeBSD 12.2-RELEASE-p9 2ee62d665f0(HEAD) TRUENAS amd64
Destination system:
Code:
# uname -a FreeBSD merkle.jensenwaud.com 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 04:24:09 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
Edit: following discussion with davef on #TrueNAS IRC channel, I have created a JIRA bug: https://jira.ixsystems.com/browse/NAS-114601
Last edited: