TrueNAS Core Replication to FreeNAS

tomkhoo

Cadet
Joined
Oct 21, 2020
Messages
9
Hi,

Anyone know does TrueNAS Core able do replication to FreeNAS and vice versa?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
This is in the 12.0U1 release notes:

Known Issues
KeySummaryWorkaround
NAS-107151Replication fails between legacy TrueNAS 9.10 systems and 12.0-BETA1 systems.Due to numerous improvements in the replication engine and ZFS, FreeNAS/TrueNAS 9.10 systems (or earlier) can no longer replicate to or from TrueNAS 12.0. Update the legacy TrueNAS system to FreeNAS/TrueNAS 11.3 or newer.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
11.3 -> TrueNAS Core replication did not work for me when I put Core on my backup server for test. I switched both to Core - replication OK, but I was concerned that 12 wasn't "Redcoat ready", so switched both back to 11.3 until 12.1 was released.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
I ended up in the same boat as @Redcoat but managed to get it working by configuring a PULL replication task instead of a PUSH one. I posted the details here.
 

Juan Manuel Palacios

Contributor
Joined
May 29, 2017
Messages
146
Here's how I got a ZFS push replication scheme working from TrueNAS 12.0, using OpenZFS 2.0, on to FreeBSD 12.2, which is still on the older ZFS stack:


HTH!
 

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
Here are my notes about troubles I had with replication. I finally got it to work. I posted this so that others with similar issues might get to the end quicker. I set out use replication between FreeNAS-11.3-U4 and TrueNAS Core 13.0-U1.1. The FreeNAS is nearly full and I want to move the data over
2022-10-21 (1).png
using Replication. I could not get the FreeNAS to TrueNAS push to work so I tried a pull from the FREENAS box using the new TrueNAS box. I created the Snapshot of Dataset Vol1 on the Vol1 pool on FreeNAS then went to replication tasks on TrueNAS box. I was able to connect with the SSH and navigated to the "on a different system" to Vol1 pool. I selected the "on this system" for the Pool1/Data1 destination. I then ran the replication task. It does warn me that "0 snapshots found" on the source side of the GUI, I confirmed there is one on the FreeNAS system of Vol1. Even though I created one on the Freenas box. When I run the replication task I get an error that the snapshot cannot be found.
Then I realized that the filter field in finding the snapshot is always on. The default is "auto" so my "manual" snapshots were not seen. I fixed that. Now I get an error that says my target is busy. I had some things in the directory it complained that it would not overwrite them, so I deleted the couple of files. I did not understand what busy was? After some more work I found that busy is because I have a running Plex server in a Jail that is attached to that volume. Shutdown the Jail and viola the replication is happening. I hope this post helps someone. It is running a peak of 2GB/sec over my 10Gb link. Fixing that's for another day.

So replicate the directory before you give plex access to it.

Update: Data is now replicated on my Truenas server with Plex Plugin and I am streaming movies!
 
Last edited:
Top