From owner-freebsd-fs@FreeBSD.ORG Mon Dec 6 21:13:21 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 647031065675 for ; Mon, 6 Dec 2010 21:13:21 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from rack.patpro.net (rack.patpro.net [193.30.227.216]) by mx1.freebsd.org (Postfix) with ESMTP id 169CA8FC1A for ; Mon, 6 Dec 2010 21:13:20 +0000 (UTC) Received: from rack.patpro.net (localhost [127.0.0.1]) by rack.patpro.net (Postfix) with ESMTP id 4C8371CC036 for ; Mon, 6 Dec 2010 22:13:20 +0100 (CET) X-Virus-Scanned: amavisd-new at patpro.net Received: from amavis-at-patpro.net ([127.0.0.1]) by rack.patpro.net (rack.patpro.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 007kSvSw38Zo for ; Mon, 6 Dec 2010 22:13:17 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by rack.patpro.net (Postfix) with ESMTP for ; Mon, 6 Dec 2010 22:13:17 +0100 (CET) From: Patrick Proniewski Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/signed; boundary=Apple-Mail-5--169816133; protocol="application/pkcs7-signature"; micalg=sha1 Date: Mon, 6 Dec 2010 22:13:16 +0100 In-Reply-To: To: FreeBSD Filesystems References: <4524EE89-E0A2-4CCF-92F9-80BB709C4BF6@patpro.net> Message-Id: X-Mailer: Apple Mail (2.1082) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: auto-mounting ZFS snapshots X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 21:13:21 -0000 --Apple-Mail-5--169816133 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 6 d=E9c. 2010, at 18:20, Freddie Cash wrote: > FreeBSD automounts the "hidden" .zfs filesystem hierarchy where > snapshots are "stored" automatically. No need for amd. The zfs man page reads: File system snapshots can be accessed under the ".zfs/snapshot" = direc- tory in the root of the file system. Snapshots are = automatically mounted on demand and may be unmounted at regular intervals. The = visi- bility of the ".zfs" directory can be controlled by the "snapdir" = prop- erty. "may be unmounted at regular intervals" <-- what about this? Do I have = to create a periodic script that'll unmount snapshots? And if so, how = can I make a script that'll unmount only snapshots mounted for over, = say, 1 hour? patpro= --Apple-Mail-5--169816133--