[zfs-discuss] How to calculate space consumption of some snapshots

2010-07-14 Thread Henu
Hello Among all my snapshots, I'm interested about space consumption of some of them. Is it possible to calculate how much space would be freed if I destroy only some of all snapshots? Henrik Heino ___ zfs-discuss mailing list

Re: [zfs-discuss] How to calculate space consumption of some snapshots

2010-07-14 Thread Henu
Among all my snapshots, I'm interested about space consumption of some of them. Is it possible to calculate how much space would be freed if I destroy only some of all snapshots? zfs list -t snapshot that'll show you their sizes as well as other details Vennlige hilsener / Best regards roy

[zfs-discuss] Are recursive snapshot destroy and rename atomic too?

2010-06-11 Thread Henu
In another thread recursive snapshot creation was found atomic so that it is done quickly, and more important, all at once or nothing at all. Do you know if recursive destroying and renaming of snapshots are atomic too? Regards Henrik Heino ___

Re: [zfs-discuss] Are recursive snapshot destroy and rename atomic too?

2010-06-11 Thread Henu
Quoting Darren J Moffat darr...@opensolaris.org: On 11/06/2010 09:47, Henu wrote: In another thread recursive snapshot creation was found atomic so that it is done quickly, and more important, all at once or nothing at all. Do you know if recursive destroying and renaming of snapshots

Re: [zfs-discuss] Are recursive snapshot destroy and rename atomic too?

2010-06-11 Thread Henu
Quoting Darren J Moffat darr...@opensolaris.org: On 11/06/2010 10:59, Henu wrote: Quoting Darren J Moffat darr...@opensolaris.org: On 11/06/2010 09:47, Henu wrote: In another thread recursive snapshot creation was found atomic so that it is done quickly, and more important, all at once

Re: [zfs-discuss] Are recursive snapshot destroy and rename atomic too?

2010-06-11 Thread Henu
Quoting Darren J Moffat darr...@opensolaris.org: On 11/06/2010 11:47, Henu wrote: I'm sorry I keep bothering you, but did you checked what the code says about recursive rename? Is it atomic too? Recursive snapshot rename uses the same style of code as create and destroy so yes. -- Darren

Re: [zfs-discuss] How to get a list of changed files between two snapshots?

2010-02-04 Thread Henu
, Henu henrik.he...@tut.fi wrote: Okay, so first of all, it's true that send is always fast and 100% reliable because it uses blocks to see differences. Good, and thanks for this information. If everything else fails, I can parse the information I want from send stream :) But am I right

Re: [zfs-discuss] How to get a list of changed files between two snapshots?

2010-02-04 Thread Henu
Whoa! That is exactly what I've been looking for. Is there any developement version publicly available for testing? Regards, Henrik Heino Quoting Matthew Ahrens matthew.ahr...@sun.com: This is RFE 6425091 want 'zfs diff' to list files that have changed between snapshots, which covers both

[zfs-discuss] How to get a list of changed files between two snapshots?

2010-02-03 Thread Henu
Hello Is there a possibility to get a list of changed files between two snapshots? Currently I do this manually, using basic file system functions offered by OS. I scan every byte in every file manually and it is of course awfully slow. If I have understood correctly, ZFS could use its

Re: [zfs-discuss] How to get a list of changed files between two snapshots?

2010-02-03 Thread Henu
between snap(n) and snap(n+1). See http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libzfs/common/libzfs_sendrecv.c#1127 for details. Regards, Andrey On Wed, Feb 3, 2010 at 1:04 PM, Henu henrik.he...@tut.fi wrote: Hello Is there a possibility to get a list of changed files