Kjetil Torgrim Homme wrote:
Daniel Carosone <d...@geek.com.au> writes:
Would there be a way to avoid taking snapshots if they're going to be
zero-sized?
I don't think it is easy to do, the txg counter is on a pool level,
AFAIK:
# zdb -u spool
Uberblock
magic = 0000000000bab10c
version = 13
txg = 1773324
guid_sum = 16611641539891595281
timestamp = 1258992244 UTC = Mon Nov 23 17:04:04 2009
it would help when the entire pool is idle, though.
(posted here, rather than in response to the mailing list reference
given, because I'm not subscribed [...]
ditto.
I think I can see from this which filesystems have and have not changed
since the last snapshot (@20091122 in this case)...
a20$ zfs list -t snapshot | grep 20091122
export/d...@20091122 499K - 227G -
export/h...@20091122 144K - 15.6G -
export/mu...@20091122 0 - 66.5G -
export/virtual...@20091122 0 - 484K -
export/virtualbox/os0...@20091122 0 - 3.52G -
export/virtualbox/x...@20091122 0 - 12.1G -
export/zo...@20091122 0 - 22.5K -
export/zones/s...@20091122 0 - 5.21G -
a20$
All the ones with USED = 0 haven't changed. Don't know if this info is
available without spinning up disks though.
--
Andrew Gabriel
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss