From owner-freebsd-questions@FreeBSD.ORG Tue Feb 25 20:13:45 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 136C3DF5 for ; Tue, 25 Feb 2014 20:13:45 +0000 (UTC) Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [IPv6:2607:f8b0:400c:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAF1113DE for ; Tue, 25 Feb 2014 20:13:44 +0000 (UTC) Received: by mail-ve0-f180.google.com with SMTP id jz11so1037230veb.25 for ; Tue, 25 Feb 2014 12:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1nyJgwUtpcOP8/k6AmSF/EOimuwd03VRbtdgu/CoccQ=; b=lNtKffN5Q/NimeMt7Ysbu0VQCZQeDA2CeZ6gih5ESrFAPY1PZCAaSMhGhM5jQNsg4p MJ6OYjKvq+qnvrpoHl8u5TZKMHjRzngYL0U3q3mADYV0U0yPZbdRDquxzEnH8ENUBnDa dklnGK2NbPdNy0jSgsbZiPazWZmJazPM3w3UtCgdwYRQqQXVSd6uKEOqfnM1xCsqtKcs zI2p6tdzRxdwDojyCOIVXl2gQE3CqNG1FmTqrMsFxP2R8Sh5mR9IpeuP2z4VCOWQ3ztj EINZslBrn1SgsNmrNiDwZTyCqjHReZ/I4GVINJHxgbr+Ny+3cu2KkHfRH9KvzmkwqEFM 4GnQ== MIME-Version: 1.0 X-Received: by 10.52.171.68 with SMTP id as4mr2115741vdc.0.1393359223877; Tue, 25 Feb 2014 12:13:43 -0800 (PST) Received: by 10.58.97.225 with HTTP; Tue, 25 Feb 2014 12:13:43 -0800 (PST) In-Reply-To: References: Date: Tue, 25 Feb 2014 21:13:43 +0100 Message-ID: Subject: Re: Determine if two ZFS snapshots on different machines are identical From: Johan Hendriks To: Jean-Philippe Provost Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 20:13:45 -0000 Op dinsdag 25 februari 2014 heeft Jean-Philippe Provost < jp.provost@soccer-beauport.qc.ca> het volgende geschreven: > Sorry, I'm new to FreeBSD but what is a "snapshot" ? > > -- > [image: Logo ASB] > > > *Jean-Philippe Provost*Coordonnateur > Directeur de l'arbitrage > Association de soccer de Beauport > *jp.provost@soccer-beauport.qc.ca* > > > *Bureau: 418.821.8096 [Heures d'ouverture: Lundi-Mercredi > 14h-20h]Cellulaire: 418.254.2877* > > > 2014-02-25 14:36 GMT-05:00 Johan Hendriks > >: > >> Op dinsdag 25 februari 2014 heeft Chris Stankevitz < >> chrisstankevitz@gmail.com> >> het volgende geschreven: >> >> > Hello, >> > >> > Is there a way to test whether or not two snapshots on different >> > machines are identical? For example, git uses a single hash to >> > represent the state of the entire tree at any point in time. You can >> > compare the commit has on two independent machines to determine if the >> > contents of the repository are identical. >> > >> > Thank you! >> > >> > CHris >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to " >> > freebsd-questions-unsubscribe@freebsd.org" >> > >> >> I never used it, but there is zfs diff. >> # zfs diff zfsdataset@snapshot1 zfsdataset@snapshot2 >> http://docs.oracle.com/cd/E23823_01/html/819-5461/gbciq.html >> Or google for zfs diff to find more info. >> >> Regards >> Johan Hendriks >> _______________________________________________ >> freebsd-questions@freebsd.orgmailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org >> " >> > > @chris Ok sorry i certainly did not try that. So i am sorry but i can not help you with that. @jean philippe A snapshot is like a picture from your filesystem at a certain point of time. You can create multiple pictures and see the changes, and you can also send, clone or return to a given picture. Here are some blogs you can read. They better explain it like I do :D http://breden.org.uk/2008/05/12/home-fileserver-zfs-snapshots/ http://www.googlux.com/zfs-snapshot.html http://zfsblog.com/2013/04/understanding-zfs-disk-usage-snapshots/ Also google for zfs snapshot example it will show you lots of examples.. Regards Johan