Bidirectional synchronization

lucapsg

Dabbler
Joined
Jun 10, 2016
Messages
14
Which solution/software would you use to obtain "real-time" bidirectional synchronization between two FreeNAS machines connected to the same local network?
Has anyone had experiences?
What reliability can be expected?
Regards
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
There is no good general purpose solution to this problem with ZFS -- or really any other filesystem that hasn't been specifically designed to cope with it.

So let's say you have two clients, one hooked up to FreeNAS A and one hooked up to FreeNAS B.

Both clients simultaneously edit a file, and make different changes.

What's supposed to happen in this case?

Tools such as Unison that are designed for bidirectional synchronization have to stop and ask what to do. Distributed filesystems that are designed to cope with this usually use slow-ish locking in order to be able to present the correct things to the clients, so that there aren't multiple potential writers.
 
Joined
Dec 15, 2022
Messages
1
Which solution/software would you use to obtain "real-time" bidirectional synchronization between two FreeNAS machines connected to the same local network?
Has anyone had experiences?
What reliability can be expected?
Regards
Resilio Connect provides highly reliable bidirectional sync (and can also go one-to-many, many-to-one, or many-to-many). Connect runs directly on TrueNAS (and other operating systems as well).
 
Top