Unison Support?

Please post all that you want from a ReadyNAS here. Nothing guaranteed, but we'll certainly do our best if you make a good case for it.

Moderator: chirpa

Similar topics


Unison Support?

Postby adinb » Mon Jul 03, 2006 11:42 pm

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
You pilot always into an unknown future; facts are your single clue. Get the facts!
-R.A.H.
User avatar
adinb
ReadyNAS User
 
Posts: 60
Joined: Tue Sep 20, 2005 10:19 pm
Location: American Southwest

Postby beq » Tue Jul 04, 2006 9:19 am

Thanks for the suggestion, I really like what I've read about it.

Uses the rsync block-level diff algorithm, but also supports 2-way sync directly, and supposedly can even merge changes at both ends into the same file!

And native binary available for Windows, so no need for Cygwin...

+1 !

Resources:

http://www.cis.upenn.edu/~bcpierce/unison/

http://blog.kowalczyk.info/articles/usingUnison.html

http://www.linuxjournal.com/article/7712
beq
ReadyNAS Expert
 
Posts: 259
Joined: Fri Apr 14, 2006 3:50 am
Location: USA

Postby adinb » Wed Jul 05, 2006 2:52 pm

Yeah, the only downside is that it appears that the developers have decided to move on to other projects.

Hopefully someone motivated in the F/OSS community will pick it up, because it has some real potential.

-a
You pilot always into an unknown future; facts are your single clue. Get the facts!
-R.A.H.
User avatar
adinb
ReadyNAS User
 
Posts: 60
Joined: Tue Sep 20, 2005 10:19 pm
Location: American Southwest

Postby dca » Mon Jan 29, 2007 1:42 am

I've started to use Unison to synchronize some directories and it works amazingly well.
I think it would fit perfectly well to the ReadyNas as it would allow one to synchronize many machines with one master (the nas), which is the recommended way to synchronize more than 2 hosts.

+1
dca
ReadyNAS Newbie
 
Posts: 17
Joined: Wed Mar 29, 2006 12:36 am

Native Windows client makes Unison Very attactive.

Postby toreolsen » Sat Feb 24, 2007 11:29 pm

An 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.
toreolsen
ReadyNAS Newbie
 
Posts: 9
Joined: Thu Feb 02, 2006 1:00 pm

Postby bthom » Thu Aug 30, 2007 11:40 am

Hello,

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
bthom
ReadyNAS Newbie
 
Posts: 40
Joined: Mon Jun 19, 2006 8:42 pm

Postby yoh-dah » Thu Aug 30, 2007 11:42 am

With RAIDiator 4 and SSH access, you can implement Unison service on the ReadyNAS.
"Mooner panels -- moonlight-powered solar panels."
Yoh-dah's Useless Invention Ideas

ImageImage
NETGEAR Support | USA: 888-NETGEAR / International Numbers
www.readynas.com | FAQ | Hardware Compatibility List | Testing Memory | Sending Logs | Documentation | Testimonials
User avatar
yoh-dah
Jedi Council
 
Posts: 13218
Joined: Fri Nov 19, 2004 1:21 am
Location: Borah-Borah
ReadyNAS: Pro

Postby bthom » Thu Aug 30, 2007 12:49 pm

Can 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
bthom
ReadyNAS Newbie
 
Posts: 40
Joined: Mon Jun 19, 2006 8:42 pm

Postby yoh-dah » Thu Aug 30, 2007 1:56 pm

Check out the ReadyNAS Beta Forum.
"Mooner panels -- moonlight-powered solar panels."
Yoh-dah's Useless Invention Ideas

ImageImage
NETGEAR Support | USA: 888-NETGEAR / International Numbers
www.readynas.com | FAQ | Hardware Compatibility List | Testing Memory | Sending Logs | Documentation | Testimonials
User avatar
yoh-dah
Jedi Council
 
Posts: 13218
Joined: Fri Nov 19, 2004 1:21 am
Location: Borah-Borah
ReadyNAS: Pro

Unison development

Postby bindertwine » Tue Sep 04, 2007 2:56 pm

I 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.
bindertwine
ReadyNAS Newbie
 
Posts: 15
Joined: Fri Mar 17, 2006 1:59 pm
Location: Oahu, Hawaii, USA

Postby magi » Sat Sep 08, 2007 3:33 pm

Running 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?
magi
Advanced ReadyNAS User
 
Posts: 147
Joined: Mon Sep 18, 2006 10:10 am

unison under 4.0...

Postby bindertwine » Sat Sep 08, 2007 6:36 pm

Well, 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.
bindertwine
ReadyNAS Newbie
 
Posts: 15
Joined: Fri Mar 17, 2006 1:59 pm
Location: Oahu, Hawaii, USA

Postby bhoar » Sat Sep 08, 2007 6:46 pm

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
Unofficial, rambling and sometimes useful comments can be found above. Official, and always useful, links found below.
If you want official support, please use the phone number or phone number link below.
  • Broken Links Removed for now.
  • United States Support: 888-NETGEAR
  • International Support: Phone Numbers
FW: Hey! They're sending us free lumber!
User avatar
bhoar
ReadyNAS Junkie
 
Posts: 3608
Joined: Sun Jun 26, 2005 12:51 pm
Location: Arlington, VA / Washington, D.C.
ReadyNAS: Pro

Postby magi » Sat Jan 05, 2008 9:30 pm

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).
magi
Advanced ReadyNAS User
 
Posts: 147
Joined: Mon Sep 18, 2006 10:10 am


Return to Feature Request

Similar topics


Who is online

Users browsing this forum: No registered users and 4 guests