What is the Best Remote Filesystem? 72
GaelenBurns asks: "I've got a project that I'd like the Slashdot community's opinion of. We have two distant office buildings and a passel of windows users that need to be able to access the files on either office's Debian server from either location through Samba shares. We tend to think that AFS would be the best choice for mounting a remote file system and keeping data synchronized, but we're having trouble finding documentation that coherently explains installing AFS. Furthermore, NFS doesn't seem like a good option, since I've read that it doesn't fail gracefully should the net connection ever drop. Others, such as Coda and Intermezzo, seem to be stuck in development, and therefore aren't sufficiently stable. I know tools for this must exist, please enlighten me."
Samba (Score:4, Interesting)
I'm in a similar situation (Score:3, Interesting)
Simple : 9p (Score:3, Interesting)
9p [bell-labs.com]
So why not use what you have already (Score:5, Interesting)
Then you don't have to syncronize.
If you haven't already installed SSH on a machine in both locations, do so.
Follow the "Setting up Samba over SSH Tunnel mini-HOWTO" by Mark Williamson [ibiblio.org]. Then you can use the server on each side to share out the files on the other side and not even change anything about how your users do anything. It's very simple to set up. It's 3 steps on each side plus adding it into a log in script or mapping on the individual machines. So you should be ready in 5 minutes.
If you still want to syncronize, there are tons of tools to do that including Unison [upenn.edu].
Re:AFS is what you want (Score:3, Interesting)
I remember the first time that I did a 'vos move' on an AFS server and the volume moved from one server to the other without any downtime for the users. Talk about an admin's dream! :-)
Re:I'm in a similar situation (Score:3, Interesting)
Exactly right. The client connections will all be done via samba... it's the infrastructure I'm asking about.
That being said, NFS4 seems to still be in development and we need something that is finished and ready for use now. Storage Tank sounds nice... but something tells me it's not free software. Free is good. Finally, AFS is the glory... but the documentation is horrible. We can find a number of how-tos, but they're all either out of date or useless. Have I missed one?
Re:Simple : 9p (Score:3, Interesting)
I have a python 9p server daemon and clients.
The ask was "what's the best remote file system", 9p is the answer.
If you have money.... (Score:3, Interesting)
In terms of free ways to do it, it will really depend on how sync'd the two offices need to be. If it's instantaneous, then you will need to have one master server and both sites pointing to it. Others have mentioned AFS, but that is also non trivial. If the synch doesn't have to be instantaneous, then perhaps a regular rsync tunneled through SSH would do the trick. CVS may also help, depending on the data you have.
Re:AFS (Score:3, Interesting)
AFS is still nasty if you lose contact with the servers. That definitely will be a problem if