From owner-freebsd-questions@FreeBSD.ORG Sun Aug 3 15:24:17 2014 Return-Path: Delivered-To: freebsd-questions@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 3AA6185A for ; Sun, 3 Aug 2014 15:24:17 +0000 (UTC) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) (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 E13B92A49 for ; Sun, 3 Aug 2014 15:24:16 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id s73FO7kn007514; Sun, 3 Aug 2014 17:24:07 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id F365F123C9; Sun, 3 Aug 2014 17:24:06 +0200 (CEST) Date: Sun, 3 Aug 2014 17:24:06 +0200 From: Roland Smith To: "William A. Mahaffey III" Subject: Re: automount .... Message-ID: <20140803152406.GA67677@slackbox.erewhon.home> Mail-Followup-To: "William A. Mahaffey III" , FreeBSD Questions !!!! References: <53DD79D3.9000900@hiwaay.net> <53DE422C.9030406@hiwaay.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <53DE422C.9030406@hiwaay.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions !!!! 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 15:24:17 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 03, 2014 at 09:07:40AM -0500, William A. Mahaffey III wrote: > On 08/03/14 06:20, Daniel Feenberg wrote: >=20 >=20 > > > > > > On Sat, 2 Aug 2014, William A. Mahaffey III wrote: > > > >> > >> > >> .... I am interested in using automount (amd) as both client & server= =20 > >> on my newly minted FreeBSD 9.3 box. Actually, the server part already= =20 > >> .... just works, automagically, however I can't figure out anything=20 > >> about client operations. The man page is dense & a quart low on=20 > >> examples .... Anyone have any clues, maybe some simple config files ?= =20 > >> TIA .... > > > > I am not sure what you mean by client and server in the context of=20 > > amd, but I did write an amd on FreeBSD tutorial years ago, which still= =20 > > reads well: > > > > http://www.nber.org/sys-admin/amd.html > > > > Daniel Feenberg >=20 >=20 > Nice read, I notice that some of your info seems to be in the default=20 > amd setup now. I also notice that the man pages are a bit dated (Apr 21,= =20 > 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. > ? I got amd running, it seems to work OK, except that it drops a mount af= ter > 5 min. active or not. =46rom the amd(8) manual: File systems are automatically unmounted when they appear to be quiesce= nt. It seems you and amd have a difference of opinion about what active/quiesce= nt means... > I can't see anything to twiddle in the amd.conf file, any clues ?=20 > 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 --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT3lQWAAoJEED21dyjijPgns0P/0cZhrKE6lwwTJ/UEbC0jYCn cIMDkSpouyp7myV+2Ze4GfmTfABK9dsNPvz1cDG6K01lP8gSNogrXZusn4thDZlq u6kFGpp0Tow9MxBXt+est5xzQIJkrTRbXuBKLBztD5RxDuCYQM1sMRdxH5FPpNRj wQ8AJYehFvt0oWb7OFxDRoovQjc0RRgn3rO7VVEcdI4HW/wQ3ILVkYmhv6621htd xj54hFkulichO4yPth9aIhCHtLL8QvXWAcADQQBDv6BhXI8Nd6wAtUdbRPBDWm24 i+eEWxv5rMiy17ERlL65g5CznO3yvWxYg+rXKPQIrXvjKCd6OF7s+7gj2xVRiUiC 1Y0AZ3DASSZ3VUMDIHlCQ4eZLJXaEkcn5kOJSAjH8nu+OzaUiQ0/UWP6GTEb0uBp kj9yMholVU9+pKL6FVhsHh2iC/Png2Im4eyYNTwVjJ/BdghH1Qm7NEDOc1mvSWF4 b1tk1skF37dqBLG2XmFuXo7up86QcuPy5zhvF5CSEGNCyPYQsziN7ZjEFTz27YhK HQ8s1d01n26VdZxNRy454xlVHkS6M5azfAPBUMrQcuRw9++a3XsqTdArUF3AaMQ1 qfONQVrXeAOPw0UGmZF9y9wxwO8wEfMVRll7XhKpFNUDNoyhyzAGtwnd8N9SYBQ3 VlBS5JTTUKh8qipTOrbz =pbQK -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--