From owner-freebsd-arch@FreeBSD.ORG Thu Jul 31 06:31:43 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8910EB9; Thu, 31 Jul 2014 06:31:43 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 062432D47; Thu, 31 Jul 2014 06:31:42 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id d1so3525145wiv.3 for ; Wed, 30 Jul 2014 23:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=/QnkKsq7MQuDAGX9dwh0j9zpU5aEg7Uo3c8DXgV5Dyo=; b=G5/Q4S9P1o/Xiv4jx0Dfo+pTLX+IwRoetVGZnDwam9AaBVHkkYuvreyeZgnAaaH1XR dRMRM5M9w7dLatuIikFnXhxRGGQGQkZj63Q2W5XIZ+5ZnzIVnzp8td7PK9voiB/80BG7 neS0jkZ+0sQjjQzQgqAg6TfPG2gexnYNlphKv8YgzuyfYPcHiavY+O6XrV13juKKj6oD V1QL5vNKsZ9bywb6izUEBKDVrDSp39kEuEI6yUCW4V4a9C20T6RKmofPhXxKBYbB1ZDb Jy7qlnIj9blhFhtsiyTgEWZjusW6ceOmLAn25Hw5OCNFiwb3gSlILMG7ztTpuuprhtcn TCrw== X-Received: by 10.194.122.73 with SMTP id lq9mr13054924wjb.133.1406788301201; Wed, 30 Jul 2014 23:31:41 -0700 (PDT) Received: from brick.home (acd38.neoplus.adsl.tpnet.pl. [83.25.55.38]) by mx.google.com with ESMTPSA id u10sm17328847wix.14.2014.07.30.23.31.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jul 2014 23:31:40 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Thu, 31 Jul 2014 08:31:38 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Craig Rodrigues Subject: Re: [CFT] Autofs. Message-ID: <20140731063138.GA12000@brick.home> Mail-Followup-To: Craig Rodrigues , freebsd-current Current , freebsd-arch References: <20140730071933.GA20122@pc5.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-current Current , freebsd-arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 06:31:43 -0000 On 0730T1851, Craig Rodrigues wrote: > On Wed, Jul 30, 2014 at 12:19 AM, Edward Tomasz NapieraƂa > 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.