How can you tell if two ZFS snapshots are identical or simply named the same?
Say I have two computers named
host-b. Also assume that
host-a has a ZFS dataset named
On host-a, I could:
zfs snapshot tank/mydataset@mysnapshot' and then I could 'zfs send tank/mydataset@mysnapshot | ssh host-b zfs receive tank/mydataset
This would mean
@mysnapshot would be identical on both
On the other hand, on
host-a I could:
zfs snapshot tank/mydataset@mysnapshot followed by
ssh host-b zfs snapshot tank/mydataset@mysnapshot.
In this second case, the two snapshots are identically named, but the dataset may be wildly different.
Looking at the properties of
tank/mydataset@mysnapshot doesn't list any apparent way of identifying if the snapshots are identical--i.e. a GUID or hash.
Other than trying to take another snapshot of
tank/mydataset@mysnapshot2 and trying to send to
zfs send -i @mysnapshot tank/mydataset@mysnapshot2 | ssh host-b zfs receive tank/mydataset is there a way of determining that the snapshots are identical not only in name, but blocks?