Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread Vladimir Marek
Hi, I'm wondering, will zfs diff work between two zfs pools? I want to know if the current snapshot of my data differs from the snapshot I created by zfs send | zfs receive while ago (on the same machine, just different pool), so that I should refresh my backup. Does 'zfs diff' read all the

Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread Glenn Brunette
Dan, I have to +1 all of your well-thought-out comments. As a potential consuming of this functionality for the Immutable Service Container project, answers to these questions are critical. I am also interested in whether additional fields can be added to the output similar to a -o

Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread Dan Price
On Tue 30 Mar 2010 at 07:21AM, Tim Haley wrote: On 3/30/10 5:35 AM, Vladimir Marek wrote: Hi, I'm wondering, will zfs diff work between two zfs pools? No. Only between snapshots within the same dataset within the same pool. Only within the same dataset? What about a snapshot of a

Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread Nicolas Williams
On Tue, Mar 30, 2010 at 12:42:00PM -0600, Tim Haley wrote: On 03/30/10 12:29 PM, Dan Price wrote: The example was slightly messed up, sorry; that caused misunderstanding. I'm worried about this situation: snaps...@1 mv /myfiles/name1 /myfiles/name2 mkdir

Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread Tim Haley
On 3/29/10 10:54 PM, Dan Price wrote: On Mon 29 Mar 2010 at 11:14AM, Bart Smaalders wrote: On 03/29/10 11:01, Matthew Ahrens wrote: How do commands like ls and find handle printing of filenames with arbitrary characters (newlines and such)? In general, badly. Tim,

Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread Nicolas Williams
On Tue, Mar 30, 2010 at 02:04:39PM -0600, Tim Haley wrote: It would be easy enough for me to print a 'time' column as the first column, and the output could then be sent to 'sort -n'. I'm not sure how people feel about that. Is that cheating? :-) The alternative is to AVL sort by that

Re: zfs diff [PSARC/2010/105 FastTrack timeout 04/05/2010]

2010-03-30 Thread John Plocher
On Tue, Mar 30, 2010 at 1:36 PM, Nicolas Williams nicolas.willi...@sun.com wrote: On Tue, Mar 30, 2010 at 02:04:39PM -0600, Tim Haley wrote: It would be easy enough for me to print a 'time' column as the first This is getting pretty close to design by ARC rather than review by ARC; it might