openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #13018
Re: ZFS/ZVol + iscsi for volume
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@xxxxxxxxxxxx** | +34 649 94 43 29 |
skype:diegoparrilla*
* <http://www.stackops.com/>
*
*
On Sun, Jun 10, 2012 at 8:07 PM, Nicolas de BONFILS <
openstack@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxx** | +34 649 94 43 29 |
> skype:diegoparrilla*
> * <http://www.stackops.com/>
>
> **
>
>
>
>
References