Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Distributed Filesystems for Linux?

Posted by Cliff on Tue May 13, 2003 05:45 PM
from the one-filesystem-many-hard-drives dept.
zoneball asks: "What would you use for a distributed file system for Linux? I have several GNU/Linix machines running at home, and wanted to be able to see more or less the same file tree (especially all the ~user directories) regardless of which machine I'm connected to, and where the traversal into the distributed file system space is largely transparent for the end-user. Are there any URLs or documents that compare the features, bugs, road map, stability of these and other distributed filesystems? Which offers the best stability and protection from future obsolescence?"

Zoneball looked at 3 distributed filesystems, here are his thoughts:

" Open AFS was the solution I chose because I have the experience with it from college. For performance, AFS was built with an intelligent client-side cache, but did not support network disconnects nicely. But there are other alternatives out there.

Coda appears to be a research fork from an earlier version of AFS. Coda supports disconnected operations. But, the consensus on the Usenet (when I looked into filesystems a while ago) was that Coda was still too 'experimental.'

Intermezzo looks like it was started with the lessons learned from Coda, but (again from Usenet) people have said that it is still too unstable and it crashes their servers. The last 'news' on their site is dated almost a year ago, so I don't even know if it's being developed or not"

So if you were to recommend a distributed filesystem for Linux machines, would you choose one of the three filesystems listed here, or something else entirely?

