From owner-freebsd-arch@FreeBSD.ORG Mon Aug 4 18:51:13 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 17128F4D; Mon, 4 Aug 2014 18:51:13 +0000 (UTC) Received: from esa-annu.net.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id AF35A2905; Mon, 4 Aug 2014 18:51:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AssEAG3V31ODaFve/2dsb2JhbABbFoNJVwSCdMk8CoZ3UwGBJ3eEAwEBAQMBAQEBICsgCwUWGAICDRkCKQEJJgYIBwQBHASIGQgNrWiXDBeBLI1PAQEbATMHgnmBUgWOWIo6hEiTC4NpIS8BBoEGOQ X-IronPort-AV: E=Sophos;i="5.01,799,1400040000"; d="scan'208";a="146251524" Received: from muskoka.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.222]) by esa-annu.net.uoguelph.ca with ESMTP; 04 Aug 2014 14:51:11 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 5B70083DA2; Mon, 4 Aug 2014 14:51:11 -0400 (EDT) Date: Mon, 4 Aug 2014 14:51:11 -0400 (EDT) From: Rick Macklem To: "Bjoern A. Zeeb" Message-ID: <1593472917.6916985.1407178271363.JavaMail.root@uoguelph.ca> In-Reply-To: <3DA39B51-4CE5-437B-9B03-7E34CC954A7E@lists.zabbadoz.net> Subject: Re: [CFT] Autofs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.91.202] X-Mailer: Zimbra 7.2.6_GA_2926 (ZimbraWebClient - FF3.0 (Win)/7.2.6_GA_2926) Cc: freebsd-current@FreeBSD.org, Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= , freebsd-arch@FreeBSD.org 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: Mon, 04 Aug 2014 18:51:13 -0000 Bjoern A. Zeeb wrote: > On 30 Jul 2014, at 07:19 , Edward Tomasz Napiera=C5=82a > wrote: >=20 > > At the link below you will find a patch that adds the new > > automounter. > > The patch is against yesterdays 11.0-CURRENT. > >=20 > > http://people.freebsd.org/~trasz/autofs-head-20140729.diff >=20 > I also just submitted > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192379 to allow -o > vers=3D mount_nfs compatibility, which makes it easier to integrate > with Linux/OSX/Solaris LDAP setups and mount options from LDAP. >=20 >=20 > > Testing is welcome. Please start with manual pages, eg. > > automount(8). >=20 >=20 > I found one case now doing the aforementioned where when the initial > mount_nfs fails (e.g., for invalid options), then a later mount did > not succeed either, with the correct mount options; I did try to > run automount -u in between tries, as well as service automountd > restart, but that did not make a change; given I was short on time, > a reboot of my desktop made this go away. Is there some =E2=80=9Cnegati= ve > caching=E2=80=9D in the kernel module possibly that will not retry the mo= unt > for another time or something=E2=80=94as in if I were more patient and > waited 5 minutes, would it maybe just have worked again? >=20 If I recall it correctly, it retries a mount attempt that fails after something like 1min (which seems like a long time when you are waiting for it;-). I think that was done so that clients don't flood a rebooting server with mount attempts, but that code was written long, long ago. rick ps: I just reviewed and thanked Bjoern for the -vers=3D patch. > Bjoern >=20 > =E2=80=94 > Bjoern A. Zeeb "Come on. Learn, goddamn it.", WarGames, > 1983 >=20 > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to > "freebsd-arch-unsubscribe@freebsd.org"