All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] small patch for documenting weighted maps
@ 2005-01-24 21:48 Chris Feist
  2005-01-25  1:05 ` Ian Kent
  0 siblings, 1 reply; 14+ messages in thread
From: Chris Feist @ 2005-01-24 21:48 UTC (permalink / raw)
  To: raven; +Cc: autofs

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

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

[-- Attachment #2: autofs-4.1.3-replicated-server-doc.patch --]
[-- Type: text/x-patch, Size: 718 bytes --]

--- 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:

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-01-26 15:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-24 21:48 [PATCH] small patch for documenting weighted maps Chris Feist
2005-01-25  1:05 ` Ian Kent
2005-01-25 12:18   ` NIS maps loading Francesco P. Lovergine
2005-01-25 12:36     ` Francesco P. Lovergine
2005-01-25 15:24     ` Michael Blandford
2005-01-25 15:41       ` Francesco P. Lovergine
2005-01-25 15:37     ` Jeff Moyer
2005-01-25 15:50       ` Francesco P. Lovergine
2005-01-25 15:56         ` Francesco P. Lovergine
2005-01-25 16:19         ` Jeff Moyer
2005-01-25 16:50         ` Steinar H. Gunderson
2005-01-26 14:53           ` raven
2005-01-26 15:16             ` Steinar H. Gunderson
2005-01-26 14:49     ` raven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.