[Openstack] [nova-volumes] relationship between nova-volumes and swift?

Hua ZZ Zhang zhuadl at cn.ibm.com
Sat Apr 28 09:52:35 UTC 2012


+me :-)

   Swift is much like Amazon S3(Simple Storage Service), and Nova-volume is
   much like Amazon EBS (Elastic Block Store).
   Swift is used as object store of VM images in OpenStack. but Nova-volume
   is used to store persistent data of VM instances which means even the
   instance was destroyed, the volume data will still be available for
   user. for example, it can be attached to another instance instead.
   Swift data model is a kind of Container/Object and providing unlimited
   number of objects, but Nova-volume is block device (much like a hard
   drive).
   The interesting thing is that Amazon ESB could provide snapshots of
   volumes which can be persisted to Amazon S3. So the same snopshot can
   spawn as many volumes as you want.

Best Regards,

                                                                             
 Edward Zhang(张华)                    地址:北京市海淀区东北旺西路8号 中关村 
 Staff Software Engineer               软件园28号楼 环宇大厦3层 邮编:100193 
 Travel&Transportation Standards       Address: 3F Ring, Building 28         
 Emerging Technology Institute(ETI)    Zhongguancun Software Park, 8         
 IBM China Software Development Lab    Dongbeiwang West Road, Haidian        
 e-mail: zhuadl at cn.ibm.com             District, Beijing, P.R.C.100193       
 Notes ID: Hua ZZ Zhang/China/IBM                                            
 Tel: 86-10-82450483                                                         
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             
                                                                             





                                                                           
             Oleg Gelbukh                                                  
             <ogelbukh at miranti                                             
             s.com>                                                     To 
             Sent by:                  Eric Luo <nextfool at gmail.com>       
             openstack-bounces                                          cc 
             +zhuadl=cn.ibm.co         openstack at lists.launchpad.net       
             m at lists.launchpad                                     Subject 
             .net                      Re: [Openstack] [nova-volumes]      
                                       relationship between nova-volumes   
                                       and swift?                          
             2012-04-28 15:47                                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hello, Eric

Swift is actually an object store rather then volume store. It is used for
storing any types of objects as files in underlying file system. This files
can be anything, including binary images of block volumes. HTTP is used for
transporting objects to and from the store.
Nova-volume service is totally different. It allows to attach virtual block
devices to VMs by providing correct parameters for nova-compute's
'attach_volume' method. It has a number of drivers that can manage
different storage back-ends (Linux LVs, SAN virtual disks, distributed
storage systems), but all these back-ends must be able to provide a virtual
block device to VMs, which Swift is not capable of.
Primary integration point between Swift and nova-volume is a way to store
snapshots of virtual volumes to Swift store as files:
https://blueprints.launchpad.net/nova/+spec/store-snapshots-to-swift.
Status of work on this blueprint is unknown to me.

--
Best regards,
Oleg

On Sat, Apr 28, 2012 at 10:15 AM, Eric Luo <nextfool at gmail.com> wrote:
  Hello ,all
  I am a little confused about the nova-volumes service and the swift.I
  know both are about the volume store,but
  what's the relationship between them ?Can some one please explain it to
  me please :)
  Thanks!

  Eric Luo
  2012-04-28



  _______________________________________________
  Mailing list: https://launchpad.net/~openstack
  Post to     : openstack at lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120428/9bd27c0a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3F187523.gif
Type: image/gif
Size: 1279 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120428/9bd27c0a/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120428/9bd27c0a/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120428/9bd27c0a/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic00879.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120428/9bd27c0a/attachment-0003.gif>


More information about the Openstack mailing list