NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
adinb
Jul 04, 2006Aspirant
Unison Support?
I'd like to throw support for Unison (client & server) into the hat. It's cross platform, similar to rsync, but easier to use, and has plenty of F/OSS implementations. Unison might really make mirroring a lot easier with the readynas.
-adin
-adin
23 Replies
Replies have been turned off for this discussion
- magi1Aspirant
I wouldn't take that bet.
Hey Brendan. Ever since you wrote that, I've been wondering if you're right... thinking you probably were, but I wanted to know for sure. So I had a mental note to actually test it, once RAIDiator 4 shipped.
I just finally updated to RAIDiator 4, and (with a not-too-carefully tuned setup, for example I'm using the normal ethernet 1500-byte MTU, not jumbo frames), I get around 25MB/sec reads. Running md5sum locally, I was able to checksum a 700MB file in 27 seconds. Running md5sum against the same file locally on the NAS, it took 67 seconds (barely 10 MB/sec).
So you're right, and I lost the bet: the ReadyNAS can drop packets on the wire a lot faster than it can checksum them with md5sum.
I don't know exactly how rsync computes checksums and whether it's more or less CPU intensive than md5, but in the spirit of things, you win and that makes running rsync/unison on the NAS a lot less attractive, assuming a fast network (if you were running across a slow link, then of course the link becomes the bottleneck instead of the ReadyNAS's CPU and the tables may turn). - bhoarAspirant
magi wrote: I'll bet that the ReadyNAS can checksum files locally faster than it can stream them over any of its file sharing protocols.
I wouldn't take that bet.
-brendan - bindertwineAspirantWell, if dpkg is implemented on the readynas (I don't know), you can probably install it easily enough. After radiator 4 is released, I'd be willing to try it myself.
Although it isn't true that running unison locally misses the whole point - after all, you are still achieving file synchronization. It's just a whole lot slower than it ought to be. But better than nothing. - magi1AspirantRunning it in local mode doesn't give you the performance benefit of the rsync/unison protocols though; it basically misses the whole point. Sure, for many of us, network bandwidth between our computers and the ReadyNAS isn't at a premium (so conserving that doesn't matter), but I'll bet that the ReadyNAS can checksum files locally faster than it can stream them over any of its file sharing protocols.
So back to getting Unison running on the ReadyNAS: very cool that Raidiator 4 is now (beta) available and allows us to run our own services. Anyone have info on toolchain/compilers for compiling Unison (or whatever) for the ReadyNAS? - bindertwineAspirantI checked with one of the Unison developers...although they may be working on other projects, they also use Unison on a daily basis, and things continue to get fixed. It's a good solution...if only I could get it to work with the ReadyNAS.
I tried it by mounting the ReadyNAS and running Unison in local mode, but since I'm running Mac OS X, I found:
1) Can't use SMB/CIFS, because resource forks and extended attributes are not supported
2) Can't use NFS, same reason
3) Can't use AFP, because there is a bug in the AFP implementation on the ReadyNAS that doesn't set permissions correctly in all cases.
The only way to use Unison right now from Mac OS X with a ReadyNAS is to set Unison to ignore permissions, and to run it locally with the ReadyNAS mounted as a network disk. Of course, if permissions matter to you, this could be an issue. - yoh-dahGuideCheck out the ReadyNAS Beta Forum.
- bthomAspirantCan you please provide more detailed information on how one would begin to go about doing this?
Do I need to compile things on the Nas to make this work? I get the impression that the Nas CPU is too slow to do much of that kind of thing (e.g. http://....).
Thanks a bunch,
--b - yoh-dahGuideWith RAIDiator 4 and SSH access, you can implement Unison service on the ReadyNAS.
- bthomAspirantHello,
I also strongly encourage this idea. As it stands now, to do 2-way synchronization I have to use one of my Macs to provide the interface (it goes thru the NAS) b/c the NAS can't provide unison services directly.
Folks at Infrant ... is there an effort to incorporate a unison server into the Nas units? If so, what's the status on that?
Thx,
--b - toreolsenAspirantAn extra vote for Unison. It is a brilliant program for two way sync, uses the rsync algoritm to save bandwidth use and is cross platform. I would get a lot more use out of my ReadyNAS NV if it supported Unison.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!