zstreamdump [PSARC/2009/491 Self Review]

2009-09-16 Thread Darren J Moffat
I know this case was Self Review and I agree with it being self review. It is after all a debugging tool. As a ZFS developer I've been using this tool already and it has been a huge help to me debugging problems with ZFS Crypto and send|recv. I see very little use for it by normal admins and

zstreamdump [PSARC/2009/491 Self Review]

2009-09-16 Thread Joerg Schilling
Nicolas Williams wrote: > > It'd be nice if zfs recv could do this too, no? Alternatively, it'd be > nice if there was a way to slot zstreamdump into a zfs send | ... | zfs > recv pipe. E.g., an option to zstreamdump to send its output to a file > or to stderr, passing the stream through to std

zstreamdump [PSARC/2009/491 Self Review]

2009-09-16 Thread Darren J Moffat
Joerg Schilling wrote: > Nicolas Williams wrote: > >> It'd be nice if zfs recv could do this too, no? Alternatively, it'd be >> nice if there was a way to slot zstreamdump into a zfs send | ... | zfs >> recv pipe. E.g., an option to zstreamdump to send its output to a file >> or to stderr, pass

zstreamdump [PSARC/2009/491 Self Review]

2009-09-16 Thread Lori Alt
On 09/15/09 18:08, Nicolas Williams wrote: > On Tue, Sep 15, 2009 at 06:06:13PM -0600, Tim Haley wrote: > >> NAME >> zstreamdump - dump the metadata in a ZFS send stream >> >> SYNOPSIS >> zstreamdump [-vC] >> >> DESCRIPTION >> The zstreamdump command reads a ZFS send stream from stdi

zstreamdump [PSARC/2009/491 Self Review]

2009-09-16 Thread Richard L. Hamilton
On the existing zfs man page, I see the text: > The format of the stream is evolving. No backwards compati- > bility is guaranteed. You may not be able to receive your > streams on future versions of ZFS. But I see no similar warning for zstreamdump, nor an explanation as to why that warning do

zstreamdump [PSARC/2009/491 Self Review]

2009-09-15 Thread Nicolas Williams
On Tue, Sep 15, 2009 at 06:06:13PM -0600, Tim Haley wrote: > NAME > zstreamdump - dump the metadata in a ZFS send stream > > SYNOPSIS > zstreamdump [-vC] > > DESCRIPTION > The zstreamdump command reads a ZFS send stream from stdin and > prints out selected fields from the metadata

zstreamdump [PSARC/2009/491 Self Review]

2009-09-15 Thread Tim Haley
I am sponsoring the following case for Lori Alt. Requested binding is micro/patch. The case introduces a new command, zstreamdump, which is used to dump the metadata in a zfs send stream (i.e., the output of a 'zfs send' command). It will also verify the checksums in the send stream. Given the