[Openstack] ZFS/ZVol + iscsi for volume

Diego Parrilla SantamarĂ­a diego.parrilla.santamaria at gmail.com
Sun Jun 10 21:08:49 UTC 2012


Hi Nicolas,

have you seen this?
https://github.com/StackOps/nova/blob/master/nova/volume/san.py

It has a Solaris implementation that works on top ZFS. And it works. We
modified it work with Nexenta in Diablo:
https://github.com/StackOps/nova/blob/stable/diablo/nova/volume/san.py

Cheers
Diego
 --
Diego Parrilla
<http://www.stackops.com/>*CEO*
*www.stackops.com | * diego.parrilla at stackops.com** | +34 649 94 43 29 |
skype:diegoparrilla*
* <http://www.stackops.com/>
*

*




On Sun, Jun 10, 2012 at 8:07 PM, Nicolas de BONFILS <
openstack at nicolas2bonfils.com> wrote:

> **
>
> Hi Diego,
>
> Thanks for your ideas about vm storage.
> In my proposal/question, I got in mind (for now) volume more than vm
> storage (with the zfs property allowing nfs sharing, I believe that vm
> storage can already be done with zfs backend).
>
> --- Nicolas
>
> On 2012-06-10 17:58, Diego Parrilla SantamarĂ­a wrote:
>
> Nicolas,
> it makes a lot of sense what you want to do. ZFS+iSCSI is a perfect fit
> for vm storage, some other IaaS solutions already use this combination (and
> I have developed some). Keep in mind that Nexenta is only a distro based
> upon OpenSolaris: OpenIndiana, FreeBSD... there are a lot of options with
> ZFS.
> There are several things you should consider to implement this feature:
> 1) The code that matters is mostly in nova/virt/libvirt/connection.py for
> libvirt
> 2) You need to implement a new storage type: iscsi (
> http://libvirt.org/storage.html#StorageBackendISCSI)
> 3) You need to implement a feature to block-copy the source image to the
> backend iscsi storage
> 4) _cache_image method and most of _create_image should be developed
> thinking in 3)
> I think the only reason to implement this feature is to develop a highly
> scalable storage system for instances, so a single storage system does not
> make sense. It should be able to manage a list storage systems as a pool
> and load balance them.
> Some quick thoughts, good luck!
> Diego
>
>  --
>  Diego Parrilla
> *CEO*
> *www.stackops.com | * diego.parrilla at stackops.com** | +34 649 94 43 29 |
> skype:diegoparrilla*
> * <http://www.stackops.com/>
>
> **
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120610/0d07f728/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blocked.gif
Type: image/gif
Size: 118 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120610/0d07f728/attachment.gif>


More information about the Openstack mailing list