zfs send/recv into the cloud?

  1 post   Feedicon  
Replies: 0 - Last Post: June 10, 2009 08:12
by: Tim Foster
showing 1 - 1 of 1
 
Posted: June 10, 2009 08:12 by Tim Foster
Hi there,

I had been looking at the Storage API and notice there's no ability to send/recv ZFS datasets: we can take and delete snapshots[1], but without a way to zfs send/recv data, it's a bit less useful.

Glen Brunette has an extension to the ZFS auto-snapshot code that saves send streams as flat-files to S3 storage, but the weakness here, is that you only get to see flat-files on the remote end and so can't see your content unless you recv it locally: is there any chance of adding this support?

I'm not quite sure how it'd fit in with the API, a slightly kludgy approach would be to do the upload in two stages:

  • upload the zfs-send-stream flat file into a dataset on the cloud
  • invoke an API call to recv that flat file into a different dataset

The problem with using flat files at all though, is that you need as much local storage as you're looking to send in order to save the file prior to uploading it to the cloud. Being able to stream directly would be much more convenient.

Commentary at:

http://blogs.sun.com/timf/entry/automatic_snapshots_into_the_cloud

cheers
tim

[1] http://kenai.com/projects/suncloudapis/pages/CloudAPISnapshotRequests
Replies: 0 - Last Post: June 10, 2009 08:12
by: Tim Foster
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close