Libvirt and Glusterfs pool

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

 



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
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux