Ross wrote:
> Hey Richard,
>
> I've just seen that somebody else has been caught out by this.  Do you think 
> it would be worth adding an RFE to add 'send to file' support to ZFS send?
>   

No.  Pipes are a foundation of UNIX and are much more flexible
than a fixed file interface (as shown below... :-)

> I'll be using data piped to file myself, and while I'm not worried about 
> corruption myself, if ZFS send knows it's sending to a file, it could check 
> the integrity of the file once the operation completes, which would probably 
> have helped these guys.  
>   

I filed CR 6736837, improve send/receive fault tolerance, which
keeps the pipe structure intact.  Feel free to pile on.
http://bugs.opensolaris.org/view_bug.do?bug_id=6736837

> It might also be useful to output a text file containing the checksum so the 
> integrity of the file can be verified at a later date.
>   

If you redirect to a file, you can use existing checksum commands.
You could even check that against what flows out of the send.
    zfs send | tee filename | digest -a md5 > filename.md5

 -- richard

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

Reply via email to