Ask Slashdot: Distributed Filesystems for Linux?
"So far the two (three?) solutions that had the most promise are: AFS or Arla, and Coda.
The reasons against: AFS is commercial and I don't want to pay $15,000 in licenses just for a convenience to me. Arla still appears to be extremely alpha quality, even for a Linux hacker used to seeing major parts of his kernel labeled "alpha" or "beta". I had Coda up and running for a couple of days before I ran into a fairly severe flaw in the fundamental design that showed it to be inappropriate for what I want it to do. (But Coda is still the coolest thing since individually-wrapped cheese slices, and if you don't need to worry about that little problem, it's cooler than sex.)
I've found lots of references to the "GFS" project which is not at all what I want, and here and there mentions of other projects such as "DFS", "xFS" and a distributed filesystem for Beowulf clusters but no further details, URLs or most importantly - code - could I dig up.
I don't need RAID, redundancy, failover, or anything like that. I only need to take these extra machines on my home network and make all their extra disk space look like a single volume on the network. Support for Linux as a client is, obviously, essential, but I also have Windows, BeOS, *BSD and Solaris machines on my network, so clients for those would be appreciated but not necessary. Since this is just for me at home, (yes, I've got all that crap on my network at home - so I'm a little crazy) I'd rather stick with free software. Is there anything that can do this? "
If not, then it sounds like it would be an interesting project to work on. The ability to be able to harness the spare disk space across a private network can only be a good thing.
Did you check out intermezzo (http://www.inter-mezzo.org)? There was a talk about this at the OLS, and it seemded cool! (And was written in Perl) AV
One of the original posters requirements is that the system work between linux and solaris (x86 and SPARC). I work at a company with 60+ linux boxes sharing directories with 10+ solaris boxes. linux-solaris NFS has been a pain in the ass. mount points on the linux boxes disappear, filehandles go stale. Our current "solution" is to remount the linux mounts every fifteen minutes via cron (don't laugh, this is the only solution that has worked). Yes, we have a clue about linux, and a lot of clue about solaris, but still we've been gnashing our teeth with linux-solaris NFS. We're not a typical site -- we deal with lots of large files and occasionally access single large files for several days doing large sorts. That said, we never had a problem with solaris-solaris NFS, only linux-solaris NFS.
Some psychopath wrote a BFS module, and announced it. Whether it works or not is another question... BFS seems fairly logical and is quite well-documented, so it was only a matter of time.
Remember that what's inside of you doesn't matter because nobody can see it.
If you're not interested in using NFS behind a firewall (just because it's slow, insecure, ugly, unreliable, fault-intolerant, and buggy doesn't make it bad, right?) you might be interested in PVFS. It sounds like what you are looking for, and under the "Files" link are the sources.
Personally, I like the "adventure" of Coda, but haven't tried setting it up in a few months. Now that my roommates have agreed to be guinea pigs for the Windows client, I figure I'll set it up behind my NAT box and play with it again. It's overkill for everything but a big installation, but I still think it's kind of fun. The thought that terrifies me is working with a multi-GB datafile or such over Coda -- but since my roommates will probably be more interested in playing Dopewars and moving around small files on a FE network, I'm going ahead with the grand master plan anyways. Besides, I have a laser printer and a burning desire to experience the frustrations of Samba...
Remember that what's inside of you doesn't matter because nobody can see it.
Wrong.
Transarc's AFS 3.5 includes both a Linux server and client. I'm using it right now, in fact.
Before the 3.5 release, the AFS clients and servers for Linux were a third-party effort by AFS licensees at MIT and CMU. Now, the third-party client is still in use for Linux 2.0 machines, and 2.2 machines can use the official Transarc client.
Also, Transarc is "in control" of AFS, and is owned by IBM. And, yes, for a while Transarc/IBM had no interest in pushing AFS -- they wanted their AFS customers to move over to DFS. Unfortunately for them, very few people wanted to use DFS. The AFS support issue is getting better now, though. IBM seems to be realizing that it really should give its customers what they want.
In particular, Coda is really cool, and the RVM facility is particularly neat stuff.
Unfortunately, there's a downside to making this use of all that "extra disk space," and that is that this may diminish the overall reliability of the whole system, and a not particularly unusual case would be for reliability to degrade to the "reliability of the weakest system on the net."
The "ideal" situation would be to be able to "somehow publish" that extra space, and allocate it perhaps as follows:
I'm not proposing that the parameters here are necessarily "religious doctrine;" the point is that it is important to distribute some backups (analagous to RAID) such that if a drive goes bad, the rest of the system doesn't have to suffer.
If you're not part of the solution, you're part of the precipitate.
I'm not the original poster, but I've got a similar problem and would be interested in a solution along the lines he proposes.
For a start, you can't seriously be advocating that spare blocks from a variety of machines be used to provide unique bits and pieces of storage for virtual files distributed across those machines, I hope. This would make the availability and reliability of those files extremely low, ie. as low as the weakest link in the system.
He can seriously be suggesting that. I am. I have a small LAN in my home. I'm not running a bank. Furthermore, none of my local machines has ever gone down. Either I'm lucky or I don't run NT.
Secondly, what happens when one of the contributing filestores requires more space, but can't use it because it's been allocated to one of those distributed files? You could no longer just delete something from the machine concerned without going through that hypothetical distributed filestore manager, because it would be the only party that would know whether the item in question is part of a distributed file and hence whether it can be deleted. (This assumes that it creates real files in the local filespace for allocating to distributed files, which it would have to do otherwise the space it allocates would evaporate if the distributing daemon died.) In other words, *all* of your storage becomes dependent on this new manager, slows to a crawl, and probably loses a lot of the reliability of your native filesystem to boot. No, no, no
First of all, the amount of free space on most of my machines is fairly constant. My webserver, for example, doesn't suddenly up and decide to create a few dozen extra megabytes of files for no reason. What happens when a machine runs out of room? The same thing that happens when a machine NOT using this system runs out of room. A system not using a DFS, a system unconnected to a network at all, can run out of room. So your "problem" is one that's not unique (and in fact has nothing to do with) this question. As always, one must be aware of how much disk space is required for a system, and not provide less than that. For all but one of my systems, these numbers are fairly constant and very well determined. I'd be more than happy to just dedicate half a gig of diskspace my mailserver has never used and never will, plus nearly another half gig by webserver never touches, to such a scheme. This will introduce no problems that everyone hasn't faced before when setting up partitions. Just make sure the space you dedicate for local use is sufficient, same thing you do every time you partition a drive. There's no problem here that we didn't already face without this scheme being proposed.
If the new distributed filesystem manager actually *does* make space on one machine as requested, it would clearly have to push out the data onto some other machine to compensate. If you think about it, the policy issues in this area are "interesting". (Aka "horrid".)
The original poster quite clearly said he was doing this in his home. I've found policy issues on my own home LAN remarkably easily to resolve and completely uncontroversial.
Finally, since the first point (unavailability cased by one machine going down) makes the idea completely untenable in most cases, you'd have to be talking about a system in which blocks are allocated in multiple places for each virtual file block. That's great, but notice that such a scheme is *not* storage-efficient, yet your requirement is based on not wanting to waste storage space!!!
You've obviously completely missed the original poster's point. You'd be an idiot to suggest allocating blocks in multiple places. That's a completely inappropriate suggestion, considering the original goals. Having each block in only one place, far from being untenable, is in fact exactly what is called for under the circimstances and is every bit as reliable as is required, under the circumstances.
No, I don't think you've thought this requirement through.
No, it's more like you didn't read the original question very carefully. But that's par for the course. A couple of people have suggested using network block devices and 'md'. (The opinions are that this would be slow, but in my book a slow drive is better than no drive at all.) Nearly everyone else has gone on and on about NFS issues that are admittedly interesting but have almost nothing at all to do with what the original poster's problem. We're quite clearly NOT looking for something like Coda or Arla or anything like that. Right off the bat, if you think keep the same data at multiple locations is a good idea, you're profoundly confused about what the problem is. If you're worried about what happens if a machine goes down, or the new virtual drive fills up, or one of the local drives fills up, you're worrying about things completely unrelated to the problem. Perhaps you should understand the requirements before you decide to criticize them.
--
"Convictions are more dangerous enemies of truth than lies."
That should be "Peter Braam, one of the authors of CODA", you're quite correct.
If you keep up correctly with every intesting project that goes on here, and all the personalities involved, I'm impressed.
Coda would be overkill -- the depot-style requirements are intended for a distributed environment like a university, in which all the clients constantly accessing the servers to do anything would kill the system. Actually, afs (which is currently used at CMU) is intended to work similarly -- clients build updated caches of appropriate application directories for their architectures, with the result that machines running a constantly out-of-date minimal core OS are served a centralized set of applications ...
:), it's cool ... it can do a lot of the things CODA can, but it's much lighterweight, doesn't require its own fstype. I don't have the link handy, and I don't know if it has the same caching requirements as CODA ...
For home network purposes, where a few users are unlikely to overwhelm the server, use NFS. It's easy, it's well supported across OSs, its performance may not be incredible but nothing you're likely to do will strain it. Even if you're moving huge files around, you're not going to have 10 people moving huge files around simultaneously.
Actually, there's one more fun option to consider: Inter-Mezzo, a distributed fs written in PERL in a few weeks by the creator of CODA, Peter Braam. It's small, it's pretty quick (the speed-critical parts are in C
I used to have a frustrating time sharing NFS
between two 2.0.36 boxen. Now the server is 2.3.15
and the client is 2.2.10 and I have no more
"magical dropouts". The performance is acceptable
too. The server is a secondary/experimental box that has a
chunk of spare disk space that can be used elsewhere).
Slashdot: Where nerds gather to pool their ignorance
Have you actually thought this requirement of yours through? It sounds fairly dodgy to me.
...
For a start, you can't seriously be advocating that spare blocks from a variety of machines be used to provide unique bits and pieces of storage for virtual files distributed across those machines, I hope. This would make the availability and reliability of those files extremely low, ie. as low as the weakest link in the system.
Secondly, what happens when one of the contributing filestores requires more space, but can't use it because it's been allocated to one of those distributed files? You could no longer just delete something from the machine concerned without going through that hypothetical distributed filestore manager, because it would be the only party that would know whether the item in question is part of a distributed file and hence whether it can be deleted. (This assumes that it creates real files in the local filespace for allocating to distributed files, which it would have to do otherwise the space it allocates would evaporate if the distributing daemon died.) In other words, *all* of your storage becomes dependent on this new manager, slows to a crawl, and probably loses a lot of the reliability of your native filesystem to boot. No, no, no
If the new distributed filesystem manager actually *does* make space on one machine as requested, it would clearly have to push out the data onto some other machine to compensate. If you think about it, the policy issues in this area are "interesting". (Aka "horrid".)
Finally, since the first point (unavailability cased by one machine going down) makes the idea completely untenable in most cases, you'd have to be talking about a system in which blocks are allocated in multiple places for each virtual file block. That's great, but notice that such a scheme is *not* storage-efficient, yet your requirement is based on not wanting to waste storage space!!!
No, I don't think you've thought this requirement through.
"The question of whether machines can think is no more interesting than [] whether submarines can swim" - Dijkstra
(i go to the same school)
Not only that, but every machine that boots NT boots Red Hat 6.0 as well
and each of those have AFS as well
its all part of UMBC's
Universal Computing Environment
So we are not at all stuck with microsoft, eventually, i believe umbc will migrate all the irix's (which have novell and OS-X and solaris in there) will migrate to linux, because SGI is abandoning Irix for linux...
My $0.02
Mike
(mshobe1@nospam.umbc.edu
Maybe in a few months I'll know enough C to do it myself. ;^)
--
xFS is here (with source). An interesting project is Frangipa ni, but it is not available to the unwashed Linux masses. :-/
"I love my job, but I hate talking to people like you" (Freddie Mercury)
A bit of a (working) kludge might be to use the network block filesystem combined with the 'md' device. One box can snarf up all the network block devices (Linux to linux only) join them with 'md', and then reexport them via NFS.
This isn't terribly efficient or portable, but it might work.
-josh
I looked at a lot of distributed filesystems when working on my Master's thesis, and I still have an old page of links around at http://jab.org/thesis/thesis.html. The links page has pointers right up your ally (xFS, WebFS, etc.). Too bad about Coda not meeting your needs -- I, too, can't wait for it to become more popular.
Also note that you can still run most of your Linux applications on a NetBSD or FreeBSD box; I run Linux Communicator and RealAudio/Video player, for example. So you might lose no functionality at all by moving to a BSD in this particular scenario.
cjs
The world's most portable OS: http://www.netbsd.org.
Does anyone know of any plans to support Befs under linux?
--
grappler
Vidi, Vici, Veni
If I were to do something like this, I think I would try to use the Network Block Device support to export raw devices onto a single host in the network. That host could then run any type of raid, or linear concatening of the individual devices, and then reexport it using NFS to the other hosts.
I've never played with software raid or the network block device.. was the network block device around in the 2.0.x kernel versions? .. I doubt i'd see any performance increase- i'm sure the bottleneck is the network & the fact that things often go back and forth more than once before ending up at their destinations.
:p From my brief look at intermezzo, i am hopeful.
However, i've just grabbed myself a copy of intermezzo, and it looks like it might be able to do everything i wanted and more. I hope to somehow get my 240 disc cdrom changer into the mix so it appears as a single drive instead of 2 drives and a serially controlable robot.
--sean
Reread my post. It does infact create a single filestore. os2tvfs:/z:/. The path under z:/ does not determine the physical location of a file, free space and write priorities given when mounting NFS exports into Z: determine where physical files go. ost2tvfs:/z:/foo.mp3 might be on an os2 box in my living room while os2tvfs:/z:/bar.txt might be on a linux box in the basement (or alaska, if i were to incorporate stuff not on my LAN in my VFS, which i don't plan on doing). If i wanted finer control of where files ended up, i could cron a script that moves things around, which would be transparent to the z: mount.
.tar.gz files as if they were directories (compile your kernel inside of kernel-xx.tar.gz, etc.)
I'll give you that it does nothing for spanning large files, but it also does not incure the problems with spanning files. If a box goes down, you only loose access to the files on that box. If you say 'stuff this' and decide you don't need the virtual FS anymore, you just stop accessing stuff through z:. your files are still there, in the native OS's FS. Things that ended up located on an OS2 box are accessable on that OS2 box, the same goes for things on the linux boxes (or fbsd boxes, win32 boxes, be boxes.. whatever. anything that can export NFS can join the VFS)
As for file availability depending on the state of the machine it is on-- of course. If you want otherwise, you will have to sacrafice storage space, which is contrary to the point.
I don't propose that this is 'generally useful'. It has the negative of sending ALL files through the tvfs box before they make it to their destination. That's not very efficient. However, as far as i can see, it does provide a basic solution to the original posters problem, assuming he would not mind sticking an os2 box in the corner.
On an aside, there is another possible tool for this kind of problem: avfs (A Virtual File System).
Avfs was originally designed so you could access
Recently it's gained the ability to load user-written extensions, mainly for other archive formats. I imagine it could be hacked to do the job of TVFS in my setup.
--sean
I have the same problem. I've got 5 boxes running linux & os/2, and want all the "spare" space to transparently appear as a single volume on all boxes. I couldn't find anything that would do this effectivly for me, so i brewed my own. Unfortunatly (for most of you) this requires an os/2 box.
/s1/ a 6.4gig scsi drive on a linux system
Here's the details:
1) all the boxes export their spare space as nfs mounts.
2) a nifty IFS (installable file system) from IBM's EWS (employee-written software) program called Toronto Virtual File System is installed on one of the os2 boxes (we'll call this box os2tvfs)
3) os2tvfs mounts all the exported drives
4) with tvfs, all the mounted NFS drives are mounted into a tvfs drive (z: in my setup)
5) os2tvfs exports z:
6) any box that wants to access the big-virtual-volume mounts os2tvfs:/z:/
So how's it work? Lets go through an example:
box1 exports d:\, a 10 gig ide drive on an os2 system
d:\ contains a bunch of stuff, for this example we'll focus on "d:\mp3s\foo.mp3"
box2 exports
box2 has a file on it located at "/s1/mp3s/bar.mp3"
box1 then mounts os2tvfs:/z:/ as v:\
on box1, a directory listing of v:\mp3s\ contains both foo.mp3 and bar.mp3. if i copy baz.mp3 to v:\mp3s, it ends up as box2:/s1/mp3s/baz.mp3, as long as their is enough free space on box2:/bfi1/ for it, because i assigned a higher write priority to that volume when i mounted it with TVFS (it's a scsi drive- might as well use it up first). It shows up as os2tvfs:/z:/mp3s/baz.mp3.
Of course, this solution is kinda bad because it creates a ton of extra network traffic, but it was the only one i could find that did what i wanted.
--sean
You run into some severe problems with NIS+ and NFS. Don't use them if you can get away with it. To wit:
Linux's NFS still has problems. If you need NFS use BSD (BTW, before someone mods me down for that comment, I use linux. NFS is just not a good idea in general).
NIS is a nice idea, poorly implemented, with a lot of problems with security.
You said that there was a problem w/ CODA, and that would be what I normally use rather then NFS. There are a lot of good suggestions posted here.
For distributing information ala NIS, try taking a look at LDAP instead. I have been implementing it at a few client sites, and it works much better then NIS. (There are plugins that let GLIBC and PAM use LDAP transparently, and you can even emulate NIS).
I would definitly kill for something that could transparently create a single large namespace/disk space over a network, but with disk space so cheap, you are probibly better off going and buying a 16gb IDE drive. cheep cheep....
It caches at the file block level instead of at the file level (like coda), so it's not (as) affected by things like tailing a large file. It has some other feature which could be good or bad (redundancy, file block migration, etc.) depending on your particular application.
The downside? It only runs on windows, and I suspect that they keep their cache coherence and access protocols under fairly heavy wrap. Now, if someone could come up with a good argument for how they could make money developing a similar product for Linux/*BSD... *drool*. Their basic technology is applicable most places, but their implementation right now is as a Windows disk driver device.
www.mango.com
>but is already faster than Ext2fs, and way ahead of XFS and NTFS.
By what measures and for what workloads? Such claims are meaningless without describing the environment, and are the realm of marketroids (particularly the MS kind) not scientists or engineers.
I find it most odd that you would tout the system's distributed nature and then compare it only against local FSes. How well does it perform in sharing situations, either locally or through slow WAN links? What level of coherency does it guarantee? How is failure recovery (a very tricky issue for a DFS) handled? How about disconnected operation?
To be perfectly blunt, the lack of even an attempt to address these sorts of crucial issues makes me wonder whether the part about Charon being distributed is "part of the plan" that hasn't actually been implemented (or even designed) yet. The DFS literature is littered with papers about systems that would supposedly blow everything else away, but that never actually got implemented. I've been there, I've done that, and the sad truth is that the realities of implementing a usable DFS - i.e. one that isn't pathologically ill-behaved in at least one of the areas alluded to above - generally shred naive ideals of superfast coolness.
>Only changed disk blocks and metadata are replicated, as opposed to entire files (and only on close)
If this is really what you meant to say, it's great performance but has dire implications for recoverability. This only strengthens my suspicion that you haven't really climbed into the mud pit in earnest yet.
Slashdot - News for Herds. Stuff that Splatters.
I'm also curious what you found lacking in GFS. I have my own different ideas about "how things should be done" but perhaps explaining why you consider it inappropriate will shed some light on your needs.
As far as practical advice goes, I think most of the relevant products and approaches have been mentioned; I don't promise to have secret knowledge of any "magic bullets". DFS technology is an area where I feel we're still looking for the right answers (sometimes even the right questions). That's why I enjoy working on DFSes, but it does mean that there's a large element of "choose your poison" in evaluating current offerings.
Slashdot - News for Herds. Stuff that Splatters.
This is something I've been thinking about for a while. I might give a go once my current project (the user-mode kernel port) settles down.
This my current thinking on cfs (cluster fs)
All members of the cluster share a filesystem, which potentially uses all the available storage on the cluster (although you might want to keep stuff like your home directory on a separate device that you don't share with the cluster).
Files are duplicated on multiple machines for speed and redundancy. Files will tend to be located on the machines that are accessing them, so most I/O is local.
cfs will just be the networking part. Local storage will be handled by a local fs (like ext2). cfs metadata will be stored in local files with funky names (which are made invisible by cfs anyway)
There are multiple levels of membership in a cluster. Primary members can read and write everything. Secondary members can only read. They can have read copies of files locally, but they can't hand those out to other machines. Machines wanting to read a file have to go to a primary member for a copy. This is for sysadmins who don't necessarily trust their users to prevent them from becoming root and modifying files (like /etc/passwd) behind the back of cfs and then handing the new /etc/passwd out to everybody else.
Machines can be members of multiple clusters. /etc might come from a cluster that everyone is a member of, /bin might come from a cluster of machines of the architecture, /projects might come from a third cluster, etc.
Files can be marked "local" which means that they permanently live on that machine, override whatever file comes from the cluster, and aren't shared with the cluster. This would be useful for config files which are only relevant to your machine, or your email directory.
A machine's /dev would mapped into the cluster filesystem as /dev/aa.bb.cc.dd/ rather than being marked local. This gives transparent access to every device in the cluster.
A machine which a writing a file is designated the file's owner. While writes are in progress, all reads have to go to that machine. Once the writes have stopped, the machine remains the owner, but it can start spreading the new data around the cluster. It can also designate secondary owners, who would come into play if the primary owner crashes. One of them would become the new owner. If it turns out that the old owner had changes which it didn't manage to propagate and the new owner made changes, then my current thinking is that this is brought to the attention of a human, who straightens things out. If this is not acceptable for a particular file for some reason, then that file can be marked in such a way that accesses to it hang or fail until the owner comes back.
- NIS -- share various maps, in your context most notably NFS maps so every machine knows where every export is on every machine
- automount/autofs -- on demand mounting of various shares
- NFS -- obviously, for the various exports
Two caveats:*** Proven iconoclast, aspiring bohemian. ***
> why are you patenting it ? If its GPLed no one
> can claim a patent anyway (prior art). Also has
> linus accepted it ? Without that your are
> condemmed into staying in the domain of
> continous upgrade patches which means you either
> struggle to keep ahead of the kernel or you
> become obsolete. and what do you mean by
> copyrighted ? GPLed code can never be
> copyrighted only copylefted
First, you don't know that someone is stealling your prior art until after they already have a patent. At which point it is virtually too late, since getting patents over turned is extremely hard.
Second, they said they were planning this too be a cross platform file system, which means that whether or not Linus officially supports it isn't going to kill the project any more than the head of Sun officially not supporting it will. Second, Linus will probably accept it if it is good. From the sounds of the project, it is too early for him to either have accepted it or rejected it.
And finally, GPLed code can very much be copyrighted. Legally, copylefted is not recognized other than as type of license to copyrighted material. Without copyrights, there is no GPL, only public domain. In fact, it is copyrights that make GPL binding and effective.
Actually, by default any item you create is legally copyrighted. If I remember correctly, if you don't mark any copyright on it, then the best you can hope for in the case of theft is a cease and desist. If you mark it copyrighted, you can collect damages up to a certain limit (damages meaning that you can collect any earnings made directly from your work), and if you register that copyright, you can then collect punitive damages.
-- Superlame http://catpro.dragonfire.net/joshua/
He's the guy who takes the dead across the river styx.
You *can* patent, copyright and GPL all at once, BTW. As an example, look at the SQUID license (for copyright+GPL):
I don't know of anything that's been both patented and GPLd, but CAST encryption is close. Its creators patented it, but made it available for all uses, anywhere, for free. That keeps someone else (not going to mention any specific companies or professions here) from attempting to patent it later, pre-empting any stupid legal battles. We're doing the same thing.
We've not approached Linus for his blessing. It's a little early for that. Don't look for it in the 2.4 kernel.
Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
I dislike letting the cat out of the bag this early, but those of you who pay attention to linux kernel-development lists already know some of this.
We're writing a new distributed filesystem called Charon. It will be patented ("patent pending"), copyrighted, and GPLed. It's a true 64-bit, journaled filesystem that supports exabyte-plus file and volume sizes, sophisticated access control lists, per-directory quotas, distributed zero-knowledge protocol authentication, encryption, replication, named streams and indices (see BeFS, ReiserFS -- although we don't use B-trees of any type). It's in alpha stage right now, and full of debug code, but is already faster than Ext2fs, and way ahead of XFS and NTFS. We will be porting it to Solaris and NT after development on Linux is complete.
Unlike Coda, AFS, DFS, etc. replication, every Charon server is a full read-write replicant. Only changed disk blocks and metadata are replicated, as opposed to entire files (and only on close) as in Coda. Charon clients are partial replicants -- they use the local file system as cache and rely on their home server(s) for token management and authentication. The system also supports heirachical failover and replication.
Because of the way it is designed, it also supports a very nice feature for GUIs and web servers -- a very fast built-in file types database that provides a single repository for mime type, friendly name, icon(s), description, extension, and other information. Sort of alike the Windows registry, but much less stupid and much higher-performance.
Stay tuned! This isn't vaporware.
Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
NFS seems the best solution to me also.. Do you really want a distributed file system? Seperate mount points has always seemed to me to be a much more robust way of handling things.. This way if a node dies, you only lose that node, and it doesn't make trouble for the rest of the system.
Also, with NFS being built into the kernel, should be the fastest way going...
Blessed are the pessimists, for they have made backups.
Woops, looks like I displayed my ignorance... (research first, post second ;-)
Distributed in this manner looks like it should make a large difference in speed for muliple clients.. if you have only a node or two that are clients though, it wouldn't help much and NFS would be simplier, but if you have 20+ clients this looks like it has the possibility of being really cool..
Thanks to whoever posted the link to xFS...
Blessed are the pessimists, for they have made backups.
A buddy of mine (John Carter, professor at the University of Utah) was the chief architect/programmer of Mango's Medley (www.mango.com). It would be ideal. It lets you take spare space on a bunch of Win machines and use them as a virtual fileserver. The really cool thing is that is does transparent mirroring, plus if you're using a file it automatically turns your box into one of the mirrors so that it will be even faster than the fastest file server. And the company has a really cool name ;-)
Problems:
(1) It has only been written for Windows. But not that hard to port.
(2) More serious: they initially did it on Windows because that's where they saw a larger potential customer base. But my friend, last we spoke, said that despite the practicality of the product (and winning best of show 2 or 3 years ago at Comdex) they still haven't had any substantial sales. So a port isn't likely to happen. The best would be if they opened up the source for Linux (they still have a patent on the Windows version, so it probably wouldn't be a problem), but I have no clue if they would ever consider that. Regardless, somebody needs to write such a system for Linux/BSD. Probably wouldn't even be that hard.
An OS that may suit your needs is inferno by Lucent. It is designed to be cross platform and allows ditributed resources. It works on Linux, Wintel, SPARCS, etc. It is remarkably small, as it was designed for embedded devices to be able to have a common ground with different platforms and OS's.
Coda *is* a blast. My favorite part is the disconnected operation. My least favorite part is the local caching. If you want to copy a 2GB file to your local machine, that means you need 2GB of free space to hold the file *plus* 2GB of free space to hold the locally-cached copy.
I guess for an essentially academic project it's kinda cool, and for other situations -- like as the back-end for a cluster of web servers -- it would work really well, but for me, where I *am* reading/writing big files around a lot, that part of it really sucks.
-=-=-=-=-
-=-=-=-=-
My mom's going to kick you in the face!