[OmniOS-discuss] is there workaround for zfs diff?

Eric Sproul esproul at omniti.com
Thu Nov 15 17:28:43 EST 2012


On Thu, Nov 15, 2012 at 4:36 PM, sergey ivanov <sergey57 at gmail.com> wrote:
> Hi,
> I have hit the bug in zfs diff implementation. Had fileserver rebooted
> couple times today. It looks similar to illumos bug 3320
> (https://www.illumos.org/issues/3320).
> Is there a different way to see if snapshots are equal? It looks like 'zfs
> get used <snapshotname> is difficult to decrypt to understand what changes
> are using this space.

Hi Sergey,
I think the only other way would be a recursive diff using the hidden
snapdir, e.g.:

diff -ur /foo/.zfs/snapshot/mysnap1/ /foo/.zfs/snapshot/mysnap2/

Effectively just using those separate views and treating them as any
other regular directories.

HTH,
Eric


More information about the OmniOS-discuss mailing list