Re: [CFT] Autofs.

From: Edward Tomasz Napierała <trasz_at_FreeBSD.org>
Date: Thu, 31 Jul 2014 08:31:38 +0200
On 0730T1851, Craig Rodrigues wrote:
> On Wed, Jul 30, 2014 at 12:19 AM, Edward Tomasz Napierała <trasz_at_freebsd.org
> > wrote:
> 
> > At the link below you will find a patch that adds the new automounter.
> > The patch is against yesterdays 11.0-CURRENT.
> >
> > http://people.freebsd.org/~trasz/autofs-head-20140729.diff
> >
> >
> Hi,
> 
> Nice stuff!  I updated a current system, and tried the patch.
> I put autofs_enable="YES" in /etc/rc.conf
> 
> In my network, I have a system, testhost with some NFS exports.
> 
>  /dir1/export1
>  /dir1/export2
>  /dir1/export3
> 
> I did:
> 
>  cd /net/testhost
> 
> This operation seemed to timeout.
> In dmesg, I saw these errors:
> 
>   WARNING: autofs_callout: request 0 for /net/ timed out after 30 seconds
>   WARNING: autofs_trigger_one: request for /net/ completed with error 60
>   autofs_trigger: trigger failed with error 60; will retry in 1 seconds, 2
> attempts left

Here is how to debug it: kill automountd, and then start it like this:

while :; do automountd -d; done

This will make automountd print debug information to standard output,
which should provide a clue on what's wrong.
Received on Thu Jul 31 2014 - 04:31:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC