Unix Technical Forum

send/receive statistics

This is a discussion on send/receive statistics within the OpenSolaris ZFS forums, part of the OpenSolaris category; --> Hello all, Any plans (or already have), a send/receive way to get the transfer backup statistics? I mean, the ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenSolaris > OpenSolaris ZFS

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-05-2008, 12:12 PM
Marcelo Leal
 
Posts: n/a
Default send/receive statistics

Hello all,
Any plans (or already have), a send/receive way to get the transfer backup statistics? I mean, the "how much" was transfered, time and/or bytes/sec?
And the last question... i did see in many threads the question about "the consistency between the send/receive through ssh"... but no definitive answers.
So, my last question is: If the transfer is completed (send/receive), i can trust the backup was good. The "receive" returning "0" is definitive?

Thanks.
--
This message posted from opensolaris.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-05-2008, 12:12 PM
Richard Elling
 
Posts: n/a
Default Re: send/receive statistics

Marcelo Leal wrote:
> Hello all,
> Any plans (or already have), a send/receive way to get the transfer backup statistics? I mean, the "how much" was transfered, time and/or bytes/sec?
>


I'm not aware of any plans, you should file an RFE.

> And the last question... i did see in many threads the question about "the consistency between the send/receive through ssh"... but no definitive answers.
>


There is no additional data protection on the stream. The data is verified
by the receive. But if you redirect the stream to a file, for instance, and
then later attempt the receive and encounter checksum errors, then you
might be sad. In other words, the end-to-end verification of send streams
exists, but there is no inherent data protection in the stream. The use of
ssh tends to work well, because secure protocols also check the integrity
of the data flowing between machines and will retry.

> So, my last question is: If the transfer is completed (send/receive), i can trust the backup was good. The "receive" returning "0" is definitive?
>


If the receive completes without error, then everything passed the
checksum verification.
-- richard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-05-2008, 12:12 PM
Toby Thain
 
Posts: n/a
Default Re: send/receive statistics


On 4-Sep-08, at 4:52 PM, Richard Elling wrote:

> Marcelo Leal wrote:
>> Hello all,
>> Any plans (or already have), a send/receive way to get the
>> transfer backup statistics? I mean, the "how much" was transfered,
>> time and/or bytes/sec?
>>

>
> I'm not aware of any plans, you should file an RFE.
>
>> And the last question... i did see in many threads the question
>> about "the consistency between the send/receive through ssh"...
>> but no definitive answers.
>>

>
> There is no additional data protection on the stream. The data is
> verified
> by the receive. But if you redirect the stream to a file, for
> instance, and
> then later attempt the receive and encounter checksum errors, then you
> might be sad. In other words, the end-to-end verification of send
> streams
> exists, but there is no inherent data protection in the stream.
> The use of
> ssh tends to work well, because secure protocols also check the
> integrity
> of the data flowing between machines and will retry.


What about the idea mooted recently here of 'zfs send' presenting a
final checksum which could be checked by receiver? (Where destination
is not 'zfs receive'). Worth doing?

--Toby

>
>> So, my last question is: If the transfer is completed (send/
>> receive), i can trust the backup was good. The "receive" returning
>> "0" is definitive?
>>

>
> If the receive completes without error, then everything passed the
> checksum verification.
> -- richard
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/...fo/zfs-discuss

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-05-2008, 12:12 PM
Wade.Stuart@fallon.com
 
Posts: n/a
Default Re: send/receive statistics

zfs-discuss-bounces@opensolaris.org wrote on 09/04/2008 03:40:46 PM:

>
> On 4-Sep-08, at 4:52 PM, Richard Elling wrote:
>
> > Marcelo Leal wrote:
> >> Hello all,
> >> Any plans (or already have), a send/receive way to get the
> >> transfer backup statistics? I mean, the "how much" was transfered,
> >> time and/or bytes/sec?
> >>

> >
> > I'm not aware of any plans, you should file an RFE.
> >
> >> And the last question... i did see in many threads the question
> >> about "the consistency between the send/receive through ssh"...
> >> but no definitive answers.
> >>

> >
> > There is no additional data protection on the stream. The data is
> > verified
> > by the receive. But if you redirect the stream to a file, for
> > instance, and
> > then later attempt the receive and encounter checksum errors, then you
> > might be sad. In other words, the end-to-end verification of send
> > streams
> > exists, but there is no inherent data protection in the stream.
> > The use of
> > ssh tends to work well, because secure protocols also check the
> > integrity
> > of the data flowing between machines and will retry.

>
> What about the idea mooted recently here of 'zfs send' presenting a
> final checksum which could be checked by receiver? (Where destination
> is not 'zfs receive'). Worth doing?
>
> --Toby


I don't have time to dig in the zfs send/receive code right now but I don't
understand why, if the checksums for the delta blocks exist on the sending
side, the receiving side does not write and verify the checksum matches.
Tossing a error or just plain exit or reverting to the base snapshot of the
receive (based on options) when a block checksum does not match while
receiving? I understand send and receive were created to be pipeable --
but why should that exclude error handling?

-Wade

>
> >
> >> So, my last question is: If the transfer is completed (send/
> >> receive), i can trust the backup was good. The "receive" returning
> >> "0" is definitive?
> >>

> >
> > If the receive completes without error, then everything passed the
> > checksum verification.
> > -- richard
> >
> > _______________________________________________
> > zfs-discuss mailing list
> > zfs-discuss@opensolaris.org
> > http://mail.opensolaris.org/mailman/...fo/zfs-discuss

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-05-2008, 12:49 PM
Marcelo Leal
 
Posts: n/a
Default Re: send/receive statistics

Thanks a lot for the answers!
Relling did say something about checksum, i did ask to him about a more "detailed" explanation about it. Because i did not understand "what" checksum the receive part has to check, as the send can be redirected to a file on a disc or tape...
In the end, i think if we can import (receive) the snapshot, and that procedure ends fine, we are in good shape.
Leal.
--
This message posted from opensolaris.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads for: send/receive statistics

Thread Thread Starter Forum Replies Last Post
Re: send/receive Michael Schuster OpenSolaris ZFS 10 07-28-2008 06:47 PM
send/receive Justin Vassallo OpenSolaris ZFS 0 07-28-2008 06:47 PM
ZFS send/receive VS. scp Jason J. W. Williams OpenSolaris ZFS 2 06-29-2008 04:51 PM
Re: ZFS send & Receive Tim Foster OpenSolaris Help 0 06-29-2008 03:26 PM
Send and receive Msg from AQ in .Net App Frank Jelinek Oracle Miscellaneous 0 04-07-2008 11:03 AM


All times are GMT. The time now is 03:59 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com