<div dir="ltr"><div>Hi,</div><div><br></div><div>I use the QEMU-GlusterFS native integration (no Fuse mount) with the libvirt. </div><div><br></div><div>Now I create a volume issuing : </div><div><br></div><div># qemu-img create gluster://localhost/gv1/test.img 5G</div>
<div><br></div><div>Then using the libvirt I declare the following lines in my domain.xml :</div><div><br></div><div><div> <disk type='network' device='disk'></div><div> <driver name='qemu' cache='none'/></div>
<div> <source protocol='gluster' name='gv1/test.img'></div><div> <host name='127.0.0.1' transport='tcp' /></div><div> </source></div><div> <target dev='vda' bus='virtio'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/></div><div> </disk></div></div><div><br></div><div>It works really well. But the better way, would be to only use the libvirt. </div>
<div><br></div><div><br></div><div>Is it planned to support a native glusterFS pool type ? </div><div>That would be great to be able to define a pool like this:<br></div><div><br></div><div><div><pool type='glusterfs'></div>
<div> <name>myname</name></div><div> <source protocol='gluster' volume='gv0'></div><div> <host name='127.0.0.1'/></div><div> </source></div><div> <target></div>
<div> <permissions></div><div> <mode>0700</mode></div><div> <owner>-1</owner></div><div> <group>-1</group></div><div> </permissions></div><div> </target></div>
<div></pool></div></div><div><br></div><div>And then create new images using vol-create. </div><div><br></div><div><br></div><div><br></div>Regards,<br clear="all"><div><br></div>-- <br>Pierre-Gilles Mialon
</div>