Posted Dec 25, 2008 18:56 UTC (Thu) by pkern (subscriber, #32883)
Of course one could switch to AFS where the local cache is mandatory, but which might give one weird bugs resulting out of non-POSIX behaviour (e.g. problems with locking). But I somehow fail to see production-ready alternatives for shared home directories. What you usually could get are cluster filesystems on some shared storage device, which are not really suitable for the one server - many clients case, where each client node could be turned off at any time.
Something like FS-Cache could really reduce network traffic and burden for the server here, especially because the clients in my case are equipped with a otherwise mostly unused harddisk. (The root filesystem is currently rsync'ed on them, which still leaves like 100G per client unused.) I would be glad for any other suggestion, though.
Posted Dec 26, 2008 13:32 UTC (Fri) by vonbrand (guest, #4458)
The problem here is precisely the non-POSIX behaviour. The non-POSIXness of NFS is barely bearable, the one of such an "perhaps you get the offline version, perhaps the online one" is madness.
Posted Dec 27, 2008 5:54 UTC (Sat) by csamuel (✭ supporter ✭, #2624)
Well, the obvious thing that they could implement caching here
aside. Is there some sane way to speed things like /home on NFS up with a local
NFSv4 already has the concept of file delegations (in fact 4.1 includes read-only
directory delegations too), where a client which opens a file
that isn't being accessed by other systems can be granted a delegation to operate
on that file locally and then either commit the final changes to the server when its
done or for the NFS server to recall the delegation if another client requests
So if you are running an HPC cluster, for instance, and a user runs a code in
their home directory by accident (yes, it does happen, sadly) that uses a lot of
temporary files then ideally the server will be able to delegate access to the client
and they don't need to do any of their I/O over NFS..
Posted Dec 26, 2008 22:56 UTC (Fri) by nix (subscriber, #2304)
Think of it as a poor man's hierarchical storage.
It rocks. (And it saved my bacon when I had a disk failure half a year ago.) :)
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds