Need help setup Freenas Replication between 2 hosts as I could not find

This is my first post guys so please let me know if I do anything wronge, however I’ll try to be as polished I can.

I’m trying to set the replication to my brand new FreeNAS server in the same local network, because data is quite large of 24.5 TB.

So to achieve this I was following https://www.youtube.com/watch?v=VnIVkh3akUE this nice tutorial you guys have on it & came across this challenge.

Source system is running “FreeNAS-11.2-U5” & Destination System is running “FreeNAS-11.3-U2.1” & was following your video to set it up right as I never did it before and came to know that “Temp Auth Tocken” is not available in new 11.3-U2.1 User Interface. now I’m not sure what I should do.

Can you or anyone help here?

Thanks in advance! :slight_smile: Stay safe :slight_smile:

It would be easier to start with the FreeNAS running 11.3-U2.1 and choose the older FreeNAS as the source. I need to do a new replication video as they have changed it a lot (for the better) with the new version. I will have a new video on this soon.

1 Like

Just finished the video last night

2 Likes

Hello Guys,

I have two FreeNAS NAS system at my House. One of my main NAS and the second one is a backup.
I used the Replication task on my „old” FreeNAS 11.2 systems without any problem. But when i updated my systems the current 11.3 U2.1 my replication task doesn’t do his job anymore. I decided to delete my replication and snapshot task and do it fresh used a wizard (From your video :blush: ). But something goes wrong again. I got the following error:
2020/05/17 12:38:40] INFO [Thread-7] [zettarepl.paramiko.replication_task__task_5] Connected (version 2.0, client OpenSSH_8.0-hpn14v15)
[2020/05/17 12:38:40] INFO [Thread-7] [zettarepl.paramiko.replication_task__task_5] Authentication (publickey) successful!
[2020/05/17 12:38:41] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task ‘task_5’: doing push from ‘Storage’ to ‘Storage-Backup’ of snapshot=‘auto-2020-05-17_12-02’ incremental_base=None receive_resume_token=None
[2020/05/17 12:38:41] WARNING [replication_task__task_5] [zettarepl.replication.run] For task ‘task_5’ at attempt 1 recoverable replication error RecoverableReplicationError(“full send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\nfull send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\ncannot unmount ‘/var/db/system’: Device busy\nwarning: cannot send ‘Storage@auto-2020-05-17_12-02’: signal received”)
[2020/05/17 12:38:41] INFO [replication_task__task_5] [zettarepl.replication.run] After recoverable error sleeping for 1 seconds
[2020/05/17 12:38:42] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task ‘task_5’: doing push from ‘Storage’ to ‘Storage-Backup’ of snapshot=‘auto-2020-05-17_12-02’ incremental_base=None receive_resume_token=None
[2020/05/17 12:38:43] WARNING [replication_task__task_5] [zettarepl.replication.run] For task ‘task_5’ at attempt 2 recoverable replication error RecoverableReplicationError(“full send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\nfull send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\ncannot unmount ‘/var/db/system’: Device busy\nwarning: cannot send ‘Storage@auto-2020-05-17_12-02’: signal received”)
[2020/05/17 12:38:43] INFO [replication_task__task_5] [zettarepl.replication.run] After recoverable error sleeping for 2 seconds
[2020/05/17 12:38:45] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task ‘task_5’: doing push from ‘Storage’ to ‘Storage-Backup’ of snapshot=‘auto-2020-05-17_12-02’ incremental_base=None receive_resume_token=None
[2020/05/17 12:38:45] WARNING [replication_task__task_5] [zettarepl.replication.run] For task ‘task_5’ at attempt 3 recoverable replication error RecoverableReplicationError(“full send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\nfull send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\ncannot unmount ‘/var/db/system’: Device busy\nwarning: cannot send ‘Storage@auto-2020-05-17_12-02’: signal received”)
[2020/05/17 12:38:45] INFO [replication_task__task_5] [zettarepl.replication.run] After recoverable error sleeping for 4 seconds
[2020/05/17 12:38:50] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task ‘task_5’: doing push from ‘Storage’ to ‘Storage-Backup’ of snapshot=‘auto-2020-05-17_12-02’ incremental_base=None receive_resume_token=None
[2020/05/17 12:38:50] WARNING [replication_task__task_5] [zettarepl.replication.run] For task ‘task_5’ at attempt 4 recoverable replication error RecoverableReplicationError(“full send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\nfull send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\ncannot unmount ‘/var/db/system’: Device busy\nwarning: cannot send ‘Storage@auto-2020-05-17_12-02’: signal received”)
[2020/05/17 12:38:50] INFO [replication_task__task_5] [zettarepl.replication.run] After recoverable error sleeping for 8 seconds
[2020/05/17 12:38:59] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task ‘task_5’: doing push from ‘Storage’ to ‘Storage-Backup’ of snapshot=‘auto-2020-05-17_12-02’ incremental_base=None receive_resume_token=None
[2020/05/17 12:38:59] WARNING [replication_task__task_5] [zettarepl.replication.run] For task ‘task_5’ at attempt 5 recoverable replication error RecoverableReplicationError(“full send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\nfull send of Storage@auto-2020-05-17_12-02 estimated size is 8.69T\ncannot unmount ‘/var/db/system’: Device busy\nwarning: cannot send ‘Storage@auto-2020-05-17_12-02’: signal received”)
[2020/05/17 12:38:59] ERROR [replication_task__task_5] [zettarepl.replication.run] Failed replication task ‘task_5’ after 5 retries

And this is my current config:



What did I wrong?

Try deleting the task and starting over.

I tried before, and now but i got the same result :frowning:

Hello guys,

I followed this new video but was not able to see the button to copy the replication key. I do not have any such button on source system. what to do?

Regards,
Hrish.

Hi @fkenny, I hit the same error when trying to replicate a dataset /source_pool/source_dataset to destination /destination_pool . When I created a dataset (initially empty, of course) on the target to receive the data stream – so the destination became /destination_pool/destination_dataset – everything worked fine. FreeNAS requires to have a target dataset to replicate to to already exist on the destination – can’t just replicate straight to a target pool, it won’t create it automatically for you. Not yet at least, not that automated/smart :slight_smile:

2 Likes

@Victor_Simeonov Thanks a lot it works perfectly as expected after you create a destination data set in the destination pool. Thanks a lot for that :slight_smile:

Thank you for everyone for the help! Yes, the current version of FreeNAS need a “salve” pool for basically everything, so i created a new pool under the main one and everything works as it should be :slight_smile:

Link my ixsystem ticket: https://jira.ixsystems.com/browse/NAS-106212

Can you not replicate to the root pool? So you need to replicate to a subdirectory and then move the files to the root of the pool?