From owner-freebsd-fs@FreeBSD.ORG Tue Jun 7 16:04:14 2011 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 96F141065674 for ; Tue, 7 Jun 2011 16:04:14 +0000 (UTC) (envelope-from marco@tolstoy.tols.org) Received: from tolstoy.tols.org (tolstoy.tols.org [IPv6:2a02:898:0:20::57:1]) by mx1.freebsd.org (Postfix) with ESMTP id 2DF3A8FC08 for ; Tue, 7 Jun 2011 16:04:13 +0000 (UTC) Received: from tolstoy.tols.org (localhost [127.0.0.1]) by tolstoy.tols.org (8.14.4/8.14.4) with ESMTP id p57G471b048617 for ; Tue, 7 Jun 2011 16:04:07 GMT (envelope-from marco@tolstoy.tols.org) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97 at tolstoy.tols.org Received: (from marco@localhost) by tolstoy.tols.org (8.14.4/8.14.4/Submit) id p57G47rD048616 for freebsd-fs@freebsd.org; Tue, 7 Jun 2011 18:04:07 +0200 (CEST) (envelope-from marco) Date: Tue, 7 Jun 2011 18:04:07 +0200 From: Marco van Tol To: freebsd-fs@freebsd.org Message-ID: <20110607160406.GC43075@tolstoy.tols.org> Mail-Followup-To: freebsd-fs@freebsd.org References: <4DEE4654.6060404@hotplug.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DEE4654.6060404@hotplug.ru> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on tolstoy.tols.org Subject: Re: zfs snapshot management 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: Tue, 07 Jun 2011 16:04:14 -0000 On Tue, Jun 07, 2011 at 07:40:04PM +0400, Emil Muratov wrote: > > >>Since there seems to be a fair number of serious zfs users here, I was > >>hoping for some further suggestions for use in either case. Any > >>input is > >>welcome... > > > >We've had plenty of good experiences with sysutils/zfs-snapshot-mgmt > > I have had problems with this tool regarding daylight saving time > changes and snapshot aging calculation. I wrote to the author but didn't > get any response. > I used zfSnap (/usr/ports/sysutils/zfsnap) as a very good alternative > for quite a long time, but now it's broken for v28 since zfs -r behavior > for snapshots has changed. Hope there will be a fix for it someday. Isn't it so that cron is aware of daylight savings time changes, and will not run the same cronjob twice if on a given day hour x occurs twice? Or can be configured to be aware of that? An alternative I'm using at the moment is to have root be in UTC. Downside is that your snapshot names will be in UTC time. Just thinking outloud, didn't give it lots of thought. Marco -- Success is having to worry about every damn thing in the world, except money. - Johnny Cash