keboose
Explorer
- Joined
- Mar 5, 2016
- Messages
- 92
I upgraded my main NAS and a remote machine both from FreeNas 11.3 to TrueNas 12.0. After the upgrade, the replication (Push) from the remote machine to my NAS fails every time:
The remote NAS uses a dedicated user I created on my main NAS, with UID 1007. After the replication began failing, I tried these things:
I'm not experienced by any means with ZFS or replication, is there something I'm messing up? I know that replication not using the root account on both ends is kind of a permissions nightmare, but I'm not sure what else I can change to make this work
Where* Replication "Main Pool Replication" failed: cannot mount 'BigNas/remotebak/backup/data': Insufficient privileges
cannot mount 'BigNas/remotebak/backup/users': Insufficient privileges..
BigNas/remotebak/backup
is the destination for the replication task on the remote machine. So the remote NAS's pool looks like:Code:
Tank ↳ data ↳ users ↳ VM_ZVol
The remote NAS uses a dedicated user I created on my main NAS, with UID 1007. After the replication began failing, I tried these things:
- manually unmount the
BigNas/remotebak/backup
dataset via root. This seems to work the FIRST replication, but it continues to fail after the first. - make UID 1007 the owner of the dataset mount point AND owner of the folders once they are mounted. (same effect as setting the owner permissions for the dataset in the web GUI, was all owned by
root:wheel
before upgrade.) This did not solve the problem. After the single successful replication, all the mount points are owned byroot:wheel
again. What's up with that? - Change the owner of the Tank and all child datasets on the remote NAS from
root
to a local user with UID 1007, to match my main NAS. Also had no effect.
I'm not experienced by any means with ZFS or replication, is there something I'm messing up? I know that replication not using the root account on both ends is kind of a permissions nightmare, but I'm not sure what else I can change to make this work