Neil Brown writes:
> I've thought a bit more about NFS exporting non-local filesystems...
>
> The filesystem identifier currently is the device number of the device
> that the filesystem is on, which can only work for filesystems that
> live on devices - not true for non-local filesystems.
There would not be a device for a pure network filesystem (such as SMB).
For some cluster filesystems there may be a device because we are using
shared disks which are attached to each server node.
> I have a patch on the way (it is taking a while to get through the
> quality assurance process) which provides a better interface between
> knfsd and the filesystem.
> You can see it (against 2.4.0-test9pre6) at
> http://www.cse.unsw.edu.au/~neilb/oss/knfsd/patch-2.4.0-test9p6
>
> This essentially allows a filesystem to provide a file-handle to inode
> mapping function. For a non-local filesystem, it would make most
> sense to have this function check the currency of the inode, rather
> than calling revalidate separately.
Sounds interesting.
> > Actually, I seem to recall that there exist NFS->NFS repeaters already
> > (probably on Solaris). The reason for NFS exporting a cluster filesystem
> > are many - NFS clients are available for lots of platforms, some cluster
> > filesystems only work well tightly coupled, you want an HA NFS server,
> > you want an incrementally scalable NFS server, or some combination
> > of these.
>
> For the last two, I would think that a clever client with failover and
> an automounter would be better, but possibly it could be done
> server-side.
Yes, but that assumes that there are clever clients out there. It is
better from an admin standpoint to have a robust server. You also
can't scale with just client support.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]