All of lore.kernel.org
 help / color / mirror / Atom feed
* Autofs picking first server from the automounter map all the time
@ 2004-04-30 19:19 Patel, Rahulkumar [NJ]
  2004-04-30 20:52 ` Michael Blandford
  2004-05-01  4:15 ` raven
  0 siblings, 2 replies; 5+ messages in thread
From: Patel, Rahulkumar [NJ] @ 2004-04-30 19:19 UTC (permalink / raw)
  To: 'autofs@linux.kernel.org'

Hi,
I have following entry defined in the automounter map.
But, when I try to access it all the time it pick last server defined for
that mount.

perl -ro,soft,nosuid,noquota,intr server1:/vol/vol1/software/perl
server2:/vol/vol1/software/perl.


When I cd /home/perl --> All the time I connect to server2.

I am running autofs-3.1.7-21.

Does anyone has idea why this is happening ?

Thanks
Rahul

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.

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

* Re: Autofs picking first server from the automounter map all the time
  2004-04-30 19:19 Autofs picking first server from the automounter map all the time Patel, Rahulkumar [NJ]
@ 2004-04-30 20:52 ` Michael Blandford
  2004-05-02 14:01   ` raven
  2004-05-01  4:15 ` raven
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Blandford @ 2004-04-30 20:52 UTC (permalink / raw)
  To: Patel, Rahulkumar [NJ]; +Cc: 'autofs@linux.kernel.org'

Patel, Rahulkumar [NJ] wrote:

>Hi,
>I have following entry defined in the automounter map.
>But, when I try to access it all the time it pick last server defined for
>that mount.
>
>perl -ro,soft,nosuid,noquota,intr server1:/vol/vol1/software/perl
>server2:/vol/vol1/software/perl.
>
>
>When I cd /home/perl --> All the time I connect to server2.
>
>I am running autofs-3.1.7-21.
>  
>
Autofs 3.x and autofs 4.0.x didn't have real support for replicated 
server.  It simply picks the first server in the list.

Autofs 4.1.x does include support for replicated server.  You should 
upgrade and test.

Michael


Disclaimer: The content of this message is my personal opinion only and 
although I am an employee of Intel, the statements I make here in no way 
represent Intel's position on the issue, nor am I authorized to speak on 
behalf of Intel on this matter.

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

* Re: Autofs picking first server from the automounter map all the time
  2004-04-30 19:19 Autofs picking first server from the automounter map all the time Patel, Rahulkumar [NJ]
  2004-04-30 20:52 ` Michael Blandford
@ 2004-05-01  4:15 ` raven
  1 sibling, 0 replies; 5+ messages in thread
From: raven @ 2004-05-01  4:15 UTC (permalink / raw)
  To: Patel, Rahulkumar [NJ]; +Cc: 'autofs@linux.kernel.org'

On Fri, 30 Apr 2004, Patel, Rahulkumar [NJ] wrote:

> Hi,
> I have following entry defined in the automounter map.
> But, when I try to access it all the time it pick last server defined for
> that mount.
> 
> perl -ro,soft,nosuid,noquota,intr server1:/vol/vol1/software/perl
> server2:/vol/vol1/software/perl.
> 
> 
> When I cd /home/perl --> All the time I connect to server2.
> 
> I am running autofs-3.1.7-21.
> 
> Does anyone has idea why this is happening ?
> 

I'm not sure if this should work in v3.

It should work in 4.1.1 and above but it seems that I have broken that 
behaviour when I merged the patch for it. I'll have to fix it.

However an entry like:

perl -ro,... server1,server2:/vol/vol1/software/perl

works as expected.

Ian

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

* Re: Autofs picking first server from the automounter map all the time
  2004-04-30 20:52 ` Michael Blandford
@ 2004-05-02 14:01   ` raven
  0 siblings, 0 replies; 5+ messages in thread
From: raven @ 2004-05-02 14:01 UTC (permalink / raw)
  To: Michael Blandford
  Cc: 'autofs@linux.kernel.org', Patel, Rahulkumar [NJ]

On Fri, 30 Apr 2004, Michael Blandford wrote:

> Patel, Rahulkumar [NJ] wrote:
> 
> >Hi,
> >I have following entry defined in the automounter map.
> >But, when I try to access it all the time it pick last server defined for
> >that mount.
> >
> >perl -ro,soft,nosuid,noquota,intr server1:/vol/vol1/software/perl
> >server2:/vol/vol1/software/perl.
> >
> >
> >When I cd /home/perl --> All the time I connect to server2.
> >
> >I am running autofs-3.1.7-21.
> >  
> >
> Autofs 3.x and autofs 4.0.x didn't have real support for replicated 
> server.  It simply picks the first server in the list.
> 
> Autofs 4.1.x does include support for replicated server.  You should 
> upgrade and test.
>

This specific feature didn't work. I must have broken it when I merged the 
patch.

I've been working on it much of the weekend and it's fixed.

As a side benefit I think I discovered one cause of those nasty "BUG: dir 
already mounted" messages which cause things to go pear shaped.

I'm going to post an appeal for help testing it in a minute.

Ian

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

* RE: Autofs picking first server from the automounter map all the time
@ 2004-05-02 18:00 Chris Croswhite
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Croswhite @ 2004-05-02 18:00 UTC (permalink / raw)
  To: raven, Michael Blandford; +Cc: autofs, Patel, Rahulkumar [NJ]

I will help test if you could point the location of the patches.




-----Original Message-----
From:	raven@themaw.net [mailto:raven@themaw.net]
Sent:	Sun 02-May-04 07:01
To:	Michael Blandford
Cc:	'autofs@linux.kernel.org'; Patel, Rahulkumar [NJ]
Subject:	Re: [autofs]  Autofs picking first server from the automounter map all the time

On Fri, 30 Apr 2004, Michael Blandford wrote:

> Patel, Rahulkumar [NJ] wrote:
> 
> >Hi,
> >I have following entry defined in the automounter map.
> >But, when I try to access it all the time it pick last server defined for
> >that mount.
> >
> >perl -ro,soft,nosuid,noquota,intr server1:/vol/vol1/software/perl
> >server2:/vol/vol1/software/perl.
> >
> >
> >When I cd /home/perl --> All the time I connect to server2.
> >
> >I am running autofs-3.1.7-21.
> >  
> >
> Autofs 3.x and autofs 4.0.x didn't have real support for replicated 
> server.  It simply picks the first server in the list.
> 
> Autofs 4.1.x does include support for replicated server.  You should 
> upgrade and test.
>

This specific feature didn't work. I must have broken it when I merged the 
patch.

I've been working on it much of the weekend and it's fixed.

As a side benefit I think I discovered one cause of those nasty "BUG: dir 
already mounted" messages which cause things to go pear shaped.

I'm going to post an appeal for help testing it in a minute.

Ian

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

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

end of thread, other threads:[~2004-05-02 18:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 19:19 Autofs picking first server from the automounter map all the time Patel, Rahulkumar [NJ]
2004-04-30 20:52 ` Michael Blandford
2004-05-02 14:01   ` raven
2004-05-01  4:15 ` raven
  -- strict thread matches above, loose matches on Subject: below --
2004-05-02 18:00 Chris Croswhite

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.