<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 03/28/2014 07:26 PM, SATHEESARAN
      wrote:<br>
    </div>
    <blockquote cite="mid:53357F8E.90502@redhat.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 03/28/2014 05:37 PM, Dave
        Christianson wrote:<br>
      </div>
      <blockquote
cite="mid:CA+4=be5Q6G-1NXkn4-V=9kGNAFsbp+XBBEk9x9WEUcD4cyGCQQ@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div>
              <div>I've come across individual posts from people who
                supposedly have done this in CentOS6.5. Basically, all
                that is shown in the posts is the XML file generated, no
                mention of *how* that file is generated. Virt-manager
                has no provision for attaching directly to the gluster
                volume except as a mount. Neither virt-manager nor
                virt-install recognize the gluster:// type.<br>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      Yes, even I was frustrated at this. There seems no way to utilize
      the image file using libgfapi.<br>
      As Harsha mentioned in his earlier thread, libvirt is yet to
      expose this.<br>
      I have already raised a bug regarding this, <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
        href="https://bugzilla.redhat.com/show_bug.cgi?id=1017308">https://bugzilla.redhat.com/show_bug.cgi?id=1017308</a><br>
      <blockquote
cite="mid:CA+4=be5Q6G-1NXkn4-V=9kGNAFsbp+XBBEk9x9WEUcD4cyGCQQ@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div>Supposedly earlier versions of RHEL used qemu-kvm as a
              wrapper for qemu-system-x86_64, however in 6.5 qemu-kvm is
              its own binary. Qemu-kvm also doesn't recognize the
              gluster:// type.<br>
            </div>
          </div>
        </div>
      </blockquote>
      With RHEL 6.5 / Centos 6.5 you can use, "/usr/libexec/qemu-kvm"<br>
      This was the command that I used to make use of VM Images using
      libgfapi in RHEL 6.5 <br>
      &gt;&gt; /usr/libexec/qemu-kvm&nbsp; -drive
      file=gluster://10.70.37.87/testvol/test.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads

      -device
virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=0<br>
      <br>
      The above worked for me.<br>
      If I am not wrong, the libvirt in RHEL 7 supports glusterfs's
      libgfapi way of access mechanism.<br>
    </blockquote>
    <br>
    Sas,<br>
    <br>
    What about Fedora 20? Fedora 20 should have all the latest RPMs , so
    it should&nbsp; have required patches in libvirt too.<br>
    <br>
    -Lala<br>
    <blockquote cite="mid:53357F8E.90502@redhat.com" type="cite"> <br>
      <br>
      <blockquote
cite="mid:CA+4=be5Q6G-1NXkn4-V=9kGNAFsbp+XBBEk9x9WEUcD4cyGCQQ@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div><br>
            </div>
            Debian and Ubuntu supposedly have the newer versions of
            gluster and qemu/libvirt availabe (ppa's?). Maybe I'll test
            Wheezy...<br>
            <br>
          </div>
          Red Hat seems content to do their own thing. Although the
          verisons of libvirt and qemu are older, libgfapi is supposed
          to have been backported. It's a shame that full functionality
          is not included. It's mindboggling seeing that Red Hat owns
          glusterfs, you would think full support for the backend would
          have been included in their product. If it is, as you say,
          that RH includes this functionality only to RHN subscribers
          and is not made available downstream to CentOS/SL, and unless
          I can find a repository with the latest full versions of qemu
          &amp; libvirt, then CentOS simply will not work.<br>
          <div>
            <div>
              <div>
                <div>
                  <div class="gmail_extra"><br>
                    <br>
                    <div class="gmail_quote">On Fri, Mar 28, 2014 at
                      3:13 AM, Harshavardhana <span dir="ltr">&lt;<a
                          moz-do-not-send="true"
                          href="mailto:harsha@harshavardhana.net"
                          target="_blank">harsha@harshavardhana.net</a>&gt;</span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">Virt-manager / libvirt
                        is yet to expose perhaps this functionality -<br>
                        but as far as i remember libvirt should be doing
                        this as a<br>
                        pass-through for the URL's which have been
                        passed &nbsp;as<br>
"&lt;schema&gt;://&lt;server&gt;/&lt;volname&gt;"<br>
                        <br>
                        Does libvirt 'invoke' fuse when passed
                        "gluster://" schema?<br>
                        <br>
                        On Thu, Mar 27, 2014 at 5:34 PM, Dave
                        Christianson<br>
                        &lt;<a moz-do-not-send="true"
                          href="mailto:davidchristianson3@gmail.com">davidchristianson3@gmail.com</a>&gt;

                        wrote:<br>
                        &gt; Good Evening,<br>
                        &gt;<br>
                        &gt; I have read that libgfapi has been
                        backported to qemu-kvm in RHEL 6.5 (and<br>
                        &gt; by virtue CentOS and SL). However I am
                        unable to figure out how to actually<br>
                        &gt; make it work as described. Virt-manager
                        still only seems to support<br>
                        &gt; glusterfs volumes via fuse.<br>
                        &gt;<br>
                        &gt; I can use qemu-img to create a disk image
                        on gluster://&lt;server&gt;/&lt;Volume&gt;.<br>
                        &gt; But virt-manager can only use it from a
                        fuse mounted fileshare. There seems<br>
                        &gt; to be no ability to attach in virt-manager
                        directly to the image on<br>
                        &gt; glusterfs using libgfapi.<br>
                        &gt;<br>
                        &gt; All documents I've found describe the use
                        of the command<br>
                        &gt; "qemu-system-x86_64," however that command
                        does not exist in CentOS 6.5.<br>
                        &gt; That appears to be the only way to start
                        the domain using libgfapi. So<br>
                        &gt; basically, I can create an image via
                        libgfapi but cannot do anything useful<br>
                        &gt; with it.<br>
                        &gt;<br>
                        &gt; Should I be able to do this? If so, what's
                        the procedure? Or is CentOS/RHEL<br>
                        &gt; 6.5 just not fully integrated? I really
                        want to be able to use libgfapi and<br>
                        &gt; avoid the performance penalty of fuse.
                        Should I just grab &amp; compile the<br>
                        &gt; latest verisons of libvirt and qemu-kvm?<br>
                        &gt;<br>
                        &gt;
                        _______________________________________________<br>
                        &gt; Gluster-users mailing list<br>
                        &gt; <a moz-do-not-send="true"
                          href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
                        &gt; <a moz-do-not-send="true"
                          href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"
                          target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
                        <span class="HOEnZb"><font color="#888888"><br>
                            <br>
                            <br>
                            --<br>
                            Religious confuse piety with mere ritual,
                            the virtuous confuse<br>
                            regulation with outcomes<br>
                          </font></span></blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>