Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Simple P2P transparent FS replicator for Linux?

mrcgran (1002503) writes | more than 7 years ago

Data Storage

mrcgran writes "I have a group of different Linux boxes (two desktops at home and work, a laptop and a PDA) and I would like to replicate a file system among them with no hassle at all, so that my working set is the same no matter where I am. The perfect solution would be one in which, for each box, I run a background replicator process and point it to some local block device. For each local write access in this device, the replicator asynchronously commands the peers in the group to mirror the action on their own local devices over ssh, stunnel or other secure protocol. Replicators can be added and removed from this group at any time. I might even have two replicators running on the same machine pointing to two different local block devices (RAID1-like). There is no need to replicate at block level, indeed replicating at file level would simplify me resizing the block devices in the future.

I wasn't able to find an open-source solution for the problem above. Pratima, for instance, is asynchronous but it seems to be client-server and difficult to setup in a dynamic group, similarly to DRBD. Lustre is not truly P2P but depends on a master node managing meta operations. Other fail-tolerant file systems are even more difficult to set up. What replication service do you use? Does anyone know of any which might be as useful and hassle-free as the perfect solution above?"

cancel ×

comment

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>