In a Ubuntu 14.04 system I would like to store the same contents of a directory in two physical different devices. This should result in having in the filesystem tree two directories dirA and dirB with the same contents. I would like to work on them, keeping 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.
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?