All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange autofs V4.0 problems
@ 2004-02-02 20:51 Alan.Burke
  2004-02-02 23:30 ` Mike Marion
  0 siblings, 1 reply; 7+ messages in thread
From: Alan.Burke @ 2004-02-02 20:51 UTC (permalink / raw)
  To: autofs; +Cc: Annie Mckeon

Hi Folks,

We're having a strange problem with autofs V4.1 on RH8.
I hope someone can help.

Can't connect to certain Network Appliances boxes.  No rhyme or reason.
Both /net and /home directories fail on some Net Apps but not others. The
Net App boxes are exporting correctly. We can mount the netapps, just not
via autofs.

Errors from the messages file...

Jan 29 15:36:54 cfl27 automount[19457]: mount(nfs): nfs: mount failure 
820ntap:/vol/vol1 on /net/820ntap/vol/vol1
Jan 29 15:36:54 cfl27 automount[19457]: failed to mount /net/820ntap
Jan 29 15:36:54 cfl27 automount[19467]: >> mount: 820ntap:/vol/vol1 
failed, reason given by server: Permission denied

Any Ideas?

Thanks in advance,

alan

-- 
Alan J. Burke		Engineering IS Manager
Analog Devices		Email: alan.burke@analog.com

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

* Re: Strange autofs V4.0 problems
  2004-02-02 20:51 Strange autofs V4.0 problems Alan.Burke
@ 2004-02-02 23:30 ` Mike Marion
  2004-02-02 23:48   ` Michael Blandford
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Marion @ 2004-02-02 23:30 UTC (permalink / raw)
  To: alan.burke; +Cc: autofs, Annie Mckeon

On Feb 2, 2004, at 12:51 PM, Alan.Burke wrote:

> Can't connect to certain Network Appliances boxes.  No rhyme or reason.
> Both /net and /home directories fail on some Net Apps but not others. 
> The
> Net App boxes are exporting correctly. We can mount the netapps, just 
> not
> via autofs.
>
> Errors from the messages file...
>
> Jan 29 15:36:54 cfl27 automount[19457]: mount(nfs): nfs: mount failure 
> 820ntap:/vol/vol1 on /net/820ntap/vol/vol1
> Jan 29 15:36:54 cfl27 automount[19457]: failed to mount /net/820ntap
> Jan 29 15:36:54 cfl27 automount[19467]: >> mount: 820ntap:/vol/vol1 
> failed, reason given by server: Permission denied

The fact that you're seeing that in your logs shows that autofs is 
working fine.. your host tried to mount the directory and was denied by 
the server.  I'm seeing the exact same thing for some new linux boxes I 
just installed over the weekend and some of our NetApp filers, and 
we're seeing the same thing from some new Solaris hosts as well.

I'm wondering if there's some kind of name/ip caching bug on the 
netapps that caches a deny for a very long period if you try to mount 
before your netgroups/dns is updated with the new host information.

-- 
Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com
Drew: "Violence doesn't solve anything? World War I. World War II. Star 
Wars.
every Super Bowl. Who says violence doesn't solve anything?!" ==> Drew 
Cary Show

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

* Re: Strange autofs V4.0 problems
  2004-02-02 23:30 ` Mike Marion
@ 2004-02-02 23:48   ` Michael Blandford
  2004-02-03  0:59     ` mmarion
  2004-02-03 18:46     ` Greg Bradner
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Blandford @ 2004-02-02 23:48 UTC (permalink / raw)
  To: Mike Marion; +Cc: autofs, Annie Mckeon

Mike Marion wrote:

>
> The fact that you're seeing that in your logs shows that autofs is 
> working fine.. your host tried to mount the directory and was denied 
> by the server.  I'm seeing the exact same thing for some new linux 
> boxes I just installed over the weekend and some of our NetApp filers, 
> and we're seeing the same thing from some new Solaris hosts as well.
>
> I'm wondering if there's some kind of name/ip caching bug on the 
> netapps that caches a deny for a very long period if you try to mount 
> before your netgroups/dns is updated with the new host information.


If you can mount them by hand on the same box not using autofs, then it 
seems more likely to be an autofs issue.

Michael

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

* Re: Strange autofs V4.0 problems
  2004-02-02 23:48   ` Michael Blandford
