2011-06-09 18:52, Paul Kraus пишет:
On Thu, Jun 9, 2011 at 8:59 AM, Jonathan Walker<kall...@gmail.com>  wrote:

New to ZFS, I made a critical error when migrating data and
configuring zpools according to needs - I stored a snapshot stream to
a file using "zfs send -R [filesystem]@[snapshot]>[stream_file]".
     Why is this a critical error, I thought you were supposed to be
able to save the output from zfs send to a file (just as with tar or
ufsdump you can save the output to a file or a stream) ?
     Was the cause of the checksum mismatch just that the stream data
was stored as a file ? That does not seem right to me.

As recently mentioned on the list (regarding tape backups, I believe)
the zfs send stream format was not intended for long-term storage.
If some bits in the saved file flipped, the stream becomes invalid
regarding checksums and has to be resent. Besides, the format
is not public and subject to change, I think. So future compatibility
is not guaranteed.

Having said that, I have used dumping "zfs send" to files, rsyncing
them over a slow connection, and zfs recv'ing them on a another
machine - so this is known to work. However if it were to fail,
I could retry (and/or use rsync to correct some misreceived
blocks if network was faulty).




--


+============================================================+
|                                                            |
| Климов Евгений,                                 Jim Klimov |
| технический директор                                   CTO |
| ЗАО "ЦОС и ВТ"                                  JSC COS&HT |
|                                                            |
| +7-903-7705859 (cellular)          mailto:jimkli...@cos.ru |
|                          CC:ad...@cos.ru,jimkli...@mail.ru |
+============================================================+
| ()  ascii ribbon campaign - against html mail              |
| /\                        - against microsoft attachments  |
+============================================================+



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

Reply via email to