gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] [libvirt-users] Libvirt and Glusterfs pool


From: Vijay Bellur
Subject: Re: [Gluster-devel] [libvirt-users] Libvirt and Glusterfs pool
Date: Sun, 28 Jul 2013 20:03:35 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

Cc'ing gluster-devel to check if anybody can pick this up.

Thanks,
Vijay

On 07/24/2013 06:17 PM, Pierre-Gilles Mialon wrote:
Hi,

I use the QEMU-GlusterFS native integration (no Fuse mount) with the
libvirt.

Now I create a volume issuing :

# qemu-img create gluster://localhost/gv1/test.img 5G

Then using the libvirt I declare the following lines in my domain.xml :

     <disk type='network' device='disk'>
       <driver name='qemu' cache='none'/>
       <source protocol='gluster' name='gv1/test.img'>
         <host name='127.0.0.1' transport='tcp' />
       </source>
       <target dev='vda' bus='virtio'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
     </disk>

It works really well. But the better way, would be to only use the libvirt.


Is it planned to support a native glusterFS pool type ?
That would be great to be able to define a pool like this:

<pool type='glusterfs'>
   <name>myname</name>
   <source protocol='gluster' volume='gv0'>
     <host name='127.0.0.1'/>
   </source>
   <target>
     <permissions>
       <mode>0700</mode>
       <owner>-1</owner>
       <group>-1</group>
     </permissions>
   </target>
</pool>

And then create new images using vol-create.



Regards,

--
Pierre-Gilles Mialon


_______________________________________________
libvirt-users mailing list
address@hidden
https://www.redhat.com/mailman/listinfo/libvirt-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]