Mike

---
Michael Sullivan
michael.p.sulli...@me.com
http://www.kamiogi.net/
Japan Mobile: +81-80-3202-2599
US Phone: +1-561-283-2034

On 24 Jun 2009, at 01:01 , Harry Putnam wrote:

Darren J Moffat <darr...@opensolaris.org> writes:

Harry Putnam wrote:
I thought I recalled reading somewhere that in the situation where you have several zfs filesystems under one top level directory like this:
rpool
rpool/ROOT/osol-112
rpool/export
rpool/export/home
rpool/export/home/reader

you could do a shapshot encompassing everything below zpool instead of
having to do it at each level.  (Maybe it was in a dream...)

zfs snapshot -r rp...@mysnapshotnamegoeshere

Well no,  I posted the question because that doesn't do it.

zfs list -r rpool

 [...]
 rpool/dump                1.50G   292G  1.50G  -
 rpool/export              15.9G   292G    21K  /export
 rpool/export/home         15.9G   292G    22K  /export/home
 rpool/export/home/reader  15.9G   292G  11.5G  /export/home/reader
 [...]

# zfs snapshot -r rp...@somedate
# zfs snapthot rpool/someotherdate

cd /rpool/.zfs/snapshot
 diff -r somedate someotherdate

No difference, and there is no
           rpool/dump
           rpool/export
           rpool/export/home
           rpool/export/home/reader

under either snapshot... not to mention all the other stuff shown with
 zfs list -r rpool
that I snipped.


Try:

zfs list -t all
or
zfs list -t snapshot

You could also set the property for snapshots to be listed in zfs list. The default is off.

zpool set listsnaps=on rpool

Cheers,

Mike

---
Michael Sullivan
michael.p.sulli...@me.com
http://www.kamiogi.net/
Japan Mobile: +81-80-3202-2599
US Phone: +1-561-283-2034


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

Reply via email to