Re: [NFS] Re: [RFC] Multiple server selection and replicated mount failover

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-05-24 at 13:05 +0800, Ian Kent wrote:

> It seems to me that there are two similar ways to do this:
> 
> 1) Pass a list of address and path entries to NFS at mount time and 
> intercept errors, identify if the host is down and if it is select and 
> mount another server.
> 
> 2) Mount each member of the list with the best one on top and intercept 
> errors, identify if the host is down and if it is select another from the 
> list of mounts and put it atop the mounts. Maintaining the ordering with 
> this approach could be difficult.

Solaris has implemented option (1). To me, that is the approach that
makes the most sense: why add the overhead of maintaining all these
redundant mounts?

> With either of these approaches handling open files and held locks appears 
> to be the the difficult part.

Always has been, and always will. We're working on this problem, but
progress is slow. In any case, we'll be concentrating on solving it for
NFSv4 first (since that has native support for migrated/replicated
volumes).

> Anyone have anything to contribute on how I could handle this or problems 
> that I will encounter?
> 
> 
> snip ..
> 
> > 
> > 3) Is there any existing work available that anyone is aware
> >    of that could be used as a reference.
> 
> Still wondering about this.
> 
> > 
> > 4) How does NFS v4 fit into this picture as I believe that some
> >    of this functionality is included within the protocol.
> 
> And this.
> 
> NFS v4 appears quite different so should I be considering this for v2 and 
> v3 only?

NFSv4 has full support for migration/replication in the protocol. If a
filesystem fails on a given server, then the server itself will tell the
client where it can find the replicas. There should be no need to
provide that information at mount time.

Cheers,
  Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux