In a Ubuntu 14.04 system I have two directories dirA and dirB with the same contents and I would like to keep them synced. Any modifications made in dirB should be mirrored in dirA and viceversa.
I did not choose rsync because I need a real-time syncronization to be set once; lsyncd works well in (almost) real-time, but it has some issues when trying to use it bidirectionally.
dirA and dirB should be stored in different locations (e.g. different disks), but there should not be a client and a server: the actions performed against dirA should be replicated at the same time in dirB and viceversa.
- Does exist a tool, or filesystem, which is able to perform this? 
- Does such a tool/filesystem exist when - dirBis in another machine?
 
                