From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CCA7613838B for ; Fri, 26 Sep 2014 19:54:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E092E0BB7; Fri, 26 Sep 2014 19:54:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA928E0B1E for ; Fri, 26 Sep 2014 19:53:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D9E0033F8F9 for ; Fri, 26 Sep 2014 19:53:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.674 X-Spam-Level: X-Spam-Status: No, score=-1.674 tagged_above=-999 required=5.5 tests=[AWL=-0.269, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.703, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yFEtSWDmIOOT for ; Fri, 26 Sep 2014 19:53:52 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1668633D762 for ; Fri, 26 Sep 2014 19:53:52 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XXbaO-0006mk-J9 for gentoo-user@gentoo.org; Fri, 26 Sep 2014 21:53:48 +0200 Received: from rrcs-71-40-157-251.se.biz.rr.com ([71.40.157.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 21:53:48 +0200 Received: from wireless by rrcs-71-40-157-251.se.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 21:53:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: snapper (btrfs) Date: Fri, 26 Sep 2014 19:53:36 +0000 (UTC) Message-ID: References: <20140924221134.1a7f0994@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.40.157.251 (Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1) X-Archives-Salt: f80a8437-3743-44da-aec8-a60957b290e7 X-Archives-Hash: ae3b680cb7cdb9c0a42303db31edfe84 Neil Bothwick digimed.co.uk> writes: > > I use snapper from portage. Snapper itself works just fine. Good to know > > found that trying to integrate it into portage (before/after snapshots > > on every emerge) is just way too much overhead (it goes fast, but you > > end up with a bazillion snapshots). Also, I've had deadlock problems > > with deleting multiple snapshots at once, which is certainly a kernel > > problem. Also very good to know. Ftrace/trace-cmd/kernelshark surely would be great to use for this. http://zougloub.eu/overlay/sys-kernel/trace-cmd/ I have not tested this yet.............. > > So, right now I'm using snapper to manage snapshots but I do > > not use time/event-based snapshots at all - I just create them when > > needed and clean them up manually, and carefully. Well my setup is going to be (2) 2T sata-3 drives in a mirrored configuration. So yea, manual will porbably be just fine for me too. > I use a home-brewed script to make time based snapshots, called from > cron - a little like zfs-auto-snapshot. I set a limit on the number of > each type of snapshot so the script generally creates one snapshot and > deletes one snapshot for each subvolume whenever it is called, avoiding > the need to ever have a gazillion snapshots to delete. Sounds good. I grabbed a copy. I drop you a line, if I run into troubles using buttersnap. cheers, James