From owner-freebsd-questions@FreeBSD.ORG Sun Aug 3 18:06:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF43ED86 for ; Sun, 3 Aug 2014 18:06:35 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 899DD2B91 for ; Sun, 3 Aug 2014 18:06:35 +0000 (UTC) Received: from [192.168.0.4] (rbn1-216-180-76-216.adsl.hiwaay.net [216.180.76.216]) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s73I6S3k010525 for ; Sun, 3 Aug 2014 13:06:28 -0500 Message-ID: <53DE7B9B.5010308@hiwaay.net> Date: Sun, 03 Aug 2014 13:12:43 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: Re: automount .... References: <53DD79D3.9000900@hiwaay.net> <53DE422C.9030406@hiwaay.net> <20140803152406.GA67677@slackbox.erewhon.home> In-Reply-To: <20140803152406.GA67677@slackbox.erewhon.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 18:06:35 -0000 On 08/03/14 10:24, Roland Smith wrote: > On Sun, Aug 03, 2014 at 09:07:40AM -0500, William A. Mahaffey III wrote: >> On 08/03/14 06:20, Daniel Feenberg wrote: >> >> >>> >>> On Sat, 2 Aug 2014, William A. Mahaffey III wrote: >>> >>>> >>>> .... I am interested in using automount (amd) as both client & server >>>> on my newly minted FreeBSD 9.3 box. Actually, the server part already >>>> .... just works, automagically, however I can't figure out anything >>>> about client operations. The man page is dense & a quart low on >>>> examples .... Anyone have any clues, maybe some simple config files ? >>>> TIA .... >>> I am not sure what you mean by client and server in the context of >>> amd, but I did write an amd on FreeBSD tutorial years ago, which still >>> reads well: >>> >>> http://www.nber.org/sys-admin/amd.html >>> >>> Daniel Feenberg >> >> Nice read, I notice that some of your info seems to be in the default >> amd setup now. I also notice that the man pages are a bit dated (Apr 21, >> 2006), Are there any plans to update that :-) > If the software is mature, there usually aren't that many changes to the > manual page. > > And I wonder how many people are actually using NFS these days. In offices, > SMB/CIFS seems paramount these days. Yeah, if you are cursed w/ a plethora of M$FT boxen on your network .... none on mine, only VM's .... > >> ? I got amd running, it seems to work OK, except that it drops a mount after >> 5 min. active or not. > From the amd(8) manual: > > File systems are automatically unmounted when they appear to be quiescent. > > It seems you and amd have a difference of opinion about what active/quiescent > means... Indeed, except that I was midstroke on a large cp of files onto the FreeBSD box from its soon-to-be predescessor, I thought that would qualify as activity .... > >> I can't see anything to twiddle in the amd.conf file, any clues ? >> TIA .... > The `cache_duration` parameter is the one you're looking for, I think. > After entries are dropped from the cache due to inactivity, amd tries to > unmount them. See also `dismount_interval`. > > Roland -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.