Determine if two ZFS snapshots on different machines are identical

Johan Hendriks joh.hendriks at gmail.com
Tue Feb 25 20:13:45 UTC 2014


Op dinsdag 25 februari 2014 heeft Jean-Philippe Provost <
jp.provost at soccer-beauport.qc.ca> het volgende geschreven:

> Sorry, I'm new to FreeBSD but what is a "snapshot" ?
>
> --
>  [image: Logo ASB]<javascript:_e(%7B%7D,'cvml','jp.provost at soccer-beauport.qc.ca');>
>
>
> *Jean-Philippe Provost*Coordonnateur
> Directeur de l'arbitrage
> Association de soccer de Beauport
> *jp.provost at soccer-beauport.qc.ca*<javascript:_e(%7B%7D,'cvml','jp.provost at 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 <joh.hendriks at gmail.com<javascript:_e(%7B%7D,'cvml','joh.hendriks at gmail.com');>
> >:
>
>> Op dinsdag 25 februari 2014 heeft Chris Stankevitz <
>> chrisstankevitz at gmail.com<javascript:_e(%7B%7D,'cvml','chrisstankevitz at 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 at freebsd.org<javascript:_e(%7B%7D,'cvml','freebsd-questions at freebsd.org');><javascript:;> mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> > To unsubscribe, send any mail to "
>> > freebsd-questions-unsubscribe at freebsd.org<javascript:_e(%7B%7D,'cvml','freebsd-questions-unsubscribe at freebsd.org');><javascript:;>"
>> >
>>
>> I never  used it, but there is zfs diff.
>> # zfs diff zfsdataset at snapshot1 zfsdataset at 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 at freebsd.org<javascript:_e(%7B%7D,'cvml','freebsd-questions at freebsd.org');>mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe at freebsd.org<javascript:_e(%7B%7D,'cvml','freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list