Risto Bell wrote:
> > My system defaults to tcp nfs v3 if no options are specified.
>
> How does one achieve/config that (Solaris like) in autofs4?
> Likewise achieving the NETAPP recommended TCP options timeo=600,retrans=2
>
> If you have mix of servers, some only supporting UDP, but wish
> to prefer TCPv3 whereever it's available and UDP only if no choice...
>
> I use scripts programs (like auto.net), that do rpcinfo
> to test if the server supports TCP and add the options. But even
> emulating NIS look-ups, overall result (scripts) are considerably
> slower.
Perhaps I am missing something, but the default NFS Version 3 over TCP.
If that is not available, then the client falls back to NFS Version 3
over UDP, NFS Version 2 over TCP, and then NFS Version 2 over UDP,
in that order.
As far as I can tell, it should not be necessary to specify any mount
options controlling the NFS protocol version or transport choice, unless
you specifically want it to be a single combination and not allow it to
fall back.
All that extra support is just overhead if the mount command is already
doing the right thing.
Thanx...
ps
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs