zfs list | grep '@'  

zpool/f...@1154758                            324G      -   461G  -
zpool/f...@1208482                           6.94G      -   338G  -
zpool/f...@daily.netbackup                   1.07G      -   344G  -
zpool/f...@1154758                        1.77G      -   242G  -
zpool/f...@1208482                        2.26G      -   261G  -
zpool/f...@daily.netbackup                 323M      -   266G  -

First column there shows the size of the snapshot (e.g. how much has changed).


-----Original Message-----
From: zfs-discuss-boun...@opensolaris.org 
[mailto:zfs-discuss-boun...@opensolaris.org] On Behalf Of Harry Putnam
Sent: Monday, March 22, 2010 2:23 PM
To: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] snapshots as versioning tool

Matt Cowger <mcow...@salesforce.com> writes:

> This is totally doable, and a reasonable use of zfs snapshots - we
> do some similar things.

Good, thanks for the input.

> You can easily determine if the snapshot has changed by checking the
> output of zfs list for the snapshot.

Do you mean to just grep it out of the output of 

  zfs list -t snapshot

Or is there some finer grained way to get it?

  (I mean barring feeding the exact snapshot name to
  zfs list [ which would mean finding the name first, of course] )

Here, it appears adding anything more to that command line causes it to
fail.

   zfs list -t  snapshot z3/projects
   cannot open 'z3/projects': operation not applicable to 
   datasets of this type 

An example command line from your usage might be handy.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to