Hello Matthew,

Friday, June 9, 2006, 1:16:41 AM, you wrote:

MA> On Thu, Jun 08, 2006 at 03:43:08PM -0700, Robert Milkowski wrote:
>> According to zfs(1M)
>> 
>> "         -v       Print verbose information about the stream  and
>>                   the time required to perform the receive.
>> "
>> 
>> However when using -v option I only get:
>> 
>> receiving full stream of p6/[EMAIL PROTECTED] into nfs-s5-s8/[EMAIL 
>> PROTECTED]

MA> If you are not getting a report of the time taken, that is a bug.
MA> It works for me:

MA>         # zfs send foo/[EMAIL PROTECTED] | zfs recv -v foo/[EMAIL PROTECTED]
MA>         receiving full stream of foo/[EMAIL PROTECTED] into foo/[EMAIL 
PROTECTED]
MA>         received 10.0Mb stream in 2 seconds (5.02Mb/sec)
MA>         #

MA> Note that the report of time taken is printed after the stream has been
MA> successfully received.

Well, I get it after receive is completed.
However man page says that time required to receive will be printed -
which imho is different than a summary.

btw: it would be useful if in a verbose mode an estimated time to
finish would be printed/updated and then after it actually finished a
summary would be printed (like it is now).


MA> You can see the code which calculates this in libzfs_dataset.c, at the
MA> very end of zfs_receive(), under "if (verbose)".

Must have overlooked it - as I assumed ETA being printed while receive
is in progress.

Anyway - thanks for pointing this.


-- 
Best regards,
 Robert                            mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to