==> Regarding Re: [autofs] autofs4: How to confg TCP 1st choice, not UPD?; 
Risto Bell <[EMAIL PROTECTED]> adds:

reb> Using RedHat Enterprise 3 update 6. Release notes consistent with
reb> my experience that UDP is the default. Perhaps RedHat changed the
reb> default autofs4's natural TCP back to UDP? In any event, question
reb> remains: There isn't an simple config by which to control it (prefer
reb> TCP with timeo=600,retrans=2 1st), it has to be compiled into it?

The default is not embedded in autofs, it's part of the mount command
and/or the kernel mount implementation.  My system is RHEL 5 beta, so much
newer than yours.

reb> Also could use multi-mounts? List two alternative mounts, same but
reb> one TCP and one UPD, so the 1st (TCP) will be attempted, and only if
reb> it fails (server doesn't support TCP) will it fall to 2nd (UDP)?
reb> This would still need programs/scripts but would save rcpinfo process,
reb> and achieve slight speed-up.

Please don't do this.  It is not the correct way to go about doing things,
and it will not work.  The reason is that when trying a replicated server,
if we fail to mount we mark the server as down.  So, your subsequent
request will also fail.

-Jeff

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to