>> 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) ?
Well yes, you can save the stream to a file, but it is intended for immediate use with "zfs receive". Since the stream is not an image but instead a serialization of objects, normal data recovery methods do not apply in the event of corruption. >> When I attempted to receive the stream onto to the newly configured >> pool, I ended up with a checksum mismatch and thought I had lost my >> data. > > Was the cause of the checksum mismatch just that the stream data >was stored as a file ? That does not seem right to me. I really can't say for sure what caused the corruption, but I think it may have been related to a dying power supply. For more information, check out: http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide#Storing_ZFS_Snapshot_Streams_.28zfs_send.2Freceive.29 _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss