Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-09-2010, 12:40 PM   #1
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Rep: Reputation: 15
Distributed rsync over mesh network

A bunch of hosts all connected to each other.

I'd like to have a directory where a group of hosts can dump files and all access, synchronising with each other their changes automatically and transparent to the user.

How can I have it so that rsync updates both ways?

* host A asks host B for a list of files, modification dates, checksums
* then applies the rules to select which files it will fetch from B
--> if A owns the file then do not get modifications from B
--> files differ, then select newer file
* then fetches them
* and so on for each host...

Any ideas?

Last edited by Genjix; 07-09-2010 at 01:16 PM.
Old 07-09-2010, 01:23 PM   #2
LQ Newbie
Registered: Feb 2010
Posts: 5

Rep: Reputation: 1
Are these going to be user modified files? if so how will they be modifying the files?

If an 'application' or script is going to be modifying the files you are going to have to check timestamp when opening the file for editing, and then compare the timestamp before saving to see if it has changed. If so then save a local copy then rsync.

That's the best i could come up with right now. Hope it helps.


distributed, hosts, network, rsync, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mesh network issue(Batman): Cant bind interface address already in use melato Linux - Networking 2 09-09-2009 05:19 PM
Distributed software raid over network dru0pa Linux - Server 4 07-28-2009 07:43 PM
LXer: Setting up a Linux-based Open-Mesh Network, Part 1 LXer Syndicated Linux News 0 05-27-2009 07:40 AM
Where can I find 802.11s mesh network source code? leon.zcom Linux - Software 2 12-23-2008 06:04 PM
Free SIP distributed network dlublink Linux - Networking 2 01-29-2006 11:32 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration