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] 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 zfs-discuss@opensol

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

2010-06-11 Thread Henu
Quoting Darren J Moffat : 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 J Moffat Okay,

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

2010-06-11 Thread Henu
Quoting Darren J Moffat : On 11/06/2010 10:59, Henu wrote: Quoting Darren J Moffat : 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

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

2010-06-11 Thread Henu
Quoting Darren J Moffat : 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 are atomic too? I don&#

[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 ___ zfs-

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 : This is RFE 6425091 "want 'zfs diff' to list files that have changed between snapshots", which covers both file & directory chang

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

2010-02-04 Thread Henu
So do you mean I cannot gather the names and locations of changed/created/removed files just by analyzing a stream of (incremental) zfs_send? Quoting Andrey Kuzmin : On Wed, Feb 3, 2010 at 6:11 PM, Ross Walker wrote: On Feb 3, 2010, at 9:53 AM, Henu wrote: Okay, so first of all, it&#

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

2010-02-03 Thread Henu
nap(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 wrote: Hello Is there a possibility to get a list of changed files between two snapshots? Currently I do

[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 ow