Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently using rsync to keep a copy of a filesystem. This rsync constantly runs and keeps the backup up to date (in theory, its not particularly reliable). Is there a better way to keep a remote up to date snapshot of a filesystem (I'm unable to change the FS type to one with this built in - the source is on a NAS unit).

Thanks in advance!

share|improve this question
How is rsync acting unreliable for you? In my experience it is very reliable, so I suspect there is more to your situation that you are not telling us. – Zoredache Oct 29 '10 at 7:10
You need to provide details of the NAS. – Cry Havok Oct 29 '10 at 10:06
Unreliable in the aspects of keeping it continuously running. The data copies themselves are fine, but keeping a continuous rsync of the filesystem is proving troublesome. – user57566 Oct 29 '10 at 12:44
NAS is a netapp filer. The source drive is mounted from that. – user57566 Oct 29 '10 at 12:44

You can try with block device level replication with DRBD, it's de facto standard for this purpose (and it's even included in mainline Linux kernel starting from 2.6.33).

share|improve this answer
Thanks. The source data is mounted from a netapp so I'm unable to use DRBD, otherwise taht would have been a good step. – user57566 Oct 29 '10 at 12:46

An alternative is to use glusterfs, which is very simple to set up.

Or check out inotify which you can set up to run the rsync only when something changes on the filesystem.

Check out example 1 for how to do this.

share|improve this answer
inotify sounds like it might be just the ticket. Thats the main issue with rsync, getting it to consistently copy the data. I'll check that out. Thanks. – user57566 Oct 29 '10 at 12:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.