This discussion has been archived. No new comments can be posted.
Distributed Filesystems for Linux? | Log In/Create an Account | Top | 375 comments (Spill at 50!) | Index Only | Search Discussion
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • NFS (Score:4, Informative)

    by mao che minh (611166) * on Tuesday May 13 2003, @05:46PM (#5949787)
    (Last Journal: Sunday April 11 2004, @07:41PM)
    I know that this is going to be the most common answer, but just go with NFS. It's not the most secure option around, but obviously the simplest to implement and the best documented.

    NFS Linux FAQ [sourceforge.net]
    Howto #1 [sourceforge.net]
    Howto #2 [linux.org]

    If you find yourself needing help, try asking people at Just Linux forums [justlinux.com], or trying the NFS mailing list [sourceforge.net].

    • Re:NFS (Score:4, Informative)

      by vandan (151516) on Tuesday May 13 2003, @05:54PM (#5949854)
      (http://entropy.homelinux.org/)
      I have to agree.
      It takes about 5 minutes to get an understanding of what you need. After setting it up it just works.
      NFS is a great ... Network File System. No need to re-invent the wheel here.
      [ Parent ]
      • Re:NFS by IAR80 (Score:3) Wednesday May 14 2003, @06:39AM
        • Re:NFS by op00to (Score:2) Thursday May 15 2003, @09:11AM
      • Re:If you Debian numbnuts... by vandan (Score:2) Wednesday May 14 2003, @01:40AM
        • 1 reply beneath your current threshold.
      • 1 reply beneath your current threshold.
    • permissions? by SHEENmaster (Score:2) Tuesday May 13 2003, @05:57PM
      • Re:permissions? (Score:5, Informative)

        by phorm (591458) on Tuesday May 13 2003, @06:02PM (#5949926)
        (http://phorm.phormix.com/ | Last Journal: Monday May 19 2003, @12:08PM)
        That's what NIS is for. You can schedule regular downloads of group/passwd files, which are updated in a NIS database stored on a master server, and passed down to "slave" servers.
        [ Parent ]
      • Re:permissions? by Anonymous Coward (Score:1) Tuesday May 13 2003, @06:02PM
      • Re:permissions? (Score:5, Informative)

        by Dysan2k (126022) on Tuesday May 13 2003, @06:09PM (#5949986)
        (http://www.golum.org/)
        To be honest, big time, but a lot of people forget the other side of life with NFS, and that's NIS/NIS+. The yp-tools include pretty good NIS support, but not sure of NIS+. Would use niether in a production environment personally, but a common Auth system which is easy to manage would solve that issue.

        Could also look into LDAP (VERY complex, no good starting point that I've been able to find) and Kerbreos auth methods as well.

        Should give you a central point for uids/usernames. But NFS does not have transparent mounting that I'm aware of so that you could mount, say the /home directory of 5 computers onto / on a central system and it display all the mounts simultaneously. For example:

        <ECODE>
        CPU1 contains: /home/foo
        /home/baz

        CPU2 contains: /home/tic
        /home/tac

        CPU3 contains: /home/toe

        on CPU4, you'd do the following:
        mount CPU1:/home /home
        mount CPU2:/home /home
        mount CPU3:/home /home

        And you'd end up with on CPU4:
        /home/tic
        /tac
        /toe
        /foo
        /baz
        </ECODE>

        If there is a way to do this, please lemme know. I've heard people talk about it in the past, but haven't seen anything come of it yet.
        [ Parent ]
    • Re:NFS (Score:5, Insightful)

      by gallir (171727) on Tuesday May 13 2003, @06:12PM (#5950011)
      (http://mnm.uib.es/gallir/)
      Naaaaaaaaaa.....

      NFS is not distributed, it's only "networked" or "remote". I t doesn't support any: replication, disconnection, sharing, distribution. It is centralised, requires the same user names|numberpace and security.

      In one word, it's far away of the requirements, at least if you compare them with the listed FS in the question.
      [ Parent ]
      • Re:NFS by Anonymous Coward (Score:1) Tuesday May 13 2003, @06:36PM
        • Re:NFS (Score:4, Informative)

          by gallir (171727) on Tuesday May 13 2003, @06:45PM (#5950275)
          (http://mnm.uib.es/gallir/)
          Handling connection/disconnection is your automounter daemon "autofs".

          Disconnection in a DFS means a certain degree of replication: you still are able to work on your files even you you have no access to you repository, or you are off-line. Autofs doesn't do that, altough you can have some rsync's scripts to partially solve the problem, it's not a scalable or viable workaround for several users.

          NIS on the other hand is not a good solution for WAN connections or different networks. Should you use this kind of soultion, I'd take a look to openldap instead.

          [ Parent ]
        • Re:NFS by _fuzz_ (Score:2) Tuesday May 13 2003, @06:49PM
      • Yeah by mindstrm (Score:2) Tuesday May 13 2003, @07:23PM
        • Re:Yeah by mark_lybarger (Score:1) Wednesday May 14 2003, @06:27AM
      • Re:NFS by g4dget (Score:3) Tuesday May 13 2003, @08:33PM
        • Re:NFS by cduffy (Score:3) Tuesday May 13 2003, @10:32PM
          • Re:NFS (Score:4, Informative)

            by g4dget (579145) on Tuesday May 13 2003, @11:29PM (#5951986)
            Only if your mount tables are the same everywhere,

            That's what NIS is for. Furthermore, the flexibility of being able to set up machines with different views of the network is crucial in many applications. None of my workstations or servers actually have the same mount tables: they all get some stuff via NIS, and some stuff is modified locally. The restrictions AFS imposes are just unacceptable.

            AFS makes administration tremendously easier after one's scaled the initial learning curve.

            AFS is an administrative nightmare. Apart from the mess that ACLs cause and the problems of trying to fit real-world file sharing semantics into AFS's straightjacket, just the number of wedged machines due to overfull caches and its complete disregard for UNIX file system semantics cause no end of support hassles. Then, there is the poor support for Windows clients. We started out using AFS because it sounded good on paper, but it was a disaster in terms of support, and we got rid of it again after several years of suffering.

            It performs far, far better than NFS on large networks (and merely somewhat better on smaller ones).

            AFS's caching scheme works better than what NFS is doing for small files, but that case is fast and easy anyway. AFS's approach falls apart for just the kind of usage where it would matter most: huge files accessed from many machines.

            Both NFS and AFS have very serious problems. But between the two, NFS is far simpler than AFS, is easier to administer in complex real-world environments, respects UNIX file system semantics better, and works better with large files. I can guardedly recommend NFS or SMB ("there is nothing better around, so you might as well use it"), but I can't imagine any environment for which AFS is a reasonable choice anymore. The only thing AFS had ever going for it as far as I'm concerned is that it was fairly secure at a time when NFS had no security whatsoever, but that is not an issue anymore.

            [ Parent ]
            • Re:NFS by cduffy (Score:3) Tuesday May 13 2003, @11:52PM
              • Re:NFS by Baki (Score:2) Wednesday May 14 2003, @01:45AM
              • Re:NFS by g4dget (Score:2) Wednesday May 14 2003, @02:07AM
              • Re:NFS (Score:4, Funny)

                by PurpleFloyd (149812) <zeno20@a t t bi.com> on Wednesday May 14 2003, @03:06AM (#5952706)
                (http://slashdot.org/)
                ACLs are extremely useful. The ability to fine-tune permissions when necessary should not be dismissed because it can be misused; if you can drop a hammer on your foot, that doesn't make it a less useful tool. ACLs, properly managed, leave UNIX's user/group/all security settings in the dust. While they can be difficult to keep under control in some situations, this is the situation with almost all useful tools.

                Wouldn't it be simpler and easier to manage if users had to sign up for computer time on a mainframe? Just think: you would only have to support one system! The benefits to security and maintinence would be enormous. Letting users have their own computers seems nice, but since it requires less planning and thinking (as a mainframe timeshare system requires) it will always become unmanageable. After all, there's no way to plan for the use of advanced tools. Why do you think many larger 1970s corporations running large computer implementations have a policy of not allowing any employee to access the mainframe without signing up first?!?




                (Note for the humour impaired: I'm parodying the above author's style.)

                [ Parent ]
              • Re:NFS by cduffy (Score:2) Wednesday May 14 2003, @04:12AM
              • Re:NFS by g4dget (Score:2) Wednesday May 14 2003, @04:29AM
              • Re:NFS by cduffy (Score:2) Wednesday May 14 2003, @04:52AM
              • Re:NFS by cduffy (Score:1) Wednesday May 14 2003, @03:48PM
              • Re:NFS by g4dget (Score:2) Wednesday May 14 2003, @10:58PM
          • Re:NFS by xdroop (Score:2) Wednesday May 14 2003, @06:43AM
            • Re:NFS by cduffy (Score:1) Wednesday May 14 2003, @03:34PM
      • Symlinks are your friend! (Score:4, Insightful)

        by billstewart (78916) on Tuesday May 13 2003, @08:46PM (#5951048)
        (Last Journal: Wednesday March 02 2005, @11:08PM)
        Yes, there are applications where you want a real, heavy-duty, full-scale Distributed File System. The last time I looked at AFS it had too much Transarc commerciality in the way of using it, but that was a Decade Ago. If the OpenAFS works, it's probably a great choice.

        But for a lot of applications, you simply don't need that much, and you've got some way to contain the security risks, and NFS can be enough. It's easy enough to set up, and if all you're *really* trying to do is make sure that everybody sees their home directory as /home/~user, and sees the operating system in the usual places and the couple of important project directories as /projecta and /projectb, NFS with an automounter and a bunch of symlinks for your home directories is really just fine. They hide the fact that users ~aaron through ~azimuth are on boxa and ~beowulf through ~czucky are on boxbc etc. And yes, there are times you really want more than that, and letting your users go log onto the boxes where their disk drives really are to run their big Makes can be critical help. But for a lot of day-to-day applications, it really doesn't matter so much.

        [ Parent ]
      • Re:NFS by krogoth (Score:2) Tuesday May 13 2003, @11:05PM
      • 1 reply beneath your current threshold.
    • Re:NFS (Score:5, Interesting)

      by rmdyer (267137) on Tuesday May 13 2003, @06:55PM (#5950348)
      Nope, NFS is -not- a distributed file system. NFS is a point to point file system. And, unless you are using kerberized NFS, it is not secure.

      The only file system that is truely distributed, has a global namespace, replication, and fault tolerance is AFS.

      NFS is pretty much the same as CIFS for Windows. And, version 4 still doesn't have global namespace and volume location.

      So, NFS can't be a common answer because it isn't even allowed to be in the game.

      +4 cents.
      [ Parent ]
      • Re:NFS by DeVilla (Score:1) Tuesday May 13 2003, @10:05PM
        • Re:NFS by arkane1234 (Score:2) Wednesday May 14 2003, @03:55PM
      • Re:NFS by g4dget (Score:2) Wednesday May 14 2003, @11:04PM
        • Re:NFS by darcwyrm (Score:1) Saturday May 17 2003, @04:27AM
    • Re:NFS by Anonymous Coward (Score:1) Tuesday May 13 2003, @06:58PM
    • NFS is not even close to secure (Score:5, Interesting)

      by SuperBanana (662181) on Tuesday May 13 2003, @07:04PM (#5950417)
      It's not the most secure option around

      That's like saying "jumping off a cliff is not the most intelligent thing to do." NFS is easily the LEAST secure option of ANY filesharing system.

      NFS is only appropriate on a 100% secured(physical and network-level) network. If anyone/someone can plug in, forget it. If anyone has root on ANY system or there are ANY non-unix systems, forget it. If ANY system is physically accessible and can be booted off, say, a CDROM, forget it. The only major security tool at your disposal is access by IP, which is pathetic. Oh, and you can block root access.

      Even though you can block root access for some/all clients, it's still massively insecure, and this remains NFS's greatest problem. You have zero way of authenticating a system. NFS is like a store where you could walk in, pick up any item you wanted, and say "I'm Joe Shmoe, bill me for this!" and they'd say "Right-o!" without even looking at you. All systems with the right IPs are explicitly trusted, and their user/permissions setups are also explicitly trusted.

      NFS is a pretty good performer, especially when tuned right and on a non-broken client(which linux is VERY far from.) However, its entire security model is in dire need of a complete overhaul. There needs to be a way to authenticate hosts, for one, more similar to WinNT's domain setup, which is actually incredibly intelligent(aside from the weak LANMAN encryption.) The administrative functionality in NFS can't compare to the features that have been available to MacOS and Windows administrators for over a decade, and it's purely embarassing.

      Either that, or AFS/Coda need to get a lot more documentation and (for Coda)implementation fixes. The unix world desperately needs a good filesharing system...

      [ Parent ]
      • Re:NFS is not even close to secure (Score:5, Informative)

        by tzanger (1575) <tzanger-sd&mixdown,ca> on Tuesday May 13 2003, @08:24PM (#5950902)
        (http://www.mixdown.ca/)

        I use a very simple script to help keep NFS secure:

        IPTABLES=/usr/sbin/iptables
        RPCINFO=/usr/sbin/rpc info
        GREP=/usr/bin/grep
        AWK=/usr/bin/awk

        $IPT ABLES -F nfs
        $IPTABLES -N nfs &> /dev/null
        $RPCINFO -p localhost | $AWK '/portmap|mount|nfs|lock|stat/ \
        { print "iptables -A nfs -p " $3 " --dport " $4 " -j DROP" }' | \
        /bin/bash

        $IPTABLES -L INPUT -vn | $GREP -q 'nfs all -- !ipsec0+'
        if [ $? -ne 0 ]; then
        $IPTABLES -I INPUT 1 -i eth0 -j nfs
        fi

        Basically it only allows incoming NFS-related connections over ipsec, dropping anything that is not. NFS port allocation is dynamic by default and I know you can force ports, but this seemed far easier to scale.

        One thing I have noticed (and perhaps it's common knowledge to NFS experts) is that in order to get locking to work at all, my NFS clients had to be running statd and lockd. Without 'em everything worked but locking would fail every time.

        [ Parent ]
        • Re:NFS is not even close to secure (Score:4, Interesting)

          by rneches (160120) on Tuesday May 13 2003, @09:34PM (#5951344)
          (http://www.vort.org/)
          And if you're lazy and/or adventurous, you can turn on NFS over TCP in your kernel and tunnel it over ssh or ppp/ssh. I've never tried it, but it ought to work. I understand that NFS over TCP is relatively untested, but is reputed to work rather well. Doing weird things like this would be a pretty good way to test the NFS over TCP code, and I'm sure the developers would be interested to hear how it goes. Particularly if you run a lot of data over it for a long time, and have a good way of verifying that all is well. Or, better still - if all is not well, and you have a good way of articulating what went wrong.

          Of course, that doesn't mean it's a good idea. I think your solution with IPSec is much more elegant. Unfortunately, I happen to need to get through a heavily packet-shaped network that massively favors port 80, and drops random packets everywhere else. Not IPSec friendly at all. I avoid this by running multiple ppp/ssh tunnels through the retarded parts of the network and letting my gateway balance between them. Unfortunately, this requires privileged accounts on many, many boxes in odd places.

          By the way, 10 points to any Northeastern University students who send polite, well considered complaints to Network Services. Not RESNet - they exist only to prevent you from talking to Network Services. Don't bother yelling at them - they exist specifically for that purpose. RESNet has no authority whatsoever to, for instance, allow CVS to work when Network Services decides to to drop 90 percent of packets on port 2401. This is for your benifit - I'm perfectly happy with my tunnels.

          [ Parent ]
        • 1 reply beneath your current threshold.
      • Re:NFS is not even close to secure (Score:4, Informative)

        by HuguesT (84078) on Tuesday May 13 2003, @08:39PM (#5951007)
        > If anyone has root on ANY system or there are ANY > non-unix systems, forget it.

        By that you mean that it's easy to read stuff off people's directory if you can spoof their UID. Sure. I think you'll find the same is true on a SMB network.

        > The administrative functionality in NFS can't
        > compare to the features that have been available
        > to MacOS and Windows administrators for over a
        > decade,

        Given that 10 years ago Windows for Workgroup had hardly been released and didn't even have TCP/IP by default I think you are exagerating a little bit. At the same time MacOS version 7 was the norm, and we all know how secure that one was, right?

        Maybe NFS4 [samba.org] is your answer?

        [ Parent ]
      • Re:NFS is not even close to secure by Aardpig (Score:2) Tuesday May 13 2003, @09:51PM
      • Re:NFS is not even close to secure by Anonymous Coward (Score:3) Tuesday May 13 2003, @11:21PM
      • Re:NFS is not even close to secure by db74 (Score:2) Tuesday May 13 2003, @11:21PM
      • Re:NFS is not even close to secure by Agthorr (Score:3) Tuesday May 13 2003, @11:43PM
      • Re:NFS is not even close to secure by chiasmus1 (Score:1) Wednesday May 14 2003, @08:39AM
    • Re:NFS (Score:5, Insightful)

      "For every complex problem, there is an answer that is clear, simple, and wrong." -- HL Mencken

      'jfb
      [ Parent ]
    • Re:NFS by tuxlove (Score:3) Tuesday May 13 2003, @08:17PM
    • Not For Security by fjin (Score:2) Wednesday May 14 2003, @02:03AM
      • 1 reply beneath your current threshold.
    • Re:NFS by the-dude-man (Score:2) Wednesday May 14 2003, @03:39AM
    • Re:NFS by LynXmaN (Score:1) Wednesday May 14 2003, @03:44AM
    • NFS doesn't scale. by Moderation abuser (Score:2) Wednesday May 14 2003, @07:18AM
    • re: NFS by niker (Score:1) Wednesday May 14 2003, @08:48AM
    • Re:NFS by Daniel Phillips (Score:2) Wednesday May 14 2003, @08:59AM
      • Re:NFS by non-poster (Score:1) Wednesday May 14 2003, @11:29AM
        • Re:NFS by Daniel Phillips (Score:2) Wednesday May 14 2003, @02:05PM
    • Re:NFS by iabervon (Score:2) Wednesday May 14 2003, @11:04AM
    • TNC by jc42 (Score:2) Wednesday May 14 2003, @11:30AM
      • Re:TNC by divbyzero (Score:2) Wednesday May 14 2003, @01:47PM
        • Re:TNC by jc42 (Score:2) Wednesday May 14 2003, @09:39PM
    • 2 replies beneath your current threshold.
  • Yup NFS by laugau (Score:2) Tuesday May 13 2003, @05:48PM
    • Re:Yup NFS by Kaz Riprock (Score:1) Tuesday May 13 2003, @05:54PM
      • Re:Yup NFS by roro_parnucious (Score:2) Tuesday May 13 2003, @06:04PM
      • Re:Yup NFS by warrior_on_the_edge_ (Score:1) Tuesday May 13 2003, @06:06PM
        • Re:Yup NFS by karlbowden (Score:1) Tuesday May 13 2003, @06:56PM
      • Re:Yup NFS by wik (Score:1) Tuesday May 13 2003, @07:07PM
        • Re:Yup NFS by mac-diddy (Score:1) Tuesday May 13 2003, @08:39PM
    • Re:Yup NFS by rmdyer (Score:2) Tuesday May 13 2003, @07:00PM
      • Re:Yup NFS by laugau (Score:1) Wednesday May 14 2003, @06:26PM
      • Nope, not NFS...yes AFS... (Score:4, Informative)

        by rmdyer (267137) on Tuesday May 13 2003, @07:36PM (#5950592)
        We use NFS every day, but just for very special circumstances. If you really understand how NFS works, then you will understand why NFS is just not a viable solution for anything large scale, or small scale for that matter.

        NFS is not secure. At most sites, NFS is exported read-only and limited to the domain, or to a given set of machine(s). If you export NFS as read/write then the client had better be secured, or you better use kerberos, and for damn sure better be behind a firewall. NFS has no client side cache, no volume location service, no ACL's, no authentication (unless kerberized), no replication, yata, yata, yata. We've used NFS sparingly for over 15 years because we -know how it works, and know its limitations.

        On the other hand, we set an AFS cell for enterprise scale application and data sharing. It currently uses Kerberos V authentication, has volume replication, global namespace, client cache, fault tolerance. User's can setup their own groups, set their own ACL permissions. Did I say quota? AFS has per-user/per-volume quota. Hey, guess what, symbolic links work from any volume to any volume on AFS. And, AFS is just a simple daemon. You crank it up, mount the top of your cell and poof, you are done.

        Another positive is the fact that once you setup an AFS cell you automatically become part of a larger community. Any AFS cell can mount the entire file system of another AFS cell within the same tree. I can for example mount many large university and government cells and share files. AFS allows Internet-wide file sharing with full security. On most versions of the client you can even enable encryption on the connection so your files won't be snooped easily.

        All of our Solaris, Windows, Linux, and Mac boxes can use the same AFS tree without blinking an eye. We use AFS for many things. Before LDAP was really worth anything, we used AFS for simply exchanging read-only data. It -is- a replcated and global file system! Just put your config files in the tree and you are done.

        If you are one of those people who are blinded by "always doing things one way", then I'd suggest you wake up and smell another technology, I did, and I liked what I got in return. Look into OpenAFS, you'll be glad you did.

        +10,000 karma points! :)
        [ Parent ]
      • 1 reply beneath your current threshold.
    • Re:Yup NFS by ColdGrits (Score:2) Wednesday May 14 2003, @05:29AM
  • Self Certifying File System (Score:5, Informative)

    by nescafe (12858) <nescafe AT fnordovax DOT org> on Tuesday May 13 2003, @05:51PM (#5949825)
    I would use SFS [fs.net], the Self Certifying File System. Assuming all the systems you are using are supported, it offers global, secure access to anything you care to export.
    • SHFS by TimCrider (Score:1) Tuesday May 13 2003, @10:01PM
      • Re:SHFS by Cyuonut (Score:1) Wednesday May 14 2003, @05:41AM
    • Re:Self Certifying File System (Score:4, Interesting)

      by angio (33504) on Wednesday May 14 2003, @12:15AM (#5952171)
      (http://www.angio.net/)
      I'm from the same lab from which SFS comes, so I'm a bit biased, but I've been using it in a production setting for the last two years. My major use is to work from home and access my MIT filesystem remotely. I also maintain a network of ~40 machines distributed around the world, and I use SFS to provide access to centralized home directories on them. Very, very convenient. The software is stable, and the support is good. It works on *BSD and Linux. It also works on some versions of MacOS X, but may require an upgraded gcc on the latest (see the fs.net mail archives).

      Highly recommend cheking it out. Mega convenient.
      [ Parent ]
    • 1 reply beneath your current threshold.
  • Well it depends... (Score:5, Informative)

    by Tsugumi (553059) on Tuesday May 13 2003, @05:51PM (#5949828)
    For my money, nfs in a LAN, afs over a WAN, it really depends on the size of the network your trying to play with.

    Since openafs [openafs.org] forked from the old transarc/IBM codebase, it looks as if it has a real future. It's used by a load of educational and research institutions (notably CERN), as well as Wall Street firms.

  • NFS/BOOTP (Score:3, Informative)

    by rf0 (159958) <rghf@fsck.me.uk> on Tuesday May 13 2003, @05:53PM (#5949850)
    (http://www.a2b2.com/)
    I'm sure other ehere will suggest NFS but why not just go whole hog and setup you clients to boot off a server then mount the same NFS filesystem. That way total transparency without having to make sure that n FS is always mounted

    Just my $00.2

    Rus
  • rsync? by vadim_t (Score:1) Tuesday May 13 2003, @05:54PM
    • Re:rsync? by Fembot (Score:1) Tuesday May 13 2003, @06:35PM
    • Re:rsync? by Parsec (Score:2) Tuesday May 13 2003, @07:22PM
    • Re:rsync? by vadim_t (Score:1) Tuesday May 13 2003, @06:07PM
      • Re:rsync? by brer_rabbit (Score:3) Tuesday May 13 2003, @06:40PM
        • Re:rsync? by vadim_t (Score:1) Tuesday May 13 2003, @06:58PM
    • 1 reply beneath your current threshold.
  • Background on DFS (Score:5, Informative)

    by El Pollo Loco (562236) on Tuesday May 13 2003, @05:54PM (#5949861)
    (http://lucidamerica.com/)
    Check here [linux-mag.com] for a good background on DFS. It also has a quick table comparison of the popular programs, and a walkthrough to set up Intermezzo.
  • PVFS (Score:5, Informative)

    by Kraken137 (15062) on Tuesday May 13 2003, @05:54PM (#5949862)
    (http://wang-fu.org/)
    We use PVFS at work to give us a high-performance network filesystem for use with our clusters.

    http://parlweb.parl.clemson.edu/pvfs/ [clemson.edu]
    • Re:PVFS by Wolfier (Score:2) Tuesday May 13 2003, @06:19PM
      • Re:PVFS by Wolfier (Score:2) Thursday May 15 2003, @02:12AM
      • 1 reply beneath your current threshold.
    • Re:PVFS by sffubs (Score:1) Tuesday May 13 2003, @06:48PM
  • openmosix (Score:5, Informative)

    by joeldg (518249) on Tuesday May 13 2003, @05:56PM (#5949874)
    (http://blog.peoplesdns.com/)
    I run an openmosix cluster with the openmosix filesystem here at work. Three computers.. no problems...
    If you want to take a look..
    http://lucifer.intercosmos.net/index.php [intercosmos.net]
    linkage and I am going to be placing some tutorials up. -joeldg
    • Re:openmosix by joeldg (Score:1) Tuesday May 13 2003, @07:07PM
    • Re:openmosix by Kz (Score:3) Tuesday May 13 2003, @11:05PM
    • Re:openmosix by fille (Score:1) Wednesday May 14 2003, @08:23AM
    • 1 reply beneath your current threshold.
  • Ye olde Samba (Score:4, Informative)

    by Anonymous Coward on Tuesday May 13 2003, @05:57PM (#5949884)
    Samba works fine. I personally have approximately 5 samba mounts in my filesystem totally transparent for anybody who was to walk up and use my computer.

    No need to unnecessarily complicate things here, samba is simple to set up and functions great.
  • Non-obvious google by rf0 (Score:2) Tuesday May 13 2003, @05:58PM
  • I'll go with NFS too... by Rooktoven (Score:2) Tuesday May 13 2003, @06:01PM
  • Mirroring file system by antarctican (Score:2) Tuesday May 13 2003, @06:03PM
  • by Dr.Zap (141528) on Tuesday May 13 2003, @06:04PM (#5949949)
    While there is no new news posted on the site, ther are current tarballs on the ftp server, as recent as 5.9.03. (but that file appears to be a redux, last update to code seems to be 3.13.03)

    The sourceforge page for the project (http://sourceforge.net/projects/intermezzo) shows status as production/stable but the info there looks stale too.

  • Future obsolescence ? (Score:5, Insightful)

    by Rosco P. Coltrane (209368) on Tuesday May 13 2003, @06:06PM (#5949969)
    Which offers the best stability and protection from future obsolescence?

    This guy must have installed too many versions of the same Microsoft products.
    In the GNU/Linux world, BSD world, and to some extend in the entire Unix world, good designs do not become obsolete. Even not-so-good designs often stick around, for the sake of backward compatibility. In the newest greatest Linux kernel, you can still have a.out support, NFS, Minix, FAT16 filesystem support ... You can still configure you networking using scripts for 2.0- or 2.2-based distros. You can often use 20 year old programs under Unix, albeit sometimes with some effort.

    Only in the M$ world is obsolescence such a big issue, because that obsolescence is planned. In short, don't worry that much about obsolescence : if Coda is as good as it looks, it'll be there for a long time. If SomeCrappyDistributedFS FileSystem is used by enough users, it'll stay around for compatibility's sake anyway, even if it sucks.

  • NIS + NFS by Anonymous Coward (Score:1) Tuesday May 13 2003, @06:08PM
    • 1 reply beneath your current threshold.
  • NFS & autofs (Score:4, Informative)

    by Greg@RageNet (39860) on Tuesday May 13 2003, @06:11PM (#5950003)
    (http://www.rage.net/~greg/)
    What you are looking for is 'autofs', which has been used extensively in solaris and linux for years (forever). You can set up an NFS share and then have autofs mount/unmount it on demand. The advantage is that if the share is not in use it's unmounted and the machine will be less vulnerable to hanging if the NFS server goes down. See the AutoFS Howto [linux-consulting.com] for more information on setting it up.

    -- Greg
  • Andrew File system by parkanoid (Score:1) Tuesday May 13 2003, @06:12PM
  • It seems like a distributed filesystem might be overkill for your needs. If what you really want is the appearance of a single common machine, why not just pick one as a server, and set up your other boxes as X clients. You can even pull out most of their memory and storage, and stick it in the server, thus turning them all into pretty powerful machines.
  • NFS is not a DFS (Score:5, Informative)

    by purplebear (229854) <davidNO@SPAMpurplebear.net> on Tuesday May 13 2003, @06:15PM (#5950031)
    Just so you all know. NFS is a network accessible FS. A DFS can also be network accessible from clients, but it physically resides on multiple systems.
    • 1 reply beneath your current threshold.
  • Distributed Filesystems? by Tailhook (Score:2) Tuesday May 13 2003, @06:16PM
  • CIFS with SAMBA by Anonymous Coward (Score:1) Tuesday May 13 2003, @06:17PM
  • Obsolete ? (Score:5, Funny)

    by CmdrTostado (653672) on Tuesday May 13 2003, @06:22PM (#5950082)
    (Last Journal: Saturday July 03 2004, @08:34PM)
    Which offers the best stability and protection from future obsolescence?

    The best protection from future obsolescence is to use something that is already obsolete.
  • AFS is great but a pain in the butt by Anonymous Coward (Score:1) Tuesday May 13 2003, @06:24PM
    • 1 reply beneath your current threshold.
  • AFS vs NFS (Score:5, Insightful)

    by runderwo (609077) <runderwo@maiTIGERl.win.org minus cat> on Tuesday May 13 2003, @06:24PM (#5950103)
    It takes more time to set up an AFS cell than a NFS server, but the rewards are pretty tremendous IMO.

    It's become such a part of my day to day life that I can't really describe the things I was missing before. The best things about it are probably the strong, flexible security and ease of administration. It also gives you everything you need from a small shop all the way up to a globally available decentralized data store.

    There seems to be a good comparison here [tu-chemnitz.de]. I would strongly recommend AFS for all of your distributed filesystem needs. (The OpenAFS developers are cool too!)

    • Re:AFS vs NFS (Score:5, Informative)

      by pHDNgell (410691) on Tuesday May 13 2003, @06:42PM (#5950253)
      I'm disturbed at the number of people who are recommending NFS as a distributed filesystem solution. While it might be easy to get going initially, I've had more long-term problems with my NFS server and client interactions than my AFS. To get my NFS clients to behave anything like AFS clients, I had to build and install an automounter that could use NIS config.

      You only have to wait for the first day you want to reboot a fileserver without breaking every system on your network or waiting for startup dependencies, etc... One day, I moved all of the volumes off of an active fileserver (i.e. volumes being written) and shut the thing down and moved it to another machine room, brought it back up, and moved the volumes back. The reads and writes continued uninterrupted, no clients had to be restarted, no hung filesystems anywhere, etc...
      [ Parent ]
    • Re:AFS vs NFS by quantum bit (Score:1) Tuesday May 13 2003, @07:36PM
      • Re:AFS vs NFS by db74 (Score:1) Tuesday May 13 2003, @11:25PM
        • Re:AFS vs NFS by quantum bit (Score:1) Wednesday May 14 2003, @01:05PM
      • Re:AFS vs NFS by quantum bit (Score:1) Wednesday May 14 2003, @01:03PM
      • 2 replies beneath your current threshold.
  • Tutorial (Score:5, Informative)

    by TheFlu (213162) on Tuesday May 13 2003, @06:25PM (#5950106)
    (http://www.thelinuxpimp.com)
    I just went through this process a few weeks ago and I must say I'm really glad I went through the trouble of setting it up...it's very cool. I actually wrote a tutorial [thelinuxpimp.com] about how to accomplish this by using NIS and NFS. I hope you find it helpful.

    The only trouble you might run into with the setup I used is some file-locking issues with programs wanting to share the same preference files.
    • SECURITY by Craig Ringer (Score:2) Tuesday May 13 2003, @08:15PM
  • What about good old GFS? by placiBo (Score:1) Tuesday May 13 2003, @06:40PM
  • Unison file syncronizer by Anonymous Coward (Score:1) Tuesday May 13 2003, @06:40PM
  • unison, anyone? by gooofy (Score:2) Tuesday May 13 2003, @06:44PM
  • Remote Synchronised filesystems (Score:3, Informative)

    by danpat (119101) on Tuesday May 13 2003, @06:50PM (#5950313)
    (http://danpat.net/)
    I've spent quite some time researching this issue for here at work. We have two primary offices, separated by a 256k of network topology. Too slow for most users to find acceptable (large files, several 10s of seconds to copy). A bit of a culture problem but oh well.

    I looked into a whole pile of options for having a "live" filesystem, a-la NFS, but the bandwidth killed interactivity (this is for users who've never used 100mbit network filesystems before).

    I found the following:

    1. Windows 2000 Server includes a thing called "File Replication Service". Basically, it's a synchronisation service. You replicate the content to many servers, and the service watches transactions on the filesystem, and replicates them to the rest of the mirrors as soon as it can. You can write to all mirrors, but I never quite worked out how it handled conflict resolution.
    A chapter from the Windows 2000 Resource kit that describes how it works: http://www.microsoft.com/windows2000/techinfo/resk it/samplechapters/dsdh/dsdh_frs_tkae.asp

    2. Some people have done similar work for Unix systems, but they mostly involve kernel tweaks to capture filesystem events. Can't remember any URLS, but some Googling should find it.

    3. Some people are using Unison to support multi-write file replication. So long as you sync regularly, you shouldn't have too many problems.

    4. The multi-write problem is a hard one, so most people tend to say "don't do it, just make the bandwidth enough". This is the way to go if bandwidth isn't an issue.

    A guy by the name of Yasushi Saito has done quite a bit of research into data replication. Some papers (search for them on google in quotes). He also put together a project called "Pangaea" which tries to do as described above. It wasn't great last time I looked. Some paper titles:

    - Optimistic Replication for Internet Data Services
    - Consistency Management in Optimistic Replication Algorithms
    - Pangaea: a symbiotic wide-area file system
    - Taming aggressive replication in the Pangaea wide-area file system

    There is also a bunch of other research work:

    - Studying Dynamic Grid Optimisation Algorithms for File Replication
    - Challenges Involved in Multimaster Replication (note: this talks about Oracle database replication)
    - Chapter 18 of the Windows 2000 Server manual describes the File Replication Service in detail
    - How to avoid directory service headaches (talks about not having multi-master-write replication and why)
  • AFS good on linux, good luck on FreeBSD by (startx) (Score:2) Tuesday May 13 2003, @06:52PM
  • ouch by marcushnk (Score:1) Tuesday May 13 2003, @06:54PM
  • Plan 9 by Anonymous Coward (Score:1) Tuesday May 13 2003, @07:04PM
    • Re:Plan 9 by porttikivi (Score:1) Wednesday May 14 2003, @04:26AM
      • Re:Plan 9 by porttikivi (Score:1) Wednesday May 14 2003, @04:36AM
  • OpenAFS all the way (Score:5, Informative)