I want some tool like

$ mirroring_mount  ~/first_location ~/second_location ~/mount_point

So, when I edit file in ~/mount_point, it is edited in both locations, and if ~/first_location and ~/second_location are not identical, I get an error. Is there such a tool?

Why I want it: first_location and second_location are folders in clouds, that are mounted to fs. I do not trust clouds, as I think that they can fail some day, or erase some of my files, that's why I want to mirror them. Even better would be if I could not only mirror clouds, but do something like RAID 5 on 3 clouds.

update. My access to clouds is limited to file operations. All I have is just a folder in google.drive, which is mounted using davfs.

  • Please edit your question to clarify what you mean by your last sentence. What specifically would be better than RAID1 across two cloud storage providers? – roaima Apr 30 '16 at 16:40
  • 1
    Have you considered DRBD or possibly OCFS2? – roaima Apr 30 '16 at 16:42
  • Related: serverfault.com/questions/411338/… – Celada Apr 30 '16 at 17:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.