@ 2004-02-03  0:59     ` mmarion
  2004-02-03 22:07       ` mmarion
  2004-02-03 18:46     ` Greg Bradner
  1 sibling, 1 reply; 7+ messages in thread
From: mmarion @ 2004-02-03  0:59 UTC (permalink / raw)
  To: mlblandf; +Cc: autofs, anne.bourgeois

On  2 Feb, Michael Blandford wrote:

> If you can mount them by hand on the same box not using autofs, then it 
> seems more likely to be an autofs issue.

Tried that.. can't.  Going to have our netapp people look into it as other
netaps are fine.

-- 
Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com
Lisa: "As you know, we've been swimming. And we've developed a taste for it. We
agree that getting our own pool is the way to go. Now before you respond, you 
should know that your refusal will result in months and months of..."
Bart, Lisa: "CanwehaveapoolDad? CanwehaveapoolDad? CanwehaveapoolDad? 
CanwehaveapoolDad? CanwehaveapoolDad?"
Homer: "I understand. Let us celebrate our agreement with the adding of chocolate to milk." -- Simpsons

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

* Re: Strange autofs V4.0 problems
  2004-02-02 23:48   ` Michael Blandford
  2004-02-03  0:59     ` mmarion
@ 2004-02-03 18:46     ` Greg Bradner
  2004-02-03 19:14       ` Anne.Bourgeois
  1 sibling, 1 reply; 7+ messages in thread
From: Greg Bradner @ 2004-02-03 18:46 UTC (permalink / raw)
  To: Michael Blandford; +Cc: autofs, Mike Marion, Annie Mckeon

use the 'nonstrict' opition in your auto.net script.

Michael Blandford wrote:

> Mike Marion wrote:
>
>>
>> The fact that you're seeing that in your logs shows that autofs is 
>> working fine.. your host tried to mount the directory and was denied 
>> by the server.  I'm seeing the exact same thing for some new linux 
>> boxes I just installed over the weekend and some of our NetApp 
>> filers, and we're seeing the same thing from some new Solaris hosts 
>> as well.
>>
>> I'm wondering if there's some kind of name/ip caching bug on the 
>> netapps that caches a deny for a very long period if you try to mount 
>> before your netgroups/dns is updated with the new host information.
>
>
>
> If you can mount them by hand on the same box not using autofs, then 
> it seems more likely to be an autofs issue.
>
> Michael
>
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rhythm & Hues
5404 Jandy Place
Los Angeles, CA 90066
Voice: 310 448-7763
Fax:   310 448-7600
gregb@rhythm.com

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

* Re: Strange autofs V4.0 problems
  2004-02-03 18:46     ` Greg Bradner
@ 2004-02-03 19:14       ` Anne.Bourgeois
  0 siblings, 0 replies; 7+ messages in thread
From: Anne.Bourgeois @ 2004-02-03 19:14 UTC (permalink / raw)
  To: Greg Bradner; +Cc: autofs, Michael Blandford, Mike Marion

Greg,

This worked immediately.  Thank you for your help.

Annie


Greg Bradner wrote:

> use the 'nonstrict' opition in your auto.net script.
>
> Michael Blandford wrote:
>
>> Mike Marion wrote:
>>
>>>
>>> The fact that you're seeing that in your logs shows that autofs is 
>>> working fine.. your host tried to mount the directory and was denied 
>>> by the server.  I'm seeing the exact same thing for some new linux 
>>> boxes I just installed over the weekend and some of our NetApp 
>>> filers, and we're seeing the same thing from some new Solaris hosts 
>>> as well.
>>>
>>> I'm wondering if there's some kind of name/ip caching bug on the 
>>> netapps that caches a deny for a very long period if you try to 
>>> mount before your netgroups/dns is updated with the new host 
>>> information.
>>
>>
>>
>>
>> If you can mount them by hand on the same box not using autofs, then 
>> it seems more likely to be an autofs issue.
>>
>> Michael
>>
>>
>> _______________________________________________
>> autofs mailing list
>> autofs@linux.kernel.org
>> http://linux.kernel.org/mailman/listinfo/autofs
>
>
>

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

* Re: Strange autofs V4.0 problems
  2004-02-03  0:59     ` mmarion
@ 2004-02-03 22:07       ` mmarion
  0 siblings, 0 replies; 7+ messages in thread
From: mmarion @ 2004-02-03 22:07 UTC (permalink / raw)
  To: autofs

On  2 Feb, To: mlblandf@sedona.ch.intel.com wrote:

>> If you can mount them by hand on the same box not using autofs, then it 
>> seems more likely to be an autofs issue.
> 
> Tried that.. can't.  Going to have our netapp people look into it as other
> netaps are fine.
> 

We finally figured out that our netgroup.byname map was being truncated... and
that's why smoe hosts weren't mounting when others could.  

We added a ton of entries into our duty system, that expand out to netgroups
on each host, so we went beyond the length a single entry can have.  They're
working on truncating the lists into sub-netgroups like we had to do years ago
for some of the other netgroup maps.

-- 
Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com
"Administering a Linux server is no more difficult than properly running
Windows NT."
  -- Infoworld, November 24, 1997

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

end of thread, other threads:[~2004-02-03 22:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02 20:51 Strange autofs V4.0 problems Alan.Burke
2004-02-02 23:30 ` Mike Marion
2004-02-02 23:48   ` Michael Blandford
2004-02-03  0:59     ` mmarion
2004-02-03 22:07       ` mmarion
2004-02-03 18:46     ` Greg Bradner
2004-02-03 19:14       ` Anne.Bourgeois

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.