You are not logged in.

#1 2016-02-10 15:46:31

budric
Member
Registered: 2016-01-14
Posts: 11

Libvirt, QEMU and supported block devices (GlusterFS, RDB, etc)

Hi,

I'd like to try out using GlusterFS to store my virtual images, and I'd like QEMU to use the block device directly instead of through FUSE mount, or netfs (NFS, Samba).  My question isn't really gluster specific, but any QEMU block device backend support like gluster, RDB or iSCSI. 

I installed extra/qemu-block-gluster 2.4.1-2 package which is described as "QEMU GlusterFS block module", defined the storage pool using XML:

<pool type='gluster'>
        <name>glusterfs-pool</name>
        <source>
                <host name='192.168.10.116'/>
                <dir path='/'/>
                <name>gv-qemu</name>
        </source>
</pool>

I get this error trying to define the storage pool

# virsh pool-define gluster-pool.xml
error: Failed to define pool from gluster-pool.xml
error: internal error: missing backend for pool type 10 (gluster)

I'm confused.  Has anyone got something like this to work?  Also:
- what is qemu-block-gluster package is for?
- how do I get qemu to load and use that module from the package?  Or do I need to recompile qemu entirely with support for that block device?
- the error is related to qemu, right?  Not libvirt?  Or is it libvirt that doesn't understand gluster block devices?

Last edited by budric (2016-02-10 15:55:43)

Offline

#2 2016-07-27 20:21:10

normaldotcom
Member
Registered: 2012-09-18
Posts: 6

Re: Libvirt, QEMU and supported block devices (GlusterFS, RDB, etc)

I'm encountering this same issue... did you ever come up with a solution?

Thanks!

Offline

Board footer

Powered by FluxBB