In the linux automounter if you have something like this in a map file:

/test  hosta(10):/export localhost(20):/export hostb(30):/export

the automounter will ignore the weighting and always pick the localhost. The Sun automounter also behaves in this way. The patch I'm submitted just clarifies the documentation so the user is not surprised when it happens.

Thanks,
Chris
--- autofs-4.1.3/README.replicated-server.orig	2005-01-24 15:26:28.609436878 -0600
+++ autofs-4.1.3/README.replicated-server	2005-01-24 15:27:57.592082878 -0600
@@ -27,7 +27,10 @@ Mutliple weighted, replicated hosts same
 Will pick lowest weighted host that responds to RPC call.  
 RPC time is not counted, only whether the call got a reply 
 at all.  Initially does a .1 second timeout, if all hosts 
-fail this, moves to 10 second timeout.
+fail this, moves to 10 second timeout.  If one of the hosts
+is localhost, the automounter will choose that regardless of
+its weight.  (This has been done to remain compatible with
+Sun's automounter)
 
 Multiple weighted, replicated hosts different (potentially) 
 paths:
